Skip to content
Prev 5995 / 29559 Next

Distribute points along lines

Hi!

Is there any way to distribute a set of random or regularly-spaced
points along a line imported from a shape file into a
SpatialLinesDataFrame? I've been searching, but could not find it.
Should I use coordinates() to get the vertex, then calculate the a&b
parameters for each line and distribute the points? Or is it there
something already done?

Thanks,

Agus

Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster