Hi, I have an 'way id' of my route. I want to extract all nodes which belongs to this specific route. I can make a query e.g.: http://api.openstreetmap.org/api/0.6/way/xxxyyzz In response I receive series of node reference id's. Then I need to make recursive lookup to search each single point to get GPS data. Do you know automatic tool to extract such data? I will provide way_id and in response get series of GPS coordinates. It is fair easy to write such tool but maybe you know readily available software. |
There is an API request that returns the way and all its nodes:
answered 22 Dec '10, 18:38 Frederik Ramm ♦ |
You can download You can use something like
to limit output to the latitude and longitude of the node. (And yes I know that parsing XML with regex is evil.) answered 22 Dec '10, 18:41 petschge |