SE_serverinfo_get_rasterbufsize

Extracts RASTERBUFSIZE from the SE_SERVERINFO object

Usage syntax

LONG SE_serverinfo_get_rasterbufsize (const SE_SERVERINFO svrInfo, LONG *rasterbuf);

Parameters
svrInfo The SE_SERVERINFO object
rasterbuf RASTERBUFSIZE value
Description

This function extracts the RASTERBUFSIZE value from the SE_SERVERINFO object.

RASTERBUFSIZE defines the size of the raster buffer, which controls raster data transfer. The raster transfer includes both an array buffer and transport buffers. The raster array buffer is set at two times the RASTERBUFSIZE parameter, while the raster transport buffers are set to the RASTERBUFSIZE. Therefore, the memory allocated to raster transfer on the server is three times RASTERBUFSIZE.

On the client, RASTERBUFSIZE bytes of memory are allocated to the client raster transport buffer when raster tiles are accessed by a stream. The raster buffers are not deallocated until the stream is closed, unless the stream is added to the stream pool.

Returns

SE_SUCCESS
SE_INVALID_POINTER

SE_INVALID_SERVERINFO_OBJECT

SE_SDE_NOT_STARTED