[gdal-dev] CADRG subdataset access help

Frank Warmerdam warmerdam at pobox.com
Fri Jul 25 15:51:43 EDT 2008


Christiaan Janssen wrote:
> How exactly does one go about accessing the raster data in an format that
> contains subdatasets like CADRG? Any help would be greatly appreciated.
> 

Christiaan,

Are you working programmatically or as a user with end-user tools like gdalinfo
and gdal_translate?

For an end user, one would normally run gdalinfo against the file/dataset and
see the reported subdataset names.  Then run gdalinfo or gdal_translate against
the desired subdataset name.

Scripts/applications operate similarly, fetching the subdataset names from
metadata.

You may find it helpful to read the section titled "SUBDATASETS Domain" in
this doc:

   http://www.gdal.org/gdal_datamodel.html

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    | President OSGeo, http://osgeo.org



More information about the gdal-dev mailing list