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

mmd mmd.osm at gmail.com
Fri Sep 15 10:37:28 UTC 2017


Am 13.09.2017 um 23:44 schrieb François Lacombe:
> 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;
> 

yes, that's possible, see my earlier post on help osm:

https://help.openstreetmap.org/questions/43114/how-can-i-dissolve-intersecting-polygons-with-overpass

However, as you're trying to download ALL ways of Metropolitan France
and something else (no idea what Q212582 is supposed to refer to, "The
Valley of Gwangi" is obviously not something we have in osm), I'd
strongly recommend to use an extract instead! You're trying to download
dozens of GB of data.


-- 




More information about the dev mailing list