Click or drag to resize

GeodasGriddedTerrain Constructor (String)

Initializes a new instance using the specified filename.

Namespace:  AGI.Foundation.Terrain
Assembly:  AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public GeodasGriddedTerrain(
	string fileName
)

Parameters

fileName
Type: SystemString
The full path and filename of the G98 file.
Exceptions
ExceptionCondition
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 is .
See Also