Skip to content
Prev 19676 / 29559 Next

Projected SpatialLinesDataFrame has a segment spanning the globe

On 11/01/2013 02:15 PM, Andy South wrote:
Please let me know where you learned that you could use coordinates() to
assign coordinates to a Spatial* object.
a wild guess, but this might work:

coastsMerc at lines[[94]]@Lines[[1]]@coords <-
 coastsMerc[94,]@lines[[1]]@Lines[[1]]@coords[-numToRemove,,drop=FALSE]