public class GeodasGriddedTerrain extends RasterTerrainProvider
Constructor and Description |
---|
GeodasGriddedTerrain(StreamFactory streamFactory)
Initializes a new instance with the specified stream factory.
|
GeodasGriddedTerrain(StreamFactory streamFactory,
TerrainCacheGroup cacheGroup)
Initializes a new instance with the specified stream factory.
|
GeodasGriddedTerrain(String fileName)
Initializes a new instance using the specified filename.
|
GeodasGriddedTerrain(String fileName,
TerrainCacheGroup cacheGroup)
Initializes a new instance using the specified G98 filename.
|
Modifier and Type | Method and Description |
---|---|
TerrainPosts |
getPosts(RasterTerrainIndexExtent extent)
Gets the posts over a specified area by reading them from the terrain data source.
|
cartographicExtentToIndexExtent, getCache, getDefaultInterpolator, getDeltaLatitude, getDeltaLatitudeNativeUnits, getDeltaLongitude, getDeltaLongitudeNativeUnits, getEasternPostOffsetNativeUnits, getFirstPartials, getFirstPartials, getHeight, getHeight, getHeightNativeUnits, getHeightNativeUnits, getHeightRelativeToShape, getLatitudePosts, getLongitudePosts, getMinimumSampleSpacing, getNeedsSpecialCoordinateProcessing, getNorthernPostOffsetNativeUnits, getSecondPartials, getSecondPartials, getSouthernPostOffsetNativeUnits, getWesternPostOffsetNativeUnits, indexToLatitude, indexToLongitude, latitudeToIndex, longitudeToIndex, preloadExtent, processCoordinates, setDefaultInterpolator, setDeltaLatitude, setDeltaLatitudeNativeUnits, setDeltaLongitude, setDeltaLongitudeNativeUnits, setEasternPostOffsetNativeUnits, setLatitudePosts, setLongitudePosts, setNeedsSpecialCoordinateProcessing, setNorthernPostOffsetNativeUnits, setSouthernPostOffsetNativeUnits, setWesternPostOffsetNativeUnits, unloadExtent
getBoundingExtent, getBoundingExtentNativeUnits, getGradient, getHeightReference, getHeightRelativeToShape, getHessian, getLocalMinimumSampleSpacing, getNativeToMeters, getNormal, getRadiansToNative, getReferenceSurface, getShape, getShapeFixedFrame, inGlobalBounds, setBoundingExtent, setBoundingExtentNativeUnits, setHeightReference, setNativeToMeters, setRadiansToNative, setReferenceSurface, setShape, setShapeFixedFrame
public GeodasGriddedTerrain(@Nonnull String fileName)
fileName
- The full path and filename of the G98 file.InvalidDataException
- Thrown when any of the following conditions are met:
InputStream
reading the G98 file unexpectedly ends.IllegalStateException
- Thrown when the Earth
(get
) instance in the CalculationContext
is not configured with a mean sea level (MSL).ArgumentNullException
- Thrown when fileName
is null
.public GeodasGriddedTerrain(@Nonnull String fileName, @Nonnull TerrainCacheGroup cacheGroup)
fileName
- The full path and filename of the G98 file.cacheGroup
- The cache group with which to associate this terrain provider.InvalidDataException
- Thrown when any of the following conditions are met:
InputStream
reading the G98 file unexpectedly ends.IllegalStateException
- Thrown when the Earth
(get
) instance in the CalculationContext
is not configured with a mean sea level (MSL).ArgumentNullException
- Thrown when fileName
or cacheGroup
is null
.public GeodasGriddedTerrain(@Nonnull StreamFactory streamFactory)
streamFactory
- The factory to use to create streams to read the terrain data.InvalidDataException
- Thrown when any of the following conditions are met:
InputStream
reading the G98 file unexpectedly ends.IllegalStateException
- Thrown when the Earth
(get
) instance in the CalculationContext
is not configured with a mean sea level (MSL).ArgumentNullException
- Thrown when streamFactory
is null
.public GeodasGriddedTerrain(@Nonnull StreamFactory streamFactory, @Nonnull TerrainCacheGroup cacheGroup)
streamFactory
- The factory to use to create streams to read the terrain data.cacheGroup
- The cache group with which to associate this terrain provider.InvalidDataException
- Thrown when any of the following conditions are met:
InputStream
reading the G98 file unexpectedly ends.IllegalStateException
- Thrown when the Earth
(get
) instance in the CalculationContext
is not configured with a mean sea level (MSL).ArgumentNullException
- Thrown when streamFactory
or cacheGroup
is null
.public TerrainPosts getPosts(@Nonnull RasterTerrainIndexExtent extent)
getPosts
in class RasterTerrainProvider
extent
- The extent of the posts to read.