Skip to content

command line tool + Python library for exporting OSM in various file formats.

License

Notifications You must be signed in to change notification settings

mataharimhairi/osm-export-tool-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OSM Export Tool

This project is under development. For the previous version of the Export Tool, see hotosm/osm-export-tool.

Example usage

osm-export-tool jakarta.osm.pbf jakarta -f gpkg,shp

Input formats:

  • OSM PBF
  • OSM XML

Output formats:

  • OSM PBF
  • OSM XML
  • GeoPackage
  • Shapefile
  • KML
  • OsmAnd
  • Maps.ME
  • Garmin
  1. OGC GeoPackage (.gpkg)
  • This is the default export format, and the most flexible for modern GIS applications.
  1. Shapefile (.shp)
  • Each layer and geometry type is a separate .SHP file. This is because each .SHP file only supports a single geometry type and column schema.
  1. KML (.kml)
  • Each layer and geometry type is a separate .KML file. This is because the GDAL/OGR KML driver does not support interleaved writing of features with different geometry types.
  1. Maps.ME

  2. OsmAnd

  3. Garmin

About

command line tool + Python library for exporting OSM in various file formats.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%