#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 , 15 years ago
Owner: | changed from | to
---|
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 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.
Limit increased to 10 M in r16209