[R] Extract the coordinates of a Polylines

javad bayat j@b@y@t194 @end|ng |rom gm@||@com
Sat Jan 26 07:07:18 CET 2019


Dear R users;
I am trying to extract the X and Y coordinates of a polylines along with
Elevation data. I have extracted the Elevations as Z, but I do not know how
to extract the X and Y of these Elevations. Is it possible to extract X and
Y of the Elevation and create a data frame with three variables?

line = readOGR("E:/......../Topo.shp")
Z = line using data$Elevation

Sincerely.

-- 
Best Regards
Javad Bayat
M.Sc. Environment Engineering
Alternative Mail: bayat194 using yahoo.com

	[[alternative HTML version deleted]]



More information about the R-help mailing list