TsmConnection tsmTileHeaderConnection ( TsmTileHeader const *tileHeader )

Return the connection structure from a tile header

Documentation

Return the connection structure 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 connection structure for the dataset that the tile came from. This gives you access to everything you could ever want to know about the individual tile, or the dataset that it came from, e.g. you can use tsmGet() on this structure to query various characteristics.

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


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

Back to tsmApi Home Page