geojson-flatten:在geojson中展平多部分几何和几何集合

时间:2021-05-12 12:34:37
【文件属性】:
文件名称:geojson-flatten:在geojson中展平多部分几何和几何集合
文件大小:10KB
文件格式:ZIP
更新时间:2021-05-12 12:34:37
geojson-flatten 将文件中的MultiPoint,MultiPolygon,MultiLineString和GeometryCollection几何图形展平为简单的非复杂几何图形。 如果传入FeatureCollection,则返回FeatureCollection。 如果传入单个功能,则返回一个功能数组。 安装 npm install --save geojson-flatten 或下载geojson-flatten.js用于非使用。 例子 let flatten = require ( 'geojson-flatten' ) ; flattened = flatten ( geojsonObject ) ; cli 带文件输入 $ geojson-flatten input.geojson > flattened.geojson 与标准输入 $ geojson-
【文件预览】:
geojson-flatten-master
----index.js(1KB)
----package.json(1KB)
----.github()
--------dependabot.yml(244B)
----test()
--------fixture()
--------flatten.js(507B)
--------linestring.geojson(352B)
--------point.input.geojson(303B)
----.eslintrc.js(216B)
----.gitignore(5B)
----CHANGELOG.md(1KB)
----.circleci()
--------config.yml(449B)
----README.md(872B)
----tap-snapshots()
--------test-flatten.js-TAP.test.js(10KB)
----geojson-flatten(527B)

网友评论