Ticket #1625 (closed defect: fixed)
problems reading etopo2v2 (arc grid, / GMT (netcdf) /HDF)
| Reported by: | jonmu | Owned by: | mloskot |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.4.4 |
| Component: | GDAL_Raster | Version: | 1.4.1 |
| Severity: | normal | Keywords: | hdf gmt etopo2 netcdf |
| Cc: | warmerdam |
Description
The Etopo2 data set is a 2 minute topography/bathymetry grid covering the entire world provided by NGDC.
http://www.ngdc.noaa.gov/mgg/fliers/01mgg04.html
Download: http://www.ngdc.noaa.gov/mgg/global/relief/ETOPO2/ETOPO2v2-2006/
Version 2 of this grid comes in several different formats: I have tried to import them using the GDAL library, and it does not seem to work.
I have also tried to import the grids using the GW tools (file->import) but i seems to crash the program.
This is what happens: GMT: poDataset->GetRasterXSize(); poDataset->GetRasterYSize(); poDataset->GetRasterCount?(); returns wrong values.
ARC, and HDF does not have the same problem. The values returned from the GDALDataset seem to be correct, but when i try to read the array using poDataset->RasterIO(...) it does not work, it returns errors.
Do anyone else have the same problem with these grids?

