Opened 16 years ago

Closed 15 years ago

#1131 closed defect (fixed)

shapefile export of PostGIS layer: field size for integer is too small

Reported by: best Owned by: nobody
Priority: major: does not work as expected Milestone:
Component: Data Provider Version: 1.2.0
Keywords: Shapefile field size Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

Any integer field in a PostGIS table is exported as numeric with 4 digits only in the dbf-file, resulting in a data loss for numbers larger than 9999. The table view in QGIS shows the correct numbers, though. Defect has been reproduced on Win2K and OpenSuse 10.3, so I assume all platforms are affected. Server is Postgres 8.2.4 with PostGIS 1.2.1.

Change History (4)

comment:1 by jef, 16 years ago

Resolution: fixed
Status: newclosed

fixed in r8677 by adapting the behaviour of the ogr provider.

comment:2 by uhu, 15 years ago

Resolution: fixed
Status: closedreopened

comment:3 by uhu, 15 years ago

Version: 0.10.01.2.0

comment:4 by jef, 15 years ago

Resolution: fixed
Status: reopenedclosed

looks like r11218 broke this again. r11464 should fix it.

Note: See TracTickets for help on using tickets.