Overpass.jl
Julia wrapper for the OpenStreetMap Overpass API.
- Query Overpass API
- Support for Overpass Turbo shortcuts[1]
- Meaningful error messages
- Few dependencies
Inspired by the python packages overpy and overpass.
Install
julia> ]
pkg> add Overpass
Basic usage
using Overpass
Overpass.query(
"[out:json];node[amenity=drinking_water]({{bbox}});out;",
bbox=(48.22, 16.36, 48.22, 16.36)
)
"{\n \"version\": 0.6,\n \"generator\": \"Overpass API 0.7.62.4 2390de5a\",\n \"osm3s\": {\n \"timestamp_osm_base\": \"2025-01-20T14:26:14Z\",\n \"copyright\": \"The data included in this document is from www.openstreetmap.org. The data is made available under ODbL.\"\n },\n \"elements\": [\n\n\n\n ]\n}\n"
For more advanced usage see Tutorial or Reference
See also
Package | |
---|---|
LightOSM.jl | Download, save and analyze networks via Overpass API |
OpenStreetMapX.jl | Analyze OSM roads from .osm or .pbf files |
OSMToolset.jl | Read and analyze OSM XML files |
- 1Full support of Overpass Turbo shortcut is still work in progress. See list of supported shortcuts