Click or drag to resize

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

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: 24.3.420.0 (24.3.420.0)
Syntax
public NgaDigitalTerrainElevationData(
	string dtedDirectory,
	int southLatitudeDegrees,
	int northLatitudeDegrees,
	int westLongitudeDegrees,
	int eastLongitudeDegrees
)

Parameters

dtedDirectory
Type: SystemString
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: SystemInt32
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: SystemInt32
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: SystemInt32
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: SystemInt32
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.
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 is .
See Also