OpenStreetMap Docker for Overpass API.
Download a OSM file in XML format compressed in bzip format and save as planet.osm.bz2
. Geofabrik is an excellent resource for this.
curl -o planet.osm.bz2 https://download.geofabrik.de/europe/poland-latest.osm.bz2
docker build -t mediasuite/overpass-api .
docker run -d -p 80:80 mediasuite/overpass-api
Get all ways that have a highway key value near -36.9162, 174.8310 in JSON format.
Overpass QL
[out:json][timeout:25];
(
way
(
around:15,-36.9162,174.8310
)
["highway"];
._;>;
);
out;