Class Wcs201ElevationCoverage

  • All Implemented Interfaces:
    ElevationCoverage, Retriever.Callback<ImageSource,​java.lang.Void,​java.nio.ShortBuffer>

    public class Wcs201ElevationCoverage
    extends TiledElevationCoverage
    Generates elevations from OGC Web Coverage Service (WCS) version 2.0.1.
    Wcs201ElevationCoverage requires the WCS service address, coverage name, and coverage bounding sector. Get Coverage requests generated for retrieving data use the WCS version 2.0.1 protocol and are limited to the "image/tiff" format and the EPSG:4326 coordinate system. Wcs201ElevationCoverage does not perform version negotiation and assumes the service supports the format and coordinate system parameters detailed here. The subset CRS is configured as EPSG:4326 and the axis labels are set as "Lat" and "Long". The scaling axis labels are set as:
    http://www.opengis.net/def/axis/OGC/1/i and http://www.opengis.net/def/axis/OGC/1/j
    • Constructor Detail

      • Wcs201ElevationCoverage

        public Wcs201ElevationCoverage​(Sector sector,
                                       int numLevels,
                                       java.lang.String serviceAddress,
                                       java.lang.String coverage)
        Constructs a Web Coverage Service (WCS) elevation coverage with specified WCS configuration values.
        Parameters:
        sector - the coverage's geographic bounding sector
        numLevels - the number of levels of elevations to generate, beginning with 2-by-4 geographic grid of 90-degree tiles containing 256x256 elevation pixels
        serviceAddress - the WCS service address
        coverage - the WCS coverage name
        Throws:
        java.lang.IllegalArgumentException - If any argument is null or if the number of levels is less than 0
      • Wcs201ElevationCoverage

        public Wcs201ElevationCoverage​(java.lang.String serviceAddress,
                                       java.lang.String coverage)
        Attempts to construct a Web Coverage Service (WCS) elevation coverage with the provided service address and coverage id. This constructor initiates an asynchronous request for the DescribeCoverage document and then uses the information provided to determine a suitable Sector and level count. If the coverage id doesn't match the available coverages or there is another error, no data will be provided and the error will be logged.
        Parameters:
        serviceAddress - the WCS service address
        coverage - the WCS coverage name
        Throws:
        java.lang.IllegalArgumentException - If any argument is null