int tsmGetTile ( TsmHandle *tsmh, Pyramid *pyramid, int ix, int iy, int level, unsigned char *tileBuffer, ... )

Gets a single tile from a Pyramid

Documentation

Gets a single tile from a Pyramid.

N.B. this function is part of the old style server-centric interface to tsmApi. You should really start using the new leaner, cleaner, and sexier connection-based interface (see tsmConnect). This function is now just an emulation layer on top of the relevant connection-based function(s): tsmReadTile.

The tsmGetTile function retrieves a single tile from Pyramid pyramid at tile index (ix,iy, level). The tileBuffer is assumed to be sufficiently large to hold the entire tile. This is NOT recommended when accessing tiles from the DPSS. Instead, use the request list mechanism.

Returns:
TRUE if successful, FALSE if error occurred.
Parameters:
tsmh - the TSM session handle returned from tsmOpen.
pyramid - the pyramid structure, e.g. as returned from tsmGetPyramid.
ix - the x-coordinate of the tile to retrieve.
iy - the y-ccordinate of the tile to retrieve.
level - the level of the pyramid to retrieve from.
tileBuffer - a buffer to write the tile data into.
numServer - ignored
Author:
Martin Reddy
See Also:
tsmConnect, tsmReadTile, tsmPutTile


TSMAPI_RELEASE 2.1 - Release Date: 2001/01/10 19:01:12

Back to tsmApi Home Page