Overpass API Documentation
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| amenity-drinking_water | ||
| amenity-vending-machine | ||
| bike_ride | ||
| bus-stop | ||
| drinking_water | ||
| drinking_water_colon_refill | ||
| generator-wind_turbine-gpe | ||
| office_cooperative | ||
| plant-solar-gpe | ||
| public-bookcase | ||
| query/cli | ||
| restaurant | ||
| second-hand | ||
| tickets-public-transport | ||
| vegan | ||
| vegetarian | ||
| vending-public_transport_tickets | ||
| vending-public_transport_tickets-nwb | ||
| WIP_relation-type-public-transport | ||
| workshop | ||
| zero-waste | ||
| .gitignore | ||
| LICENSE | ||
| readme.md | ||
| relation-bus-lehndorf-watenbuettel.txt | ||
NOTE: Files and folders including the WIP_ prefix are Work in Progress.
overpass-api
Endpoints
https://overpass-api.de/api/interpreter
http://overpass-api.de/api/interpreter
https://z.overpass-api.de/api/interpreter
https://overpass.kumi.systems/api/interpreter
https://lz4.overpass-api.de/api/interpreter
Overpass-Turbo
[out:json][timeout:60];
(
node[uic_ref=8000050];nwr[shop=ticket]["tickets:public_transport"!=no](around:500);
node[uic_ref=8000050];nwr[amenity=vending_machine][vending=public_transport_tickets](around:100);
);
out body center qt;
URL Encoding
- URL encoding for e.g. browser
https://overpass-api.de/api/interpreter?data=
- URL encoding for curl
curl -X GET --location '<enter endpoint>' --header 'Content-Type: application/x-www-form-urlencoded' --data-urlencode 'data=<enter Overpass QL input>'
- URL encoding for browser
https://overpass-api.de/api/interpreter?data=<enter Overpass QL input>
Wget
wget -O <result file> --post-file=<query file> <endpoint>