Click or drag to resize

NgaDigitalTerrainElevationData Constructor (String, Int32, Int32, Int32, Int32, TerrainCacheGroup)

Initializes a new instance with the specified information. If a DMED file is available for this data set, the constructor taking that file should be used instead.

Namespace:  AGI.Foundation.Terrain
Assembly:  AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public NgaDigitalTerrainElevationData(
	string dtedDirectory,
	int southLatitudeDegrees,
	int northLatitudeDegrees,
	int westLongitudeDegrees,
	int eastLongitudeDegrees,
	TerrainCacheGroup cacheGroup
)

Parameters

dtedDirectory
Type: System.String
The directory containing DTED files, with the expected directory structure, specifically, subdirectories named HDDD, each containing cell files named HDD.dtN, where H is the hemisphere, DDD is longitude degrees, DD is latitude degrees, and N is 0, 1, or 2.
southLatitudeDegrees
Type: System.Int32
The south latitude of the bounding rectangle for the data set, in degrees, with positive values representing latitudes in the northern hemisphere and negative values representing latitudes in the southern hemisphere.
northLatitudeDegrees
Type: System.Int32
The north latitude of the bounding rectangle for the data set, in degrees, with positive values representing latitudes in the northern hemisphere and negative values representing latitudes in the southern hemisphere.
westLongitudeDegrees
Type: System.Int32
The west longitude of the bounding rectangle for the data set, in degrees, with positive values representing longitudes in the eastern hemisphere and negative values representing longitudes in the western hemisphere.
eastLongitudeDegrees
Type: System.Int32
The east longitude of the bounding rectangle for the data set, in degrees, with positive values representing longitudes in the eastern hemisphere and negative values representing longitudes in the western hemisphere.
cacheGroup
Type: AGI.Foundation.Terrain.TerrainCacheGroup
The cache group with which to associate this terrain provider.
Exceptions
ExceptionCondition
InvalidOperationException Thrown when the Earth instance in the current CalculationContext is not configured with a mean sea level (MSL).
ArgumentNullException Thrown when dtedDirectory or cacheGroup is null.
See Also