SE_rasterattr_set_mosaic_mode

Sets the mosaic mode.

Usage syntax

LONG SE_rasterattr_set_mosaic_mode (SE_RASTERATTR rasterattribute, LONG mode);

Parameters
rasterattribute The raster attribute
mode The mosaic mode to be applied
Description

SE_rasterattr_set_mosaic_mode sets the mosaic mode. The mosaic mode can only be applied during a an update to a raster. Essentially the mosaic mode is applied whenever an update stream is in effect. Either SE_stream_update_table, or SE_stream_update_row function must be called. Possible mosaic mode values include:

SE_MOSAIC_MODE_NONE - No mosaic will be applied. The existing raster is completely replaced by the raster in the raster attribute object. This is the default.
SE_MOSAIC_MODE_MERGE - The pixel values of the raster in the raster attribute replace the overlapping pixels of the existing raster stored in ArcSDE. If a pixel is not stored at that location, a new pixel is created. The bitmask of the existing raster is not altered.
SE_MOSAIC_MODE_DELETE - Logically AND the existing bitmask and the bitmask of the raster attribute together. Basically, if the bitmask of the raster attribute value is 1, do nothing otherwise set the resultant bitmask to 0, thus setting the result to NODATA.

Returns

SE_SUCCESS
SE_INVALID_POINTER

SE_INVALID_RASTERATTR_OBJECT

SE_NET_FAILURE

SE_OPERATION_NOT_ALLOWED

SE_SDE_NOT_STARTED