编程语言/地图
来自康健生活
< 编程语言
引言
国家代码
参考 https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3
等积圆锥投影
地理空间数据抽象库(GDAL)
/home/kangkk
brew install gdal
验证安装结果
[jian@kang /home/kangkk]$
which ogr2ogr
/usr/local/bin/ogr2ogr
topojson
[jian@kang /home/kangkk]$
npm install topojson -g
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
验证安装结果
[jian@kang /home/kangkk]$
which topo2geo
/usr/local/bin/topo2geo
转换数据
shapefile
地图数据来源
| arcgis | https://www.arcgis.com/ | 示例 |
| Natural Earth | https://www.naturalearthdata.com/ | 示例 |
| 示例 | 示例 | 示例 |
参考
No categories