1.下载gdal环境工具

如:D:\resource\release-1911-x64-gdal-2-4-0-mapserver-7-2-2,进入该目录下,以管理员身份运行SDKShell.bat,直接可以输入ogr2ogr命令

使用ogr2ogr命令转换文件格式

2.文件转换

mif文件转sqlite文件(mid/mif文件成对出现)

ogr2ogr -f "sqlite" new.sqlite new.mif

shp转GeoJSON格式

ogr2ogr -f "GeoJSON" test.json test.shp

相关文章:

  • 2021-07-11
  • 2022-12-23
  • 2022-01-17
  • 2021-05-20
  • 2022-02-09
  • 2021-12-16
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-28
相关资源
相似解决方案