Class RasterElevationSource

java.lang.Object
com.esri.arcgisruntime.mapping.ElevationSource
com.esri.arcgisruntime.mapping.RasterElevationSource
All Implemented Interfaces:
RemoteResource, Loadable

public final class RasterElevationSource extends ElevationSource
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
  • Constructor Details

    • RasterElevationSource

      public RasterElevationSource(Iterable<String> filePaths)
      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

      public List<String> 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

      public Envelope getFullExtent()
      Gets the full extent.
      Returns:
      the full extent
      Since:
      100.3.0
    • getUri

      public String getUri()
      This property is not supported.
      Returns:
      the URI of this RemoteResource
      Throws:
      UnsupportedOperationException
      Since:
      100.0.0
      See Also: