How can we search for “Warehouse” in A city or country.
- Open OverPass-Turbo.
- Wizard
- Writes:
building=warehouse IN city name/country name - Build and run query
Use this text where “Wien” is name of a city or country (or use english name “name:en”~“Vienna”) If you want find objects in several cities/countries at once use “name”~“Vienna|London|Nederland|Denmark”
nwr mean node, way and relation so if you want only nodes and ways type only nw.
Sometimes are warehouses tagged as area with landuse=industrial + industrial=warehouse, so this query find building=warehouse or warehouses as landuse - industrial=warehouse. If you want only building=warehouse, delete row with industtrial=warehouse.
[out:json][timeout:500];
area[“name”~“Wien”]->.boundaryarea;
(
nwr(area.boundaryarea)[“building”~“warehouse”];
nwr(area.boundaryarea)[“industrial”~“warehouse”];
);
/added by auto repair/
(._;>;);
/end of auto repair/
out meta;
Thx it worked
How to filter the following pse
Only NEED
POI (not way)
+
Any name description
CONTAINING WAREHOUSE
Sample “containing”
Tile warehouse
Warehouse
Goods warehouse
Thx
POI can be mapped as node (POI as point) or as way (POI as building). This query find warehouses with word warehouse, Warehouse, WareHouse etc. in name, in United Kingdom:
https://overpass-turbo.eu/s/1J1t
[out:json][timeout:500];
area["name"~"United Kingdom"]->.boundaryarea;
(
nw(area.boundaryarea)["building"~"warehouse"]["name"~"warehouse",i];
nw(area.boundaryarea)["building"~"industrial"]["industrial"~"warehouse"]["name"~"warehouse",i];
);
/*added by auto repair*/
(._;>;);
/*end of auto repair*/
out meta;
If you want to turn ways into points for the output, use out center
as last command.