[GDAL] GIF image fails to load in GDAL
We ran into a WMS layer that crashes GDAL. Well, it doesn't really carsh, it
aborts with an unrecoverable error.
The following WMS request (with invalid BBOX) produces an image with an error
message (looks cool BTW :)
http://globe.digitalearth.gov/viz-bin/wmt.cgi?SERVICE=WMS&VERSION=1.0.7&LAYERS=COASTLINES&FORMAT=image/gif&STYLES=default&TRANSPARENT=TRUE&REQUEST=GetMap&WIDTH=400&HEIGHT=300&SRS=EPSG:4326&BBOX=-190,-145.713000,190,139.412000&EXCEPTIONS=INIMAGE
This WMS request causes MapServer to abort with "premature end of script
headers" as it tries to reproject the image via GDAL.
The error can also be reproduced with 'gdal_translate':
$ gdal_translate -of GTiff brokengif.gif brokengif.tiff
Size is 400, 300
ERROR 5: GDALDataset::GetRasterBand(1) - Illegal band #
Aborted
Frank, can you please have a look?
Change History
(2)
Resolution: |
→ fixed
|
Status: |
new → closed
|