[R-sig-Geo] Distribute points along lines

Agustin Lobo alobolistas at gmail.com
Fri Jul 3 15:03:07 CEST 2009


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



More information about the R-sig-Geo mailing list