Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#2818 closed defect (fixed)

Legitimate GML files with large geometries now unreadable

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

Description

The file:

http://download.osgeo.org/gdal/data/gml/CGB1_polygons_EN.xml

is unreadable with the error:

ERROR 1: Too much data inside one element. File probably corrupted

This appears to be due to changes incorporated in r15947 limiting element contents to 100000 bytes in gmlhandler.cpp. This file has a very large and complex polygon which exceeds this limit.

Change History (3)

comment:1 by Even Rouault, 15 years ago

Owner: changed from warmerdam to Even Rouault

comment:2 by Even Rouault, 15 years ago

Resolution: fixed
Status: newclosed

Limit increased to 10 M in r16209

comment:3 by Even Rouault, 15 years ago

In r16881, I've finally completely removed that test as the nos80k dataset for example exceed 100 MB and can be successfully parsed by OGR.

Note: See TracTickets for help on using tickets.