Class RasterElevationSource

  • All Implemented Interfaces:
    RemoteResource, Loadable

    public final class RasterElevationSource
    extends ElevationSource
    A raster based elevation source.
    Since:
    100.0.0 for JavaSE and 100.1.0 for Android
    • Constructor Detail

      • RasterElevationSource

        public RasterElevationSource​(java.lang.Iterable<java.lang.String> filePaths)
        Creates a RasterElevationSource with provided sources.
        Parameters:
        filePaths - iterable of file paths of the raster elevation sources. On JavaSE these paths can be absolute or relative to the executing directory. On Android these paths have to be absolute.
        Throws:
        java.lang.IllegalArgumentException - if the filePaths is null or empty, or if any of the files do no exist
        Since:
        100.0.0 for JavaSE and 100.1.0 for Android
    • Method Detail

      • getFilePaths

        public java.util.List<java.lang.String> getFilePaths()
        Gets an unmodifiable list of absolute file paths where each entry is a raster elevation source.
        Returns:
        an unmodifiable list of absolute file paths where each entry is a raster elevation source
        Since:
        100.0.0 for JavaSE and 100.1.0 for Android
      • getFullExtent

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

        public java.lang.String getUri()
        This property is not supported.
        Returns:
        the URI of this RemoteResource
        Throws:
        java.lang.UnsupportedOperationException
        Since:
        100.0.0 for JavaSE and 100.1.0 for Android
        See Also:
        getFilePaths()