Opened 12 years ago

Last modified 12 years ago

#4448 closed enhancement

Shapefile driver has inconsistent default length for text fields — at Initial Version

Reported by: ryanl Owned by: warmerdam
Priority: normal Milestone: 1.10.0
Component: OGR_SF Version: svn-trunk
Severity: normal Keywords: shapefile
Cc: robert.coup@…, janis.elmeris@…

Description

When creating a shapefile the default width of a String field is 80 instead of the max 255. Both the FileGDB and Mitab drivers have the default set to the maximum size of the field (2147483647 and 254 respectively) The impact of this is if there is a field with a string length of 0 it will be incorrectly truncated to 80.

Change History (1)

by ryanl, 12 years ago

Attachment: stringlength.diff added

fix against r23734

Note: See TracTickets for help on using tickets.