m2p

0.1.0 • Public • Published

This is a utility to merge a MultiPolygon into a single Polygon

This tool reads in a GeoJSON file containing two disconnected polygons. It finds the closest points of each polygon and then redraws the polygons with a single line connecting the two.

Setup

yarn install

Example

yarn run merge -i test.geojson -o out.json

Use it globally

Use Yarn

yarn add global m2p

Or NPM

npm install -g m2p

Then use it anywhere

m2p -i test.geojson -o output.json

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    2

Package Sidebar

Install

npm i m2p

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

10 kB

Total Files

8

Last publish

Collaborators

  • jaycenhorton