[gdal-dev] GDAL Open File Help Needed

Even Rouault even.rouault at spatialys.com
Sat Oct 10 03:44:25 PDT 2020


> int nx = GDALGetRasterXSize(hDriver);
> int ny = GDALGetRasterYSize(hDriver);
> int nz = GDALGetRasterCount(hDriver);

That's the wrong part. You should use the dataH handle.

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20201010/53b94da9/attachment-0001.html>


More information about the gdal-dev mailing list