Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 436 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 436 Bytes

geojson-mesh

Command line tool to extract borders of GeoJSON Polygons into a non-overlapping set of LineString's. See https://github.com/topojson/topojson-client#mesh

Build

npm install

Command Line

geojson-mesh [--explode] < input.geojson > output.geojson

If --explode is set, multiple features of geometry type LineString are created, otherwise a single feature of geometry type MultiLineString is created.