int tsmTileHeaderLevel ( TsmTileHeader const *tileHeader )

Return the pyramid level information from a tile header

Documentation

Return the pyramid level information from a tile header.

The TsmTileHeader structure is filled in by the tile reading routines (e.g. tsmReadNextTile) and provides information about the raw tile data.

The tile header data structure is opaque (i.e. you cannot access its fields directly), so you must use the API calls to access the contents of a tile header. This particular API call will take a tile header and return the level of the tile that it describes.

Returns:
the tile's level number
Parameters:
tileHeader - a tile header, as filled by tsmReadNextTile
See Also:
tsmAllocTileHeader, tsmReadNextTile


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

Back to tsmApi Home Page