编程语言/地图:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
Kangkk​(留言 | 贡献)
第10行: 第10行:
which ogr2ogr</syntaxhighlight>|<syntaxhighlight lang="bash">
which ogr2ogr</syntaxhighlight>|<syntaxhighlight lang="bash">
/usr/local/bin/ogr2ogr
/usr/local/bin/ogr2ogr
</syntaxhighlight>|$|/home/kangkk}}
== topojson ==
{{shc|<syntaxhighlight lang="bash">
npm install topojson -g</syntaxhighlight>|$|/home/kangkk}}
{{Shc_out|<syntaxhighlight lang="bash">
Insert comment here
</syntaxhighlight>|<syntaxhighlight lang="bash">
npm WARN deprecated topojson@3.0.2: Use topojson-client, topojson-server or topojson-simplify directly.
/usr/local/bin/geo2topo -> /usr/local/lib/node_modules/topojson/node_modules/topojson-server/bin/geo2topo
/usr/local/bin/toposimplify -> /usr/local/lib/node_modules/topojson/node_modules/topojson-simplify/bin/toposimplify
/usr/local/bin/topo2geo -> /usr/local/lib/node_modules/topojson/node_modules/topojson-client/bin/topo2geo
/usr/local/bin/topoquantize -> /usr/local/lib/node_modules/topojson/node_modules/topojson-client/bin/topoquantize
/usr/local/bin/topomerge -> /usr/local/lib/node_modules/topojson/node_modules/topojson-client/bin/topomerge
+ topojson@3.0.2
added 5 packages from 2 contributors in 2.564s
</syntaxhighlight>|$|/home/kangkk}}
</syntaxhighlight>|$|/home/kangkk}}



2023年5月10日 (三) 03:39的版本

引言

地理空间数据抽象库(GDAL)

/home/kangkk
brew install gdal

验证安装结果

[jian@kang /home/kangkk]$
which ogr2ogr
/usr/local/bin/ogr2ogr

topojson

/home/kangkk
npm install topojson -g
[jian@kang /home/kangkk]$
Insert comment here
npm WARN deprecated topojson@3.0.2: Use topojson-client, topojson-server or topojson-simplify directly.
/usr/local/bin/geo2topo -> /usr/local/lib/node_modules/topojson/node_modules/topojson-server/bin/geo2topo
/usr/local/bin/toposimplify -> /usr/local/lib/node_modules/topojson/node_modules/topojson-simplify/bin/toposimplify
/usr/local/bin/topo2geo -> /usr/local/lib/node_modules/topojson/node_modules/topojson-client/bin/topo2geo
/usr/local/bin/topoquantize -> /usr/local/lib/node_modules/topojson/node_modules/topojson-client/bin/topoquantize
/usr/local/bin/topomerge -> /usr/local/lib/node_modules/topojson/node_modules/topojson-client/bin/topomerge
+ topojson@3.0.2
added 5 packages from 2 contributors in 2.564s

地图数据来源

标题文本
arcgis https://www.arcgis.com/ 示例
Natural Earth https://www.naturalearthdata.com/ 示例
示例 示例 示例

参考