【文件属性】:
文件名称:togpx:将geojson转换为gpx
文件大小:14KB
文件格式:ZIP
更新时间:2021-05-06 12:13:39
javascript gpx geojson JavaScript
切换
将转换为 。
用法
作为命令行工具:
$ npm install -g togpx
$ togpx file.geojson > file.gpx
作为一个nodejs库:
$ npm install togpx
var togpx = require('togpx');
togpx(geojson_data);
作为浏览器库:
[removed][removed]
togpx(geojson_data);
原料药
togpx( geojson, options )
geojson :GeoJSON数据。
options :可选。 可以使用以下选项:
creator :指定字符串,该字符串用于指定创建最终GPX文件的软件。 默认值为togpx 。
metadata :一个对象,其中包含有关要转换的数据集的数据。 将包含在
【文件预览】:
togpx-master
----.travis.yml(50B)
----togpx(753B)
----index.js(6KB)
----togpx.js(18KB)
----package.json(903B)
----test()
--------test.js(25KB)
--------index.html(581B)
----LICENSE(1KB)
----CHANGELOG.md(746B)
----Makefile(73B)
----README.md(3KB)