Adding a multitude of filters to my overpass query

Hello everyone,

I am working on a project where I need to map all of the public watertaps in an area.
I recently got an amazing formula from a forum contributor that helped me get rid of all of the drinking water inside of cemeteries;

[out:xml];

{{geocodeArea:Netherlands}}->.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;

This worked very well but unfortunately I couldn’t improve it to what I exactly need.
I need to find all the drinking_water that are NOT in cemeteries, camping sites, public toilets or inside of buildings.

Could anyone help me by improving the above mentioned query or supplying me with a new one that excludes all four of tags?

I would greatly appreciate it!

2 posts - 2 participants

Read full topic


Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/adding-a-multitude-of-filters-to-my-overpass-query/3635