Looking for Roundabouts in OSM
Roundabouts are handled interestingly in OSM: They can be both nodes or ways and represented as points, lines or polygons.
And this is how they can be downloaded for a specific area:
> wget http://open.mapquestapi.com/xapi/api/0.6/node[highway=mini_roundabout][bbox=15.86,47.95,16.88,48.70]
> wget http://open.mapquestapi.com/xapi/api/0.6/way[junction=roundabout][bbox=15.86,47.95,16.88,48.70]
Note: Not all XAPI servers are available all of the time. Check this site if the server is down: OSM Wiki – Xapi.
with Overpass http://wiki.openstreetmap.org/wiki/Overpass_API you could do: wget -O mini_roundabouts.osm http://www.overpass-api.de/api/xapi?node%5Bbbox=15.86,47.95,16.88,48.70%5D%5Bhighway=mini_roundabout%5D%5B@meta%5D
grr – code got kinda mangled^ but I think we get the point :) Isn’t Overpass ‘more current’ than open.mapquest.api?
Thanks. Yes, Overpass seems to be kind of a successor of XAPI.