Opened 12 years ago

Last modified 12 years ago

#4448 closed enhancement

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

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 (last modified by ryanl)

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 string length undefined will be incorrectly truncated to 80 chars.

Change History (3)

by ryanl, 12 years ago

Attachment: stringlength.diff added

fix against r23734

comment:1 by ryanl, 12 years ago

Description: modified (diff)

comment:2 by ryanl, 12 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.