https://www.bram.us/2012/03/14/convert-esri-shapefile-shp-to-geojson-json/
安装后在命令行执行
/Library/Frameworks/GDAL.framework/Programs/ogr2ogr -f "GeoJSON" output.json input.shp
来源:CSDN
作者:QQ2856639881
链接:https://blog.csdn.net/QQ2856639881/article/details/103841668