shanghuiyang / geojson2poly

convert geojson to poly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

geojson2poly

CI License

Converts geojson Polygon/MultiPolygon to openstreetmap(osm) poly format file.

Usage

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

Install

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

About

convert geojson to poly

License:MIT License


Languages

Language:Go 81.4%Language:Shell 18.6%