[FWTools] Read Datasets with three ranks in HDF file by GDAL in CSharp

Frank Warmerdam warmerdam at pobox.com
Wed Apr 1 15:06:56 EST 2009


jor sion wrote:
> Hi,
>  
> I am trying to read HDF files by GDAL in CSharp. The trouble is I can 
> only access the first,second rank of the datasets with three ranks, but 
> i can not access any information
>  
> about the third rank. because I can only get the RasterXSize and 
> RasterYSize from dataset, but there is no RasterZSize.
>  

JoSn,

Rank 3 datasets normally have the third rank unrolled as bands.  Try
checking the RasterCount attribute.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the FWTools mailing list