SE_rasterattr_get_rasterband_info

Retrieves the raster band.

Usage syntax

LONG SE_rasterattr_get_rasterband_info (SE_RASTERATTR handle, SE_RASBANDINFO *rasterband, LONG index);

Parameters
handle The SE_RASTERATTR handle
rasterband The raster band object
index The index number
Description

SE_rasterattr_get_rasterband_info returns the raster band object from the SE_RASTERATTR structure. It's a reference to the internal data structure within the SE_RASTERATTR structure and should be treated as a read-only object. For this reason you should not free this SE_RASBANDINFO with a call to SE_rasbandinfo_free. The memory will be released when the SE_RASTERATTR structure is freed with a call to SE_rasterattr_free.

Returns

SE_SUCCESS
SE_INVALID_PARAM_VALUE

SE_INVALID_POINTER

SE_INVALID_RASTERATTR_OBJECT

SE_NET_FAILURE

SE_SDE_NOT_STARTED