Class TLcdGeoTIFFModelDescriptor

All Implemented Interfaces:
ILcdImageModelDescriptor, ILcdModelDescriptor, Serializable

public class TLcdGeoTIFFModelDescriptor extends TLcdRasterModelDescriptor implements ILcdImageModelDescriptor
A TLcdRasterModelDescriptor for models containing GeoTIFF data. These rasters may be marked as elevation data or not.
See Also:
  • Constructor Details

    • TLcdGeoTIFFModelDescriptor

      public TLcdGeoTIFFModelDescriptor(String aSourceName, String aDisplayName)
      Creates a new TLcdGeoTIFFModelDescriptor with the given source name and display name. The elevation flag is false.
    • TLcdGeoTIFFModelDescriptor

      public TLcdGeoTIFFModelDescriptor(String aSourceName, String aDisplayName, boolean aIsElevation)
      Creates a new TLcdGeoTIFFModelDescriptor with the given source name and display name, and the given elevation flag.
    • TLcdGeoTIFFModelDescriptor

      public TLcdGeoTIFFModelDescriptor(String aSourceName, String aDisplayName, boolean aIsElevation, TLcdGeoTIFFField[] aTIFFFields)
      Creates a new TLcdGeoTIFFModelDescriptor with the given source name and display name, and the given elevation flag and TIFF fields.
    • TLcdGeoTIFFModelDescriptor

      public TLcdGeoTIFFModelDescriptor(String aSourceName, String aDisplayName, boolean aIsElevation, TLcdGeoTIFFField[] aTIFFFields, TLcdGeoTIFFField[] aGeoKeys)
      Creates a new TLcdGeoTIFFModelDescriptor with the given source name and display name, and the given elevation flag and TIFF fields.
  • Method Details

    • setElevation

      public void setElevation(boolean aIsElevation)
      Sets whether the model contains elevation rasters.
      Overrides:
      setElevation in class TLcdRasterModelDescriptor
    • setTIFFFields

      public void setTIFFFields(TLcdGeoTIFFField[] aTIFFFields)
      Sets the TIFF fields.
      Parameters:
      aTIFFFields - the TIFF fields, identified by their tags.
    • getTIFFFields

      public TLcdGeoTIFFField[] getTIFFFields()
      Returns the TIFF fields.
      Returns:
      the TIFF fields.
    • getTIFFFields

      public TLcdGeoTIFFField getTIFFFields(int aTag)
      Deprecated.
      replaced by getTIFFField(int).
      Returns the TIFF field with the given TIFF tag.
      Returns:
      the specified TIFF field, or null if it isn't present.
    • getTIFFField

      public TLcdGeoTIFFField getTIFFField(int aTag)
      Returns the TIFF field with the given TIFF tag.
      Returns:
      the specified TIFF field, or null if it isn't present.
    • getGeoKeys

      public TLcdGeoTIFFField[] getGeoKeys()
      Returns the GeoKeys. GeoKeys are the GeoTIFF specific key/value pairs that are encoded in the GeoKeyDirectoryTag, GeoDoubleParamsTag and GeoDoubleParamsTag TIFF tags.
      Returns:
      the GeoKeys.
    • getGeoKey

      public TLcdGeoTIFFField getGeoKey(int aGeoKey)
      Returns the GeoKeys with the given GeoTIFF key.
      Returns:
      the specified GeoKey, or null if it isn't present.
      See Also: