struct TsmTspecParams

Holds all options for creating a tspec file

Documentation

Holds all options for creating a tspec file.

The TsmTspecParams structure provides an extensible and flexible means to specify details about a tspec (Tile Set Specification) file that you wish to create from scratch.

N.B. you should always initialise a TsmTspecParams structure by calling tsmInitTspecParams.

Parameters:
width - (int) the width of the input image
height - (int) height of the input image
comps - (int) no. of components per pixel, e.g. 3
start_lev - (int) the start level number of dataset
start_res - (float) the resolution for this start level
dataset_type - (TsmDataSetType) TSM_DEM_DATASET, TSM_IMAGE_DATASET
sources - (char *) a list of sources of the image
ops - (char *) a list of operations performed on img
doneby - (char *) who performed the creation
source_type - (char *) the source of the image
geoName - (char *) the geoset name for this dataset
coord_sys - (TsmCoordSystem) Currently only TSM_UTM_COORDSYS
ll_e - (double) UTM lower-left corner for dataset (Eastings)
ll_n - (double)UTM lower-left corner for dataset (Northings)
zone - (int) UTM zone number for dataset
planet - (TsmPlanet) one of TSM_EARTH, TSM_MARS, etc.
scale - (double) scale factor to apply to pixel data
offset - (double) offset to apply after scaling factor
See Also:
tsmInitTspecParams, tsmCreateTspec


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

Back to tsmApi Home Page