Python Forum

Full Version: concatenate a request to the endpoint of OSM-API?!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
dear Community,


can i run this in a multiple form - such as a concatenated request - that gives back all the results for south america!?

i e
Argentina
Brazil
Chile
Paraquay
ect.
etx.


[out:csv(::id,::type,"name","addr:postcode","addr:city","addr:street","addr:housenumber","website"," contact:email=*")][timeout:600];
area["ISO3166-1"="BR"]->.a;
( node(area.a)[amenity=hospital];
  way(area.a)[amenity=hospital];
  rel(area.a)[amenity=hospital];);
out;
btw: this is just another version of writing down the request - see here:

see the bounding box for Austria for example: 46.3722761,9.5307487,49.0205264,17.160776
Also queries by bounding box work differently. See the Overpass API language guide for examples.

[out:csv(::id,::type,"name","addr:postcode","addr:city","addr:street","addr:housenumber","website"," contact:email=*")][timeout:300];
(
node[amenity=kindergarten](46.3722761,9.5307487,49.0205264,17.160776);
way[amenity=kindergarten](46.3722761,9.5307487,49.0205264,17.160776);
relation[amenity=kindergarten](46.3722761,9.5307487,49.0205264,17.160776);
);
out;
well the question is: is this possible to run a combined (concatenated ) request on the endpoint of overpass-turbo-?!