GeodasGriddedTerrain Constructor (StreamFactory, TerrainCacheGroup) |
Initializes a new instance with the specified stream factory.
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(
StreamFactory streamFactory,
TerrainCacheGroup cacheGroup
)
Public Sub New (
streamFactory As StreamFactory,
cacheGroup As TerrainCacheGroup
)
public:
GeodasGriddedTerrain(
StreamFactory^ streamFactory,
TerrainCacheGroup^ cacheGroup
)
new :
streamFactory : StreamFactory *
cacheGroup : TerrainCacheGroup -> GeodasGriddedTerrain
Parameters
- streamFactory
- Type: AGI.Foundation.InfrastructureStreamFactory
The factory to use to create streams to read the terrain data. - 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 streamFactory or cacheGroup is .
|
See Also