DEV Community

hub
hub

Posted on

apply a openstreetmap- request to different areas of a country

hello dear experts,

i want to apply the following request to the area of a country - let us say

a. to switzerland or

b. Luxembourg

[out:csv(::id,::type,::lon,::lat,amenity,name,"addr:postcode","addr:city","addr:street","addr:housenumber","contact:website",website,"contact:email")]
[timeout:600];
rel[boundary=administrative][admin_level=6][name="München"] -> .city;
(nwr[amenity=hospital][name](around.city:2000);
nwr[amenity=school][name](around.city:2000);
nwr[amenity=church][name](around.city:2000);
nwr[amenity=childcare][name](around.city:2000);
nwr[amenity=nursing_home][name](around.city:2000););
out center;
Enter fullscreen mode Exit fullscreen mode

want to apply the Overpass-Turbo-request on different goals - destinations - areas

think that the admin-level is a important "category " here - that makes the difference.

but i am not very sure about this

how to change this!?

Top comments (0)