int tsmWriteAllTrees ( TsmConnection oiConn, TsmConnection demConn, TsmConnectionParams params )

Creates a pyramid VRML tree and geotile files

Documentation

Creates a pyramid VRML tree and geotile files.

Create a hierarchy of VRML tree files. Tree files are used to control the level of detail (LOD) structure of a multi-resolution dataset. They are the glue that hold the vtiles together.

This function controls the generation of an entire hierarchy of VRML tree files from a TerraVision pyramid. It will open a connection to the dataset to get the tspec metadata, then it will create all of the relevant tree files and directories for that dataset.

The function will also generate an index.html redirect file that will send a web browser to the root tree file of the dataset.

The TsmConnectionParams structure lets you specify a number of parameters to control this process. Currently, the following settings are supported:

Returns:
TRUE if all went well, FALSE if an error occurred
Parameters:
oiConn - is a connection to a OI pyramid dataset.
demConn - is a connection to the co-rectified DEM pyramid dataset.
params - is a pointer to a TsmConnectionParams structure.
Author:
Martin Reddy
Version:
18 June 1998
See Also:
tsmWriteAllImages, tsmWriteAllVtiles


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

Back to tsmApi Home Page