Ticket #3316 (closed defect: fixed)
Crash and geolocation array extraction problems with HDF4 LISOTD_HRAC dataset
| Reported by: | gislab | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.7.2 |
| Component: | GDAL_Raster | Version: | unspecified |
| Severity: | normal | Keywords: | hdf, lisotd, hrac |
| Cc: |
Description
Several problems with specific HDF dataset:
Dataset source: http://www.iapmw.unibe.ch/research/projects/FriOWL/data/otd/LISOTD_HRAC_V2.2.hdf
1. Trying to access the subdataset, that doesn't exist - crashes GDAL and guess it shouldn't?
gdal_translate -of GTiff -b 200 HDF4_SDS:UNKNOWN:LISOTD_HRAC_V2.2.hdf:3 output.tif
ok
gdal_translate -of GTiff -b 200 HDF4_SDS:UNKNOWN:LISOTD_HRAC_V2.2.hdf:4 output.tif
crash
2. Attempting to extract geoloc array or use it doesn't lead to any result
gdalwarp -of GTiff -geoloc LISOTD_HRAC_V2.2.hdf rectified.tif
quietly shuts down without crash report or any warning, trying to import Latitude dataset itself doesn't help either.
I'm using GDAL 1.6.3, released 2009/11/19
