SE_rasterattr_get_rasterband_info_list

Retrieves a list of raster bands.

Usage syntax

LONG SE_rasterattr_get_rasterband_info_list (SE_RASTERATTR handle, SE_RASBANDINFO **rasbnd_list, LONG *count);

Parameters
handle The SE_RASTERATTR handle
rasterband An array of raster bands
count The number of raster bands in the array
Description

This function returns a list of raster band objects. The list is 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_rasterband_free_info_list.

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