SE_rasterattr_get_extent_by_level

Retrieves the extent of the raster by level.

Usage syntax

LONG SE_rasterattr_get_extent_by_level (SE_RASTERATTR handle, SE_ENVELOPE *envelope, LFLOAT *offset_x, LFLOAT *offset_y, LONG level);

Parameters
handle The SE_RASTERATTR handle
envelope The SE_ENVELOPE object
offset_x The x offset
offset_y The y offset
level The level
Description

SE_rasterattr_get_extent_by_level returns the extent of a raster for a given pyramid level. The offset is the distance from the upper left corner of the extent to the upper left hand corner of the (0,0) tile.

Returns

SE_SUCCESS
SE_INVALID_POINTER

SE_INVALID_RASTERATTR_OBJECT

SE_NET_FAILURE

SE_NO_COORDREF

SE_OPERATION_NOT_ALLOWED

SE_SDE_NOT_STARTED