Interface ILcdWCSCoverageTileDecoder

All Known Implementing Classes:
TLcdWCSGeoTiffCoverageTileDecoder

public interface ILcdWCSCoverageTileDecoder
Deprecated.
Extend ALcdWCSCoverageDecoder instead.
A decoder for WCS coverage responses that decodes them as ILcdTile. This decoder is deprecated because it uses the deprecated raster API. You're encouraged to extend ALcdWCSCoverageDecoder instead, which uses the imaging API.
Since:
8.2
  • Method Details

    • canDecodeCoverage

      boolean canDecodeCoverage(String aOutputFormat)
      Deprecated.
      Determines if this decoder can decode coverages that are provided in the specified output format. The value of output format is the value that will be sent to the WCS in the GetCoverage request.
      Parameters:
      aOutputFormat - the output format
      Returns:
      true if the specified output format is supported; false otherwise
    • decodeCoverage

      ILcdTile decodeCoverage(String aOutputFormat, String aContentType, InputStream aInputStream, TLcdWCSGetCoverageRequest aRequest) throws IOException
      Deprecated.
      Decodes a coverage response to a tile.
      Parameters:
      aOutputFormat - the output format that was used in the GetCoverage request
      aContentType - the mime-type of the returned data. This value is optional and may be null or an empty string
      aInputStream - an inputstream containing the response data
      aRequest - the GetCoverage request
      Returns:
      a tile containing the decoded coverage data
      Throws:
      IOException - if an error occurs while processing the response data