Alpha stage commit
This commit is contained in:
45
examples/overpass_queries.md
Normal file
45
examples/overpass_queries.md
Normal file
@@ -0,0 +1,45 @@
|
||||
# Example Overpass Queries for Prototyping
|
||||
|
||||
Do not use public Overpass instances for production-scale app traffic. These queries are for small-area prototyping only.
|
||||
|
||||
## Drinking water in a bounding box
|
||||
|
||||
```overpass
|
||||
[out:json][timeout:25];
|
||||
(
|
||||
node["amenity"="drinking_water"]({{bbox}});
|
||||
way["amenity"="drinking_water"]({{bbox}});
|
||||
relation["amenity"="drinking_water"]({{bbox}});
|
||||
node["drinking_water"="yes"]({{bbox}});
|
||||
node["natural"="spring"]({{bbox}});
|
||||
);
|
||||
out center tags;
|
||||
```
|
||||
|
||||
## Bike shops and repair stations
|
||||
|
||||
```overpass
|
||||
[out:json][timeout:25];
|
||||
(
|
||||
node["shop"="bicycle"]({{bbox}});
|
||||
way["shop"="bicycle"]({{bbox}});
|
||||
node["amenity"="bicycle_repair_station"]({{bbox}});
|
||||
node["service:bicycle:repair"="yes"]({{bbox}});
|
||||
);
|
||||
out center tags;
|
||||
```
|
||||
|
||||
## Campsites, huts, and shelters
|
||||
|
||||
```overpass
|
||||
[out:json][timeout:25];
|
||||
(
|
||||
node["tourism"="camp_site"]({{bbox}});
|
||||
way["tourism"="camp_site"]({{bbox}});
|
||||
node["tourism"="wilderness_hut"]({{bbox}});
|
||||
way["tourism"="wilderness_hut"]({{bbox}});
|
||||
node["amenity"="shelter"]({{bbox}});
|
||||
way["amenity"="shelter"]({{bbox}});
|
||||
);
|
||||
out center tags;
|
||||
```
|
||||
Reference in New Issue
Block a user