OverpassAPI.jl

Welcome to the documentation for OverpassAPI.jl.

Overview

OverpassAPI.jl is a Julia interface to the Overpass API for querying OpenStreetMap data. Results are returned as typed Julia structs that implement GeoInterface.jl traits for interoperability with the Julia geospatial ecosystem.

Installation

using Pkg
Pkg.add("OverpassAPI")

Quickstart

using OverpassAPI

# Query cafes in Durham, NC
r = query("node[amenity=cafe](35.9,-79.1,36.1,-78.8); out;")

# Access elements
for n in nodes(r)
    println(n.tags["name"])
end