Interface ILcdEarthTileSetCoverageCodec

All Known Implementing Classes:
TLcdEarthTileSetCoverageCodec

public interface ILcdEarthTileSetCoverageCodec
Encodes and decodes ILcdEarthTileSetCoverage instances in a TLcdEarthTileRepository.
Since:
8.2
  • Method Details

    • decodeTileSetCoverage

      ILcdEarthTileSetCoverage decodeTileSetCoverage(InputStream aSource) throws IOException
      Decodes a coverage from the given input stream.
      Parameters:
      aSource - the input stream from which to decode the coverage
      Returns:
      the decoded coverage
      Throws:
      IOException - if the coverage cannot be decoded
    • encodeTileSetCoverageAs

      void encodeTileSetCoverageAs(ILcdEarthTileSetCoverage aCoverage, String aTargetName, ILcdGeoReference aTargetReference, ILcdEarthTileSet aRepository, TLcdEarthTileFormat aFormat, OutputStream aDestination) throws IOException
      Encodes the specified coverage to the given output stream.
      Parameters:
      aCoverage - the coverage that is being encoded
      aTargetName - the name of the new coverage
      aTargetReference - the georeference into which the coverage is encoded
      aRepository - describes the tiling structure of the encoded coverage
      aFormat - the format of the encoded tiles
      aDestination - the output stream to which to encode the coverage @throws IOException if the coverage cannot be encoded @throws java.io.IOException if the coverage cannot be encoded
      Throws:
      IOException - if the coverage cannot be encoded