Description | Example | Return message | Group

TerrainServer

Specify a terrain server to be used in STK calculations

Syntax

TerrainServer <ApplicationPath> <Parameters>

Related commands

Description

The TerrainServer command allows you to specify a terrain server to be used in STK calculations.

Valid values for {Option} are UseAgiServer, Server, and Tileset.

The syntax of the command <Parameters> is:

UseAgiServer {Yes | No} [Server "<ServerName>"] [Tileset "<Tileset>"]

If Yes is entered, Server "<ServerName>" is not valid. However, you can optionally specify the desired TileSet "<Tileset>" to be used. If the Tileset is not specified, the first available tileset will be used.

If No is entered, also specify the Server "<ServerName>" and/or TileSet "<Tileset>" to indicate specific values. If Server is not entered a valid Server must already be specified.

The Server parameter accepts a quoted string that corresponds to the SEDS server. Be sure that the name for the SEDS server follows the "<SEDS NAME>/Geospatial Content Server" namming convention.

When specifying a server other than the AGI Terrain Server, the UseAgiServer No keywords can be omitted from the command line.

If using a custom STK Terrain Server, you must specify a URI that refers to a running instance of an accessible STK Terrain Server (e.g. http://localhost/stk-terrain).

Examples

To use the AGI Terrain Server, with the specified tileset:

TerrainServer / UseAgiServer Yes Tileset "world"

To specify a terrain server, and tileset:

TerrainServer / UseAgiServer No Server "TempWorkSrvr" Tileset "world"

Group membership

This command belongs to the following group(s):

2D Graphics Window

Scenarios

Version

11.7