SE_rasterband_get_info_by_id

Retrieves information about a raster band by the ID.

Usage syntax

LONG SE_rasterband_get_info_by_id (SE_CONNECTION connection, LONG rastercolumn_id, LONG rasterband_id, SE_RASBANDINFO rasterband);

Parameters
connection The connection handle
rastercolumn_id The raster column ID
rasterband_id The raster band ID
rasterband Pointer to a location to receive the SE_RASBANDINFO definition
Description

SE_rasterband_get_info_by_id obtains the definition of a specific raster band. Information about the raster band is maintained in an SE_RASBANDINFO structure. The SE_RASBANDINFO object must be a valid object created by SE_rasbandinfo_create .

Returns

SE_SUCCESS
SE_DB_IO_ERROR

SE_INVALID_POINTER

SE_LAYER_NOEXIST

SE_NET_FAILURE

SE_NO_PERMISSIONS

SE_SDE_NOT_STARTED