Quantcast
Channel: Question and Answer » gdal
Viewing all articles
Browse latest Browse all 397

Error during conversion of shapefile to mysql using ogr2ogr

$
0
0

I have installed ms4w in Windows 7. I get an error when I try to convert a shapefile to MySQL database using gdal-ogr ogr2ogr.exe.

This is the command I’m trying:

C:ms4wtoolsgdal-ogr>ogr2ogr -f MySQL MySQL:banyuwangigis,user=root,password=
-lco GEOMETRY_NAME=layerkecamatan c:ms4wappsbanyuwangigispetadasarshpadmin
polygon.shp

This is the resulting error:

MySQL driver does not support data source creation.

What have I missed?


Viewing all articles
Browse latest Browse all 397

Trending Articles