Click or drag to resize

GeodasGriddedTerrain Constructor (String, TerrainCacheGroup)

Initializes a new instance using the specified G98 filename.

Namespace:  AGI.Foundation.Terrain
Assembly:  AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 19.4.401.0 (19.4.401.0)
Syntax
public GeodasGriddedTerrain(
	string fileName,
	TerrainCacheGroup cacheGroup
)

Parameters

fileName
Type: SystemString
The full path and filename of the G98 file.
cacheGroup
Type: AGI.Foundation.TerrainTerrainCacheGroup
The cache group with which to associate this terrain provider.
Exceptions
ExceptionCondition
InvalidDataException Thrown when the any one of the following conditions are met:
  • The version of the G98 file is not supported.
  • The header length is not correct for a G98 file.
  • The G98 file specifies an unsupported data type.
  • The G98 file specifies an unsupported number type.
  • The G98 file specifies an unsupported scale.
  • The G98 file specifies an unsupported cell registration.
  • The G98 file specifies an unsupported vertical datum.
  • The Stream reading the G98 file unexpectedly ends.
InvalidOperationException Thrown when the Earth instance in the CalculationContext is not configured with a mean sea level (MSL).
ArgumentNullException Thrown when fileName or cacheGroup is .
See Also