UNPKG

make-geo-json

Version:

Converts polylines, wkts, wkbs, polygons, circles, rectangles, as well as standard geoJSON into geoJSON MultiPolygon Feature Objects. Converts wkb_list and FeatureCollection to arrays.

62 lines (61 loc) 1.81 kB
{ "name": "make-geo-json", "version": "1.1.6", "description": "Converts polylines, wkts, wkbs, polygons, circles, rectangles, as well as standard geoJSON into geoJSON MultiPolygon Feature Objects. Converts wkb_list and FeatureCollection to arrays.", "main": "./dist/index.js", "files": [ "/dist" ], "scripts": { "test": "jest", "build": "babel src -d dist", "preversion": "npm test", "version": "npm run build && git add -A dist", "postversion": "git push", "transpile": "babel src -d dist --presets env", "create": "npm run transpile && claudia create --region us-east-1 --handler dist/makeGeoJSON.handler", "update": "npm run transpile && claudia update" }, "repository": { "type": "git", "url": "git+https://github.com/eltorocorp/make-geo-json.git" }, "keywords": [ "geoJSON", "polygon", "conversion" ], "author": "Micah Potts", "license": "ISC", "bugs": { "url": "https://github.com/eltorocorp/make-geo-json/issues" }, "homepage": "https://github.com/eltorocorp/make-geo-json#readme", "devDependencies": { "babel-cli": "^6.26.0", "babel-preset-env": "^1.6.1", "eslint": "^4.18.2", "eslint-config-airbnb": "^16.1.0", "eslint-plugin-import": "^2.9.0", "eslint-plugin-jest": "^21.14.0", "eslint-plugin-jsx-a11y": "^6.0.3", "eslint-plugin-react": "^7.7.0", "jest": "^21.2.1" }, "dependencies": { "@mapbox/geojson-area": "^0.2.2", "@mapbox/polyline": "^0.2.0", "@mapbox/togeojson": "^0.16.0", "babel-polyfill": "^6.26.0", "geojson-rewind": "^0.3.0", "lodash": "^4.17.4", "mathjs": "^3.16.5", "polyline": "^0.2.0", "wkx": "^0.4.2", "xmldom": "^0.1.27" }, "peerDependencies": { "lodash": "^4.17.4", "wkx": "^0.4.2" } }