We're programming an app for Windows Phone 7, and we're using Open Street Map (OSM) as our data source. We're using this URI: http://api.openstreetmap.org/api/0.6/map?bbox=32.0846,034.8415,32.3846,035 and we're filling in coordinates according to the current position of the app's user. The data we receive is : "nodes", "way", and "relation". This is our question:
Thanks :) |
Okay. Seems you start from scratch in OSM ;-) Please read this docs about OSM fundamental elements (nodes, ways, relations): http://wiki.openstreetmap.org/wiki/Elements The simple version of a "route" is one or several ways attached together. The route identification comes from attached tags like "highway", "name" and/or "ref". It's a "continuous" route when the last node of a way is also the first node of the next way. But be carefull, sometimes, a route is interrupted by a junction roundabout which might not carry one of the "name" or "ref" tags. Also "routes" can be assembled by a relation (but it's not mandatory) where all ways are listed and common attributs grouped, like hiking routes, bus routes, road routes. See more on this page: answered 28 Aug '13, 12:00 Pieren |
Just a thought - maybe it might help if you could ask some of your questions "in real time" in one of OSM's IRC channels? There are several - including in languages other than English.