Skip to content

RallypointOne/OverpassAPI.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI Docs Build Stable Docs Dev Docs

OverpassAPI.jl

A Julia interface to the Overpass API for querying OpenStreetMap data. Results are returned as typed Julia structs with GeoInterface.jl and Extents.jl support.

Quick Example

using OverpassAPI, Extents

# Query with raw Overpass QL
r = query("node[amenity=cafe](35.9,-79.1,36.1,-78.8); out geom;")

# Or use the OQL query builder
r = query(OQL.node[amenity = "cafe"],
          bbox=Extent(X=(-79.1, -78.8), Y=(35.9, 36.1)))

# Access results
for n in nodes(r)
    println(n["name"])
end

About

Query OpenStreetMap data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 3

  •  
  •  
  •  

Languages