我正试图为我的学期项目做些什么。
我需要从下面的清单中选出一个国家:这里是http://www.gadm.org/country。
然后,我必须将该文件转换为jvectormap文件。但是怎么做呢?下面是jvectormap需要地图坐标的示例:http://jvectormap.com/js/jquery-jvectormap-ch-mill-en.js
然后,如何将shapefile从gadm.org转换为jvectormap?
发布于 2015-05-24 14:30:55
看起来,jvectormap项目有一个可供您使用的转换器脚本。它应该能够转换shapefile (.shp)。您可以在他们的github存储库:https://github.com/bjornd/jvectormap/blob/master/converter/converter.py上找到python转换脚本。
jvectormap站点上的文档详细解释了如何使用此转换器:http://jvectormap.com/documentation/gis-converter/
我自己还没试过这个,但它看起来已经有了很好的记录。
https://stackoverflow.com/questions/30424012
复制相似问题