SE_rasterattr_set_image_origin

Sets the virtual origin of the raster attribute.

Usage syntax

LONG SE_rasterattr_set_image_origin (SE_RASTERATTR handle, LFLOAT x_minimum, LFLOAT y_maximum);

Parameters
handle The SE_RASTERATTR handle
x_minimum The X minimum ordinate
y_maximum The Y maximum ordinate
Description

SE_rasterattr_set_image_origin presets the virtual origin of the raster prior to its insert into the ArcSDE raster datastore. This property only affects the raster if it is set during the insert of a raster. It is ignored for a mosaic operation.

Presetting the virtual origin allows you to set the upper, leftmost coordinate of a georeferenced raster. Doing so avoids a costly pyramid reconstruction that occurs when ArcSDE must move the virtual origin if an image is mosaiced to the left or above the current virtual origin.

Returns

SE_SUCCESS
SE_INVALID_POINTER

SE_INVALID_RASTERATTR_OBJECT

SE_NET_FAILURE

SE_SDE_NOT_STARTED