如何将形状文件导入MySQL

Pha*_*omM 8 mysql import spatial shapefile

我需要将shape文件中的空间数据导入MySQL表.我可以导入PostGreSQL.MySQL的任何指针.我需要MySQL表中的数据.

phi*_*pex 9

尝试这个惠特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
Run Code Online (Sandbox Code Playgroud)

尝试安装以获得更好的结果Osgeo4w

http://trac.osgeo.org/osgeo4w/