SE_stream_set_raster_constraint

Sets raster constraints

Usage syntax

LONG SE_stream_set_raster_constraint
(SE_STREAM stream,
const SE_RASCONSTRAINT *constraint);

Parameters
stream The stream handle
filter A pointer to a raster constraint
Description

SE_stream_set_raster_constraint sets the raster constraint on the current query. On execution, the constraint is applied to the raster data, and only those rasters meeting the supplied constraint are returned to the client application.

You can call this function only after initializing the stream with a layer or log file query and before calling SE_stream_execute.

Call SE_stream_set_raster_constraint with zero filters to cancel previously set filters.

Returns

SE_SUCCESS
SE_CONNECTION_IN_USE

SE_CONNECTION_LOCKED

SE_DB_IO_ERROR

SE_FUNCTION_SEQUENCE_ERROR

SE_INCOMPATIBLE_COORDREFS

SE_INVALID_FILTER_TYPE

SE_INVALID_PARAM_VALUE

SE_INVALID_POINTER

SE_INVALID_SEARCH_METHOD

SE_INVALID_STREAM_TYPE

SE_NET_FAILURE

SE_OUT_OF_CLMEM

SE_OUT_OF_SVMEM

SE_SDE_NOT_STARTED

SE_STREAM_IN_PROGRESS