[R-sig-Geo] Generate N points along a SpatialLines object

Mathieu Rajerison mathieu.rajerison at gmail.com
Thu Feb 26 14:24:59 CET 2015


Hi List,


I try to generate N points along a a continental coastline with
spatstat::pointsOnLines

If I give a small number of points (like N = 10), then 931 points are
returned. That's because 931 segments are generated from my initial
coastline data.

I'd like to know how to generate exactly N points, equally spaced, from a
SpatialLines object, without GRASS, nor QGIS


Thanks in advance for any answer,

Mathieu

	[[alternative HTML version deleted]]



More information about the R-sig-Geo mailing list