-
Build and manage Geo-Object Libraries (GeoDesk's compact database format for OpenStreetMap features).
-
Run GOQL queries and export results in multiple formats.
gol is a single self-contained executable. Simply download and unzip.
First, build a GOL from OpenStreetMap data:
gol build france france-latest.osm.pbf
# produces france.gol
Extract the boundary of Paris as GeoJSON:
gol query france a[boundary=administrative][admin_level=6][name=Paris] > paris.geojson
Display the museums of Paris on a map:
gol map france red: na[tourism=museum] -a paris.geojson
Get the names and phone numbers of all restaurants in France:
gol query france na[amenity=restaurant] -f csv -k name,phone
See doc/build.md
Build fast and powerful geospatial applications with the GeoDesk OpenStreetMap Toolkits for Java, Python and C++.
OpenStreetMap is a trademark of the OpenStreetMap Foundation, and is used with their permission. GeoDesk is not endorsed by or affiliated with the OpenStreetMap Foundation.
