Why not ask your question on the new OpenStreetMap Community Forum?

I'm trying to download data for a "way", but the individual nodes only have a 'ref' tag - not 'lat' or 'lon'. If I click on the individual node it will display the lat/lon data, but how do I download the entire "way" in such a manner that it includes this data and can be converted into gpx, kml, etc? It really feels like there is something obvious I'm missing... Thanks!

asked 19 Apr, 18:32

jgruss1234's gravatar image

accept rate: 0%

This is normal. What you see in an XML way object is not nodes, but references to nodes; you will have to look them up to find the coordinates. If you use the "full" modifier on an API query, e.g. https://www.openstreetmap.org/api/0.6/way/123/full then the nodes are present in the response.

permanent link

answered 19 Apr, 20:58

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 19 Apr, 18:32

question was seen: 691 times

last updated: 19 Apr, 20:58

powered by OSQA