SE_stream_calculate_layer_extent

Returns the envelope of a layer query

Usage syntax

LONG SE_stream_calculate_layer_extent
(SE_STREAM stream,
const SE_QUERYINFO query_info,
const SE_ENVELOPE *e,
LFLOAT *minz,
LFLOAT *maxz);

Parameters
stream The stream handle
query_info A pointer to an SE_QUERYINFO structure
envelope A pointer to the layer's envelope
minz A pointer to the minimum Z value
maxz A pointer to the maximum Z value
Description

SE_stream_calculate_layer_extent returns the envelope for all features within the layer that pass any SQL construct, state, or spatial constraints for the stream. If no features pass these tests, the envelope is set to SE_INVALID_ENVELOPE.

Returns

SE_SUCCESS
SE_DB_IO_ERROR

SE_INVALID_ENVELOPE

SE_INVALID_PARAM_VALUE

SE_INVALID_POINTER

SE_INVALID_QUERYINFO_OBJECT

SE_INVALID_SQL

SE_INVALID_STREAM_TYPE

SE_INVALID_WHERE

SE_LAYER_MISMATCH

SE_LAYER_NOEXIST

SE_LOAD_ONLY_LAYER

SE_MULTIPLE_SPATIAL_COLS

SE_NET_FAILURE

SE_NO_ACCESS

SE_NO_PERMISSIONS

SE_OUT_OF_CLMEM

SE_OUT_OF_SVMEM

SE_SDE_NOT_STARTED

SE_STREAM_IN_PROGRESS

SE_TABLE_NOEXIST