如何将形状文件导入MySQL [英] How to Import shape file into MySQL
本文介绍了如何将形状文件导入MySQL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要将shape文件中的空间数据导入MySQL表。我可以导入PostGreSQL。 MySQL的任何指针。我需要MySQL表中的数据。
I need to import the spatial data in shape file into MySQL tables. I am able to import into PostGreSQL. Any pointers for MySQL. I need the data in MySQL table.
推荐答案
试试这个白色FWtool instaled
try this whit FWtool instaled
ogr2ogr -f MySQL MySQL:database_name,host=localhost,user=root,password=1234 C:\route_path\line.shp -nln datatable_name -update -overwrite -lco engine=MYISAM
尝试安装以获得更好的结果Osgeo4w
try install for better result in any proces Osgeo4w
http://trac.osgeo.org/osgeo4w/
这篇关于如何将形状文件导入MySQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文