Ticket #4448 (new enhancement)

Opened 4 months ago

Last modified 4 months ago

Shapefile driver has inconsistent default length for text fields

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

Description (last modified by ryanl) (diff)

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.

Attachments

stringlength.diff Download (0.5 KB) - added by ryanl 4 months ago.
fix against r23734

Change History

Changed 4 months ago by ryanl

fix against r23734

Changed 4 months ago by ryanl

  • description modified (diff)

Changed 4 months ago by ryanl

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