npm

Need private packages and team management tools?Check out npm Orgs. »

clipsy-geojson

0.0.3 • Public • Published

clipsy-geojson

conversion module for clipsy and geojson

install

npm install clipsy-geojson

test

npm test

use

var cg = require('clipsy-geojson')
 
var geojsonData = {
  "type": "Feature",
  "properties": {},
  "geometry": {
    "type": "Polygon",
    "coordinates": [
      [
        [
          -85.53508758544922,
          33.28777693677941
        ],
        [
          -85.53508758544922,
          33.32751625923708
        ],
        [
          -85.43895721435547,
          33.32751625923708
        ],
        [
          -85.43895721435547,
          33.28777693677941
        ],
        [
          -85.53508758544922,
          33.28777693677941
        ]
      ]
    ]
  }
}
 
//convert to clipsy
var clipsyData = cg.toClipsy(geojsonData)
 
//convert back to geojson
var geo = cg.toGeojson(clipsyData)

install

npm i clipsy-geojson

Downloadsweekly downloads

1

version

0.0.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability