geojson2shp:用纯JavaScript将GeoJSON转换为Shapefile

时间:2021-05-06 04:30:03
【文件属性】:
文件名称:geojson2shp:用纯JavaScript将GeoJSON转换为Shapefile
文件大小:96KB
文件格式:ZIP
更新时间:2021-05-06 04:30:03
converter geojson gis shapefile JavaScript geojson2shp 用纯JavaScript将GeoJSON转换为Shapefile 先决条件 8.0以上 用法(CLI) 全局安装 # Installation npm install geojson2shp -g # Conversion cat my.geojson | geojson2shp > my-shp.zip 使用npx(包含在Node.js安装中) # Conversion cat my.geojson | npx geojson2shp > my-shp.zip 用法(Node.js) 基本的 const { convert } = require ( 'geojson2shp' ) const options = { layer : 'my-layer' , targetCrs : 2154 } // Paths await convert ( '/
【文件预览】:
geojson2shp-master
----.gitignore(890B)
----package.json(1KB)
----cli.js(152B)
----LICENSE(1KB)
----index.js(152B)
----.github()
--------workflows()
----README.md(1KB)
----lib()
--------util.js(531B)
--------detect-schema.js(657B)
--------stream.js(5KB)
--------convert.js(1KB)
--------shp-write-stream()
----test()
--------util.js(904B)
--------detect-schema.js(756B)
--------convert.js(630B)
--------fixtures()
----yarn.lock(211KB)

网友评论