Package com.luciad.format.raster
Class TLcdGeoTIFFModelDescriptor
java.lang.Object
com.luciad.model.TLcdModelDescriptor
com.luciad.format.raster.TLcdRasterModelDescriptor
com.luciad.format.raster.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 Summary
ConstructorDescriptionTLcdGeoTIFFModelDescriptor
(String aSourceName, String aDisplayName) Creates a new TLcdGeoTIFFModelDescriptor with the given source name and display name.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
(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
(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 Summary
Modifier and TypeMethodDescriptiongetGeoKey
(int aGeoKey) Returns the GeoKeys with the given GeoTIFF key.Returns the GeoKeys.getTIFFField
(int aTag) Returns the TIFF field with the given TIFF tag.Returns the TIFF fields.getTIFFFields
(int aTag) Deprecated.void
setElevation
(boolean aIsElevation) Sets whether the model contains elevation rasters.void
setTIFFFields
(TLcdGeoTIFFField[] aTIFFFields) Sets the TIFF fields.Methods inherited from class com.luciad.format.raster.TLcdRasterModelDescriptor
isElevation
Methods inherited from class com.luciad.model.TLcdModelDescriptor
getDisplayName, getSourceName, getTypeName, setDisplayName, setSourceName, setTypeName, sourceNameToDisplayName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.luciad.model.ILcdModelDescriptor
getDisplayName, getSourceName, getTypeName
-
Constructor Details
-
TLcdGeoTIFFModelDescriptor
Creates a new TLcdGeoTIFFModelDescriptor with the given source name and display name. The elevation flag isfalse
. -
TLcdGeoTIFFModelDescriptor
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 classTLcdRasterModelDescriptor
-
setTIFFFields
Sets the TIFF fields.- Parameters:
aTIFFFields
- the TIFF fields, identified by their tags.
-
getTIFFFields
Returns the TIFF fields.- Returns:
- the TIFF fields.
-
getTIFFFields
Deprecated.replaced bygetTIFFField(int)
.Returns the TIFF field with the given TIFF tag.- Returns:
- the specified TIFF field, or
null
if it isn't present.
-
getTIFFField
Returns the TIFF field with the given TIFF tag.- Returns:
- the specified TIFF field, or
null
if it isn't present.
-
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
Returns the GeoKeys with the given GeoTIFF key.- Returns:
- the specified GeoKey, or
null
if it isn't present. - See Also:
-
getTIFFField(int)
.