Questions tagged [rgeo-shapefile]

33 questions
0
votes
1 answer

ogrInfo error when using rmapshaper::ms_simplify

Has anyone else seen the following error when using the ms_simplify function in the rmapshaper package? foo = rmapshaper::ms_simplify(rworldmap::countriesLow) Error in ogrInfo(dsn = dsn, layer = layer, encoding = encoding, use_iconv = use_iconv, :…
0
votes
1 answer

How to determine if a lat/lon pair is located inside of a shapefile polygon

I am using the rgeo and rgeo-shapefile gems in my Rails 5 application. My goal is to load in a shapefile of neighborhoods and determine which neighborhood a latitude/longitude point is located within. In their documentation they have this…
wuliwong
  • 4,238
  • 9
  • 41
  • 69
-1
votes
2 answers

Dissolve Overlapping Polygons using difference and union in R

Have the shape file which has multiple polygons with logical division of Zones and Plots. Plots are overlapping over Zones. The task is to dissolve / merge plots with Zones with no overlapping. Here is spplot of the shape file. Here plots are on…
string
  • 787
  • 10
  • 39
1 2
3