[Qgis-user] PostGIS 2 SHP
Andrea Peri 2007
aperi2007 at gmail.com
Fri Oct 22 23:37:21 PDT 2010
>Hi fellows,
>
>I am loading a postgis Layer and then saving it to shapefile. Job gets done.
>BUT, data type character varying, or character, is always set to 255 CHAR in
>the shapefile.
>Therefore, my dbf ends up being a huge table. Is this some bug or I am
>simply doing something wrong ?
>
>Any thoughts appreciated
>
>
>Ricardo
The exporting procedure (save as) of qgis do this.
But if you use og2ogr (from gdal) to export from postgres to shapefile the string field was exactly the needed.
I test with the trunk version of gdal.
Regards,
Andrea Peri
More information about the Qgis-user
mailing list