Opened 12 years ago

Closed 4 years ago

#4236 closed defect (wontfix)

Reading tiled HDF_EOS grid datasets does not read all data

Reported by: ajain Owned by: warmerdam
Priority: normal Milestone: closed_because_of_github_migration
Component: GDAL_Raster Version: 1.8.0
Severity: major Keywords:
Cc: rprinceley


I found that there is an issue with reading HDF_EOS datasets in tiled manner using GDAL.

I am attaching a smaple dataset and a sample C++ program that highlights the issue. For this particular sample, what I found was that the block size returned by GDAL is 1200x833, and when I specify this block size to be read using IReadBlock API on the band, only the first 300x300 = 90000 values are read. The rest of the buffer is still in uninitialized state.

If I turn off tiled access (by setting bReadTile to FALSE), the dataset is read properly, because the tile size returned is 1200x1, and the data buffer has valid values.

Attachments (1) (14.5 KB ) - added by ajain 12 years ago.

Download all attachments as: .zip

Change History (4)

by ajain, 12 years ago

Attachment: added

comment:1 by Even Rouault, 12 years ago

Apparently related 1.8-esri commit that fixes/workaround the issue : r23057

comment:2 by Even Rouault, 8 years ago

Priority: highnormal

All those tickets have more than one year and nobody has acted on it, so the priority is not so high

comment:3 by Even Rouault, 4 years ago

Milestone: closed_because_of_github_migration
Resolution: wontfix
Status: newclosed

This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to if it is not already reported there.

Note: See TracTickets for help on using tickets.