Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#5192 closed defect (fixed)

FileGDB driver creates fields with a weird Length

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 1.11.0
Component: OGR_SF Version: unspecified
Severity: normal Keywords: filegdb
Cc:

Description

Reported as http://lists.osgeo.org/pipermail/gdal-dev/2013-August/036826.html

Length is in bytes per doc of FileGDB_API/xmlResources/FileGDBAPI.xsd. Typical values are given in FileGDB_API/samples/XMLsamples/OneOfEachFieldType.xml

Change History (8)

comment:1 Changed 4 years ago by Even Rouault

trunk r26283 "FileGDB: when writing <Length> of an attribute, use size in bytes (#5192)"

comment:2 Changed 4 years ago by Even Rouault

Milestone: 2.0
Resolution: fixed
Status: newclosed

No feedback from reported. Assuming it is OK

comment:3 Changed 3 years ago by Even Rouault

Milestone: 2.01.11.0

comment:4 in reply to:  2 Changed 3 years ago by pelord

Resolution: fixed
Status: closedreopened

Replying to rouault:

No feedback from reported. Assuming it is OK

I've tried with 1.11.1 and it's seem to have the same behavior.

http://gis.stackexchange.com/questions/131414/ogr2ogr-filegdb-2-other-format-with-sql-query-change-structure

comment:5 Changed 3 years ago by Even Rouault

Resolution: fixed
Status: reopenedclosed

Your issue is different and about string fields, whereas the fix in that ticket was about non-string fields. Please check if there's not another ticket about that (I remember a recent exchange on that) and open a dedicated ticket.

comment:6 Changed 3 years ago by pelord

I guess you're right.

According to this ticket: https://trac.osgeo.org/gdal/ticket/4448

This issue will be solve in gdal 2.x?

Thanks.

comment:7 Changed 3 years ago by Even Rouault

At that time of the ticket, "GDAL 2" should be now understood as GDAL 1.10. Your issue is more about the width of a string field not being reported (i.e. being set to 0) when reading a filegdb file

comment:8 Changed 3 years ago by pelord

I will open an issue about this problem.

Thanks a lot.

Note: See TracTickets for help on using tickets.