[Qgis-user] PostGIS 2 SHP
Ricardo Bayley
ricardo.bayley at gmail.com
Sat Oct 23 10:28:27 PDT 2010
Thanks Andrea !
Using ogr2ogr does work properly.
2010/10/23 Andrea Peri 2007 <aperi2007 at gmail.com>
> 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
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20101023/f24024c1/attachment.html>
More information about the Qgis-user
mailing list