public class GeospatialContentServerTerrain extends QuantizedMeshTerrainProvider
A terrain provider for reading terrain data from a Geospatial Content Server (GCS). This can be a server on the internet, your local network, or your local machine.
The terrain data used by this class is tile-based, in quantized-mesh format.
| Constructor and Description | 
|---|
GeospatialContentServerTerrain(String assetUrl,
                              IAuthorizationProvider authorizationProvider)
Initializes a new instance. 
 | 
GeospatialContentServerTerrain(String assetUrl,
                              IAuthorizationProvider authorizationProvider,
                              int zoomLevel)
Initializes a new instance. 
 | 
GeospatialContentServerTerrain(String assetUrl,
                              IAuthorizationProvider authorizationProvider,
                              int zoomLevel,
                              Proxy proxy)
Initializes a new instance. 
 | 
GeospatialContentServerTerrain(String assetUrl,
                              IAuthorizationProvider authorizationProvider,
                              int zoomLevel,
                              TerrainCacheGroup cacheGroup)
Initializes a new instance. 
 | 
GeospatialContentServerTerrain(String assetUrl,
                              IAuthorizationProvider authorizationProvider,
                              int zoomLevel,
                              TerrainCacheGroup cacheGroup,
                              Proxy proxy)
Initializes a new instance. 
 | 
GeospatialContentServerTerrain(String assetUrl,
                              IAuthorizationProvider authorizationProvider,
                              Proxy proxy)
Initializes a new instance. 
 | 
GeospatialContentServerTerrain(String assetUrl,
                              IAuthorizationProvider authorizationProvider,
                              TerrainCacheGroup cacheGroup)
Initializes a new instance. 
 | 
GeospatialContentServerTerrain(String assetUrl,
                              IAuthorizationProvider authorizationProvider,
                              TerrainCacheGroup cacheGroup,
                              Proxy proxy)
Initializes a new instance. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getAssetUrl()
Gets the asset URL for this terrain provider. 
 | 
QuantizedMeshTerrainTile | 
getMesh(int level,
       int x,
       int y)
Gets a mesh for a specified set of coordinates. 
 | 
extentToCoordinateExtent, findMostDetailedAvailableTile, getCache, getDefaultInterpolator, getFirstPartials, getFirstPartials, getHeight, getHeight, getHeightNativeUnits, getLocalMinimumSampleSpacing, getMaximumLevel, getMetadata, getMinimumSampleSpacing, getNumberOfXTilesAtLevel, getNumberOfYTilesAtLevel, getSecondPartials, getSecondPartials, getZoomLevel, isTileAvailable, latitudeToYTileCoordinate, longitudeToXTileCoordinate, preloadExtent, setDefaultInterpolator, setZoomLevel, tileCoordinatesToExtent, unloadExtent, validateTileCoordinatesgetBoundingExtent, getBoundingExtentNativeUnits, getGradient, getHeightReference, getHeightRelativeToShape, getHessian, getNativeToMeters, getNormal, getRadiansToNative, getReferenceSurface, getShape, getShapeFixedFrame, inGlobalBounds, setBoundingExtent, setBoundingExtentNativeUnits, setHeightReference, setNativeToMeters, setRadiansToNative, setReferenceSurface, setShape, setShapeFixedFramepublic GeospatialContentServerTerrain(@Nonnull String assetUrl, @Nonnull IAuthorizationProvider authorizationProvider)
assetUrl - The Asset URL of the terrain.authorizationProvider - A provider for the authorization token required to access the asset in GCS.public GeospatialContentServerTerrain(@Nonnull String assetUrl, @Nonnull IAuthorizationProvider authorizationProvider, int zoomLevel)
assetUrl - The Asset URL of the terrain.authorizationProvider - A provider for the authorization token required to access the asset in GCS.zoomLevel - The Tile Map Service zoom level to request tiles at.public GeospatialContentServerTerrain(@Nonnull String assetUrl, @Nonnull IAuthorizationProvider authorizationProvider, @Nonnull TerrainCacheGroup cacheGroup)
assetUrl - The Asset URL of the terrain.authorizationProvider - A provider for the authorization token required to access the asset in GCS.cacheGroup - The cache group of which this provider is a member.public GeospatialContentServerTerrain(@Nonnull String assetUrl, @Nonnull IAuthorizationProvider authorizationProvider, @Nullable Proxy proxy)
assetUrl - The Asset URL of the terrain.authorizationProvider - A provider for the authorization token required to access the asset in GCS.proxy - The proxy to use when connecting. Optional, default is null.public GeospatialContentServerTerrain(@Nonnull String assetUrl, @Nonnull IAuthorizationProvider authorizationProvider, int zoomLevel, @Nonnull TerrainCacheGroup cacheGroup)
assetUrl - The Asset URL of the terrain.authorizationProvider - A provider for the authorization token required to access the asset in GCS.zoomLevel - The Tile Map Service zoom level to request tiles at.cacheGroup - The cache group of which this provider is a member.ArgumentNullException - Thrown when assetUrl, authorizationProvider, or cacheGroup is null.public GeospatialContentServerTerrain(@Nonnull String assetUrl, @Nonnull IAuthorizationProvider authorizationProvider, int zoomLevel, @Nullable Proxy proxy)
assetUrl - The Asset URL of the terrain.authorizationProvider - A provider for the authorization token required to access the asset in GCS.zoomLevel - The Tile Map Service zoom level to request tiles at.proxy - The proxy to use when connecting. Optional, default is null.ArgumentNullException - Thrown when assetUrl or authorizationProvider is null.public GeospatialContentServerTerrain(@Nonnull String assetUrl, @Nonnull IAuthorizationProvider authorizationProvider, int zoomLevel, @Nonnull TerrainCacheGroup cacheGroup, @Nullable Proxy proxy)
assetUrl - The Asset URL of the terrain.authorizationProvider - A provider for the authorization token required to access the asset in GCS.zoomLevel - The Tile Map Service zoom level to request tiles at.cacheGroup - The cache group of which this provider is a member.proxy - The proxy to use when connecting. Optional, default is null.ArgumentNullException - Thrown when assetUrl, authorizationProvider, or cacheGroup is null.public GeospatialContentServerTerrain(@Nonnull String assetUrl, @Nonnull IAuthorizationProvider authorizationProvider, @Nonnull TerrainCacheGroup cacheGroup, @Nullable Proxy proxy)
assetUrl - The Asset URL of the terrain.authorizationProvider - A provider for the authorization token required to access the asset in GCS.cacheGroup - The cache group of which this provider is a member.proxy - The proxy to use when connecting. Optional, default is null.ArgumentNullException - Thrown when assetUrl, authorizationProvider, or cacheGroup is null.public QuantizedMeshTerrainTile getMesh(int level, int x, int y)
getMesh in class QuantizedMeshTerrainProviderlevel - The zoom level.x - The X tile coordinate.y - The Y tile coordinate.DataUnavailableException - Thrown when the requested tile does not exist.ArgumentOutOfRangeException - Thrown when the tile coordinates are invalid.