Python Forum
concatenate a request to the endpoint of OSM-API?!
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
concatenate a request to the endpoint of OSM-API?!
#1
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-?!
Wordpress - super toolkits a. http://wpgear.org/ :: und b. https://github.com/miziomon/awesome-wordpress :: Awesome WordPress: A curated list of amazingly awesome WordPress resources and awesome python things https://github.com/vinta/awesome-python
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Zeep - BasicHTTPBinding secured Endpoint throws 500-invalid security error vinoth 0 617 Jul-15-2021, 03:00 PM
Last Post: vinoth
  How to POST html data to be handled by a route endpoint nikos 1 1,237 Mar-07-2020, 03:14 PM
Last Post: nikos
  Receiving Werkzeug. exception. Bad Request error when using GET with an endpoint robogeek 0 1,572 Jul-02-2019, 01:04 PM
Last Post: robogeek
  Flask Error-Could not build url for endpoint 'index'. Did you forget to specify value Prince_Bhatia 0 7,957 Feb-25-2019, 05:52 AM
Last Post: Prince_Bhatia

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020