Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am reading GPX files into OpenLayers. I would like to be able to save the edited route back to GPX including the height and time information that the original file contained (or use SRTM data to fill in new elevations). Is there an easy way to do this or is it going to be create a geometry.point to store each vertex of my linestring?

Thanks in advance, Jon

share|improve this question

As far as I've seen, no geospatial format really allows for pointalines, though they'd be plenty useful. You'll probably have to have two parallel datastructures, for the line and constituent points.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.