How can I query polyline data for a road?
I want to write a web app, which needs to know the exact path of a certain road, e.g. the german Autobahn A7.<br>
The minimum requirement for the data is a list of locations, forming a polyline, which approximates the road with an accuracy of 10 - 15 meters.
Optionally extra data like junctions, exits, tunnels, bridges and road km would be fine. Altitude would be great.
So, the questions are:
- Is it possible? (It really should be)
- which data source is preferable:
- http://xapi.openstreetmap.org/api/0.6/
- http://open.mapquestapi.com/xapi/api/0.6
- http://nominatim.openstreetmap.org/
- others?
What would the query look like?
Addition: it is not a required that the data is queried live from the app - it would be perfectly ok that the query is done beforehand and formatted and stored in a database