tylr:来自 GeoJSON 文件的矢量切片缓存

时间:2021-05-31 17:15:20
【文件属性】:
文件名称:tylr:来自 GeoJSON 文件的矢量切片缓存
文件大小:34KB
文件格式:ZIP
更新时间:2021-05-31 17:15:20
JavaScript 泰勒 从 GeoJSON 文件创建缓存矢量切片。 安装 npm install -g tylr 用法 可以通过两种方式使用 tylr,作为命令行实用程序或作为节点模块。 命令行 # using a -f to pass in features tylr -f ./examples/us-states.json -d ./output -n states -l 0,5 -t pbf # OR stream features in like this cat ./examples/us-states.json | tylr -d ./out -n states 节点模块 var options = { d : './out' , n : 'layer-name' , t : 'pbf' , l : '0,5' } // pass the options into tyl
【文件预览】:
tylr-master
----bin()
--------tylr(749B)
----index.js(35B)
----package.json(846B)
----test()
--------index.js(1KB)
----tylr.js(5KB)
----examples()
--------us-states.json(86KB)
----.gitignore(24B)
----README.md(1KB)

网友评论