Skip to content

Extract features from OpenStreetMap PBF files as GeoJSON.

License

Notifications You must be signed in to change notification settings

twpayne/osm-extract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

osm-extract

osm-extract extracts features from OpenStreetMap PBF files as GeoJSON.

Features

Install

$ go install github.com/twpayne/osm-extract@latest

Example

Extract the administrative boundaries of the Isle of Man as a polygon:

$ osm-extract -i testdata/isle-of-man-latest.osm.pbf -type=relation -tags=ISO3166-1=IM,admin_level=2 -polygonize
$ osm-extract -i testdata/isle-of-man-latest.osm.pbf -type=relation -tags=admin_level=6 -polygonize -union

License

MIT

About

Extract features from OpenStreetMap PBF files as GeoJSON.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages