[OSM-dev] Overpass filter by area A or area B

François Lacombe fl.infosreseaux at gmail.com
Wed Sep 13 21:44:34 UTC 2017


Hi all,

I wonder how to filter objects in several areas in Overpass API.

I assume this query:
area["wikidata"="Q212429"][admin_level=3]->.area_1;
area["wikidata"="Q212582"][admin_level=3]->.area_2;

way(area.area_1,area.area_2);
out geom;

would give all ways contained in area_1 and area_2 as results.

Is this possible ?

All the best

François
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20170913/26068ab8/attachment.html>


More information about the dev mailing list