I want to create an overpass turbo query where I can filter out all of the “amenity=drinking_water” from the “landuse=cemetery”. I need this for a project that I am working on.
I have basic knowledge of overpass so i can only filter on finding all of the cemeteries and drinking water, other than that nothing comes up.
But the ultimate goal is to see all of the drinking water of an area, while excluding the ones that are inside of cemetery area’s.
Is there a way to filter this maybe based on location or distance of a cemetery? I am open to any suggestion.
I’m not an Overpass expert, but meanwhile you wait for a more knowledgeable response you can try this:
[out:xml];
{{geocodeArea:London}}->.searchArea; //replace London with the desired area
wr["landuse"="cemetery"](area.searchArea)->.cemeteries;
(
nwr["amenity"="drinking_water"](area.searchArea);
-
(
nwr["amenity"="drinking_water"](area.cemeteries);
);
);
out meta;
>;
out meta qt;
If the issue is about your web browser unable to render a large amount of data I suggest to use, in Overpass Turbo, the Export button and then select raw data from Overpass API… assuming that you need raw data for post-processing.
Generally speaking a (big)country wide query takes a lot of time and resources especially if it’s not “simple” like in your case, so splitting your area in smaller ones would help.