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: 24.3.420.0 (24.3.420.0)
Syntax public GeodasGriddedTerrain(
string fileName,
TerrainCacheGroup cacheGroup
)
Public Sub New (
fileName As String,
cacheGroup As TerrainCacheGroup
)
public:
GeodasGriddedTerrain(
String^ fileName,
TerrainCacheGroup^ cacheGroup
)
new :
fileName : string *
cacheGroup : TerrainCacheGroup -> GeodasGriddedTerrain
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 Exception | Condition |
---|
InvalidDataException |
Thrown when any 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