【文件属性】:
文件名称:geojson2czml:将GeoJSON转换为CZML
文件大小:31KB
文件格式:ZIP
更新时间:2021-04-11 06:56:12
geojson cesium czml LiveScript
GeoJSON2CZML
将转换为 (铯标记语言)。 这是使用的文件格式。 当前仅支持点要素类型。
配置如何在GeoJSON中存储属性。 指定日期,ID,海拔和标签字段的名称。 这些将存储在GeoJSON的parameters对象中。 日期和ID是必填项。 elev和label字段是可选的,分别默认为0和一个空字符串。
const options = {
id : "animal_id" ,
date : "date_recorded" ,
elev : "elevation" ,
label : "animal_id"
}
这是一个非常简单的示例,它显示了目前已经过测试工作的GeoJSON格式。
import geo2czml from 'geo2czml' ;
const geojson =
{
"type" : "FeatureCollection"
【文件预览】:
geojson2czml-master
----old_index.js(166B)
----.gitignore(44B)
----package.json(761B)
----package-lock.json(3KB)
----index.js(21KB)
----README.md(2KB)
----lib()
--------index.ls(17KB)
----test()
--------geo.json(794B)
--------run.ls(411B)