Overpass API Documentation
Go to file
dancingCycle 05b34a1ce1 feat: add query 2023-10-06 12:25:14 +02:00
query/cli feat: add query 2023-10-06 12:25:14 +02:00
.gitignore feat: move content from notes here 2023-09-07 15:45:46 +02:00
LICENSE Initial commit 2023-09-05 15:14:08 +02:00
readme.md feat: add query/cli/area-vrb-bike-ride.txt 2023-09-08 15:25:21 +02:00

readme.md

overpass-api

Git Repository

Language Documentation

Overpass QL

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

Link

[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>

Examples

Use Bounding Box to limit output

Use Area to limit output

Use Around to limit output