Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


Harris Geospatial / Docs Center / IDL Reference / I/O - HDF / HDF_GR_NAMETOINDEX

HDF_GR_NAMETOINDEX

HDF_GR_NAMETOINDEX

This function returns the index of the raster image named gr_name for the HDF GR interface identified by the parameter gr_id.

The value of index can be passed into HDF_GR_SELECT to obtain the raster image identifier (ri_id).

Syntax


Result = HDF_GR_NAMETOINDEX(gr_id, gr_name)

Return Value


Returns the index of the raster image if successful or FAIL (-1) otherwise.

Arguments


gr_id

HDF_GR_ interface identifier returned by HDF_GR_START.

gr_name

Name of the raster image.

Keywords


None

Version History


5.2

Introduced



© 2017 Exelis Visual Information Solutions, Inc. |  Legal
My Account    |    Buy    |    Contact Us