How to segment or split a spatial line in R
Hi, With spatstat, you can find the mid point of line segments http://lojze.lugos.si/~darja/software/r/library/spatstat/html/midpoints.psp.html But I don't know any package that would split your line into equal segments. One method would be to arrange equally spaced points along your line with spatstat::pointsOnLinesthen reconstruct lines from these points. There may be a better method than mine... 2014-10-23 16:10 GMT+02:00 Manuel Sp?nola <mspinola10 at gmail.com>:
Dear list members, How to segment or split a spatial line in shorter equal segments, and also, how to get the mid point of ecah segment. Best, Manuel -- *Manuel Sp?nola, Ph.D.* Instituto Internacional en Conservaci?n y Manejo de Vida Silvestre Universidad Nacional Apartado 1350-3000 Heredia COSTA RICA mspinola at una.ac.cr mspinola10 at gmail.com Tel?fono: (506) 2277-3598 Fax: (506) 2237-7036 Personal website: Lobito de r?o < https://sites.google.com/site/lobitoderio/> Institutional website: ICOMVIS <http://www.icomvis.una.ac.cr/> [[alternative HTML version deleted]]
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo