java.lang.Object
com.esri.arcgisruntime.mapping.ElevationSource
com.esri.arcgisruntime.mapping.RasterElevationSource
- All Implemented Interfaces:
RemoteResource
,Loadable
An elevation source based on raster elevation files.
A raster elevation source helps visualize maps and layers in 3D by providing a surface that layers may be draped or offset from. You can create a raster elevation source from a collection of raster elevation files, such as Digital Terrain Elevation Data (DTED) format files. See Raster To DTED for more information about creating raster elevation files based on the DTED tiling scheme.
To utilize an elevation source in a scene's surface, add it to the scene's Surface.getElevationSources()
collection.
- Since:
- 100.0.0
-
Property Summary
Properties inherited from class com.esri.arcgisruntime.mapping.ElevationSource
loadError, loadStatus
-
Constructor Summary
ConstructorDescriptionRasterElevationSource
(Iterable<String> filePaths) Creates a raster elevation source using the given file paths to raster elevation files. -
Method Summary
Modifier and TypeMethodDescriptionGets an unmodifiable list of absolute file paths that are used to create the raster elevation source.Gets the full extent.getUri()
This property is not supported.Methods inherited from class com.esri.arcgisruntime.mapping.ElevationSource
addDoneLoadingListener, addLoadStatusChangedListener, cancelLoad, getCredential, getLoadError, getLoadStatus, getName, getRequestConfiguration, isEnabled, loadAsync, loadErrorProperty, loadStatusProperty, removeDoneLoadingListener, removeLoadStatusChangedListener, retryLoadAsync, setCredential, setEnabled, setName, setRequestConfiguration
-
Constructor Details
-
RasterElevationSource
Creates a raster elevation source using the given file paths to raster elevation files.- Parameters:
filePaths
- iterable of file paths of the raster elevation sources. These paths can be absolute or relative to the executing directory.- Throws:
IllegalArgumentException
- if the filePaths is null or empty, or if any of the files do no exist- Since:
- 100.0.0
-
-
Method Details
-
getFilePaths
Gets an unmodifiable list of absolute file paths that are used to create the raster elevation source.- Returns:
- an unmodifiable list of absolute file paths that are used to create the raster elevation source
- Since:
- 100.0.0
-
getFullExtent
Gets the full extent.- Returns:
- the full extent
- Since:
- 100.3.0
-
getUri
This property is not supported.- Returns:
- the URI of this RemoteResource
- Throws:
UnsupportedOperationException
- Since:
- 100.0.0
- See Also:
-