Converts geojson Polygon/MultiPolygon to openstreetmap(osm) poly format file.
usage: geojson2poly --input=GEOJSON --output=POLY [<flags>]
Flags:
-h, --help Show context-sensitive help (also try --help-long and --help-man).
-i, --input=GEOJSON a .geojson file as input
-o, --output=POLY a .poly file as output
example,
$ geojson2poly -i test.geojson -o test.poly
Build from sourcecodes
$ go get -u github.com/shanghuiyang/geojson2poly
# from project directory
$ go build .
$ cp cp geojson2poly /usr/local/bin
# test
$ geojson2poly -h
Download from the per-compiled binary Download from Release