Skip to content

tomasanda/ogr2poly.py

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

ogr2poly.py

Python3 support


Converts any of the GDAL OGR Vector Formats to an OSM Poly File (e.g geojson to poly file). See https://gdal.org/drivers/vector/index.html


Usage: ogr2poly.py [options] src_datasource [layer]

options:
-p --prefix  Text to Prepend to Output Poly File Name
-b --buffer-distance Set buffer distance in meters (default: 0).
-s --simplify-distance Set simplify tolerance in meters (default: 0).
-f --field-name Field name to use to name files. (Field name in source file I presume)
-v --verbose true/false Print detailed status messages.

[layer] layer=0 layer number in datasource to use (default=0)


About

Ogr2poly.py

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%