GeodasGriddedTerrain Constructor (StreamFactory) |
Initializes a new instance with the specified stream factory.
Namespace:
AGI.Foundation.Terrain
Assembly:
AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public GeodasGriddedTerrain(
StreamFactory streamFactory
)
Public Sub New (
streamFactory As StreamFactory
)
public:
GeodasGriddedTerrain(
StreamFactory^ streamFactory
)
new :
streamFactory : StreamFactory -> GeodasGriddedTerrain
Parameters
- streamFactory
- Type: AGI.Foundation.InfrastructureStreamFactory
The factory to use to create streams to read the terrain data.
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 is .
|
See Also