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@data$Elevation Sincerely. -- Best Regards Javad Bayat M.Sc. Environment Engineering Alternative Mail: bayat...@yahoo.com [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.