Dear all, I'm working with a shapefile with information of different ecoregions that I'm able to read into R as a SpatialPolygonsDataFrame object, and convert to geographical coordinates (using spTransform). But when I try to plot it, I find that several polygons cross the 180º meridian, and I get horizontal lines across the plot joining the two halves of these polygons. Is there a simple way of removing these horizontal lines from the plot?
I have searched on the internet and found the function nowrapRecenter which might be able to fix it, but I haven't managed to get it to do what I want. (I dont want to change the center of the plot to a Pacific view, and I find that even if I do it, I still get horizontal lines from other polygons that cross the 360º meridian). Any help would be greatly appreciated! Elena -- View this message in context: http://n2.nabble.com/Polygon-splitting-at-the-edges-of-plot-tp4649202p4649202.html Sent from the R-sig-geo mailing list archive at Nabble.com. _______________________________________________ R-sig-Geo mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-geo
