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)