And so my question: What are my options to get OSM data?
I already tried several options:
- directly querying (x)api.openstreetmap.org won’t work as my script is not allowed to read xml from *.openstreetmap.org.
- indirectly querying (x)api.openstreetmap.org with yahoo pipes’s YQL won’t work as *.openstreetmap.org has a robots.txt which doesn’t allow Yahoo’s service to access the site .
I see no way to get the data without some server-side support. I see several options: a) OSM creates a JSONP like service , b) OSM employs a technique like the one described at  to allow to read osm data with IFrames (see below).
b) should be easier:
- create a webservice url that accepts a) some kind of query string and b) the desired domain name (/service?bbox=a,b,c,d&domain=ab.cd.de)
- return “a script” that looks like:
Thank you for any input!