Created
June 16, 2014 22:16
-
-
Save rugbyprof/b1f913512c02d35ec2f8 to your computer and use it in GitHub Desktop.
Add shapefile to MySQL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ogr2ogr -f MySQL MySQL:DATABASENAME,host=localhost,user=USER,password=PASSWORD SHAPEFILE.shp -nln TABLENAME -update -overwrite -lco engine=MYISAM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment