TsmDataSetType tsmTileHeaderType ( TsmTileHeader const *tileHeader )

Return the dataset type information from a tile header

Documentation

Return the dataset type 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 type of the dataset that the tile came from, e.g. this could be TSM_DEM_DATASET, TSM_IMAGE_DATASET, or TSM_UNKNOWN_DATASET.

Returns:
the tile's dataset type
Parameters:
tileHeader - a tile header, as filled by tsmReadNextTile
Author:
Martin Reddy
Version:
6 March 1998
See Also:
tsmAllocTileHeader, tsmReadNextTile


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

Back to tsmApi Home Page