Opened 11 years ago

Closed 6 years ago

#3866 closed defect (fixed)

Error reading long numbers as integer

Reported by: 19216801 Owned by: warmerdam
Priority: normal Milestone:
Component: OGR_SF Version: unspecified
Severity: normal Keywords: NAS


The NAS driver reading long numbers (13 digits) as integer. I have tested some workarounds. Changing the attribut definition in gfs file is successful, when destination driver is PGdump or Postgresql (create mode). With Postgresql driver as destination ogr2ogr convert the 13 digits number always to integer in append mode and ignoring table definition.

I tested with gdal SVN21189

Attachments (1)

nas_error_strschl.xml (1.5 KB) - added by 19216801 11 years ago.

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by 19216801

Attachment: nas_error_strschl.xml added

comment:1 Changed 11 years ago by Even Rouault

Milestone: 1.8.0
Resolution: fixed
Status: newclosed

r21202 /trunk/gdal/ogr/ogrsf_frmts/gml/gmlpropertydefn.cpp: GML: fix datatype detection to fallback to Real when an integer cannot fit into a 32bit int (#3866)

comment:2 Changed 11 years ago by warmerdam

Component: defaultOGR_SF
Keywords: NAS added
Resolution: fixed
Status: closedreopened

I'd like to consider this in light of the 64bit integer rfc for OGR.

comment:3 Changed 6 years ago by Even Rouault

Milestone: 1.8.1

Removing obsolete milestone

comment:4 Changed 6 years ago by Jukka Rahkonen

I guess that this is mature enough for closing.

comment:5 Changed 6 years ago by Jukka Rahkonen

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.