-
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
Build fast and powerful geospatial applications with the GeoDesk OpenStreetMap Toolkits for Java, Python and C++.
Important
The GOL file format has changed in Version 2.0. Files created with GOL 2.0 are not compatible with Toolkits from Version 1.x, and vice versa.
To build GOLs for Version 1.x, use the legacy Java-based GOL Tool.
