Opened 4 years ago

Closed 4 years ago

#5821 closed defect (duplicate)

Width of a string field not being reported (i.e. being set to 0) when reading a filegdb file

Reported by: pelord Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: 1.11.1
Severity: normal Keywords: filegdb
Cc:

Description

When the "FileGDB" driver read a FileGDB, field width is not recovered.

All output results (ogr2ogr or ogrinfo) set width to 0.

ogr2ogr -f "FileGDB" TEMP.GDB Source.gdb -sql "select * from input_layer"

All string width are set to 0.

Same behavior with ogrinfo on the source layer.

ogrinfo INPUTGDB.gdb layername -so INFO: Open of `INPUTGDB.gdb'

using driver `FileGDB' successful.

Layer name: layername .... FID Column = OBJECTID Geometry Column = Shape Field1: String (0.0) Field2: String (0.0) ... Fieldx: String (0.0) Shape_Length: Real (0.0) Shape_Area: Real (0.0)

Change History (1)

comment:1 Changed 4 years ago by Even Rouault

Resolution: duplicate
Status: newclosed

Hum actually it is a duplicated of #5806

Note: See TracTickets for help on using tickets.