Package com.luciad.format.bci
Class TLcdBCIRasterModelDescriptor
java.lang.Object
com.luciad.model.TLcdModelDescriptor
com.luciad.format.raster.TLcdRasterModelDescriptor
com.luciad.format.bci.TLcdBCIRasterModelDescriptor
- All Implemented Interfaces:
ILcdImageModelDescriptor,ILcdModelDescriptor,Serializable
public class TLcdBCIRasterModelDescriptor
extends TLcdRasterModelDescriptor
implements ILcdImageModelDescriptor
This
TLcdRasterModelDescriptor contains additional information
about BCI rasters.- Since:
- 7.0.17
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intA color coded raster.static final intA digital elevation map.static final intA digital elevation map with vector heights.static final intA digitalized map, indicating a raster or satellite photo.static final intA digitalized thematic map.static final intA matrix with codes.static final intA matrix with values.static final intMixed data structures.static final intA monochrome raster.static final intA multi band raster (RGB or YCbCr or other multi band imagery).static final intConfidential.static final intRestricted.static final intSecret.static final intTop secret.static final intUnclassified.static final intUnknown map type.static final intVector (Level 0 Topology - Spaghetti).static final intVector (Level 1 Topology - Chain-node).static final intVector (Level 2 Topology - Planar graph).static final intVector (Level 3 Topology - Full topology). -
Constructor Summary
ConstructorsConstructorDescriptionTLcdBCIRasterModelDescriptor(String aSourceName, String aDisplayName) Creates a new TLcdBCIRasterModelDescriptor with the given source name and display name. -
Method Summary
Modifier and TypeMethodDescriptionReturns the address of the originating agency of the map.Returns the creation date of the map.Returns the map type.Returns the digest version of the map.Returns the downgrading date.Returns whether the agency's determination is required for downgrading.Returns the free text message.String[]Returns the legend of the thematic color map.intReturns the type of the map.Returns the version of the data format.getName()Returns the name of the map.Returns the originating agency of the map.Returns the creation dates of the map in paper version.Returns the publication date of the DIGEST version.Returns the releasability of the map.intgetScale()Returns the scale of the map.intReturns the security classification.intReturns the type of the data structure.booleanReturns whether the BCI raster map is an elevation map.voidsetAddress(String aAddress) Sets the address of the originating agency of the map.voidsetCreationDate(String aCreationDate) Sets the creation date of the map.voidsetDataType(String aDataType) Sets the map type.voidsetDigestVersion(String aDigestVersion) Sets the DIGEST version of the map.voidsetDowngradingDate(String aDowngradingDate) Sets the downgrading date.voidsetDowngradingPermission(String aDowngradingPermission) Sets whether the agency's determination is required for downgrading.voidsetFreeText(String aFreeText) Sets a free text message.voidSets the legend of the thematic color map, in case of a digitized thematic map.voidsetMapType(int aMapType) Sets the type of the map.voidsetMapVersion(String aMapVersion) Sets the version of the data format.voidSets the name of the map.voidsetOriginator(String aOriginator) Sets the originating agency of the map.voidsetPaperDates(String aPaperDates) Sets the creation dates of the map in paper version.voidsetPublicationDate(String aPublicationDate) Sets the publication date of the DIGEST version.voidsetReleasability(String aReleasability) Sets the releasability of the map.voidsetScale(int aScale) Sets the scale of the map.voidsetSecurityCode(int aSecurityCode) Sets the security classification.voidsetTypeCode(int aTypeCode) Sets the type of the data structure.Methods inherited from class com.luciad.format.raster.TLcdRasterModelDescriptor
setElevationMethods inherited from class com.luciad.model.TLcdModelDescriptor
getDisplayName, getSourceName, getTypeName, setDisplayName, setSourceName, setTypeName, sourceNameToDisplayNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.luciad.model.ILcdModelDescriptor
getDisplayName, getSourceName, getTypeName
-
Field Details
-
UNKNOWN_MAP_TYPE
public static final int UNKNOWN_MAP_TYPEUnknown map type.- See Also:
-
DIGITALIZED_MAP
public static final int DIGITALIZED_MAPA digitalized map, indicating a raster or satellite photo.- See Also:
-
DIGITAL_ELEVATION_MAP
public static final int DIGITAL_ELEVATION_MAPA digital elevation map.- See Also:
-
DIGITAL_ELEVATION_VECTOR_HEIGHT_MAP
public static final int DIGITAL_ELEVATION_VECTOR_HEIGHT_MAPA digital elevation map with vector heights. Not applicable for this decoder, which decodes the BCI raster format.- See Also:
-
DIGITALIZED_THEMATIC_MAP
public static final int DIGITALIZED_THEMATIC_MAPA digitalized thematic map.- See Also:
-
MONOCHROME_RASTER
public static final int MONOCHROME_RASTERA monochrome raster.- See Also:
-
MATRIX_VALUES
public static final int MATRIX_VALUESA matrix with values.- See Also:
-
MATRIX_CODES
public static final int MATRIX_CODESA matrix with codes.- See Also:
-
MULTIBAND_RASTER
public static final int MULTIBAND_RASTERA multi band raster (RGB or YCbCr or other multi band imagery).- See Also:
-
COLOUR_CODED_RASTER
public static final int COLOUR_CODED_RASTERA color coded raster.- See Also:
-
VECTOR_LEVEL_0
public static final int VECTOR_LEVEL_0Vector (Level 0 Topology - Spaghetti). Not applicable for this decoder, which decodes the BCI raster format.- See Also:
-
VECTOR_LEVEL_1
public static final int VECTOR_LEVEL_1Vector (Level 1 Topology - Chain-node). Not applicable for this decoder, which decodes the BCI raster format.- See Also:
-
VECTOR_LEVEL_2
public static final int VECTOR_LEVEL_2Vector (Level 2 Topology - Planar graph). Not applicable for this decoder, which decodes the BCI raster format.- See Also:
-
VECTOR_LEVEL_3
public static final int VECTOR_LEVEL_3Vector (Level 3 Topology - Full topology). Not applicable for this decoder, which decodes the BCI raster format.- See Also:
-
MIXED_DATA_STRUCTURES
public static final int MIXED_DATA_STRUCTURESMixed data structures.- See Also:
-
SECURITY_TOP_SECRET
public static final int SECURITY_TOP_SECRETTop secret.- See Also:
-
SECURITY_SECRET
public static final int SECURITY_SECRETSecret.- See Also:
-
SECURITY_CONFIDENTIAL
public static final int SECURITY_CONFIDENTIALConfidential.- See Also:
-
SECURITY_RESTRICTED
public static final int SECURITY_RESTRICTEDRestricted.- See Also:
-
SECURITY_UNCLASSIFIED
public static final int SECURITY_UNCLASSIFIEDUnclassified.- See Also:
-
-
Constructor Details
-
TLcdBCIRasterModelDescriptor
Creates a new TLcdBCIRasterModelDescriptor with the given source name and display name. The type name is automatically set toBCI.- Parameters:
aSourceName- the name of the data source.aDisplayName- the display name of the data source.
-
-
Method Details
-
getMapVersion
Returns the version of the data format.- Returns:
- the version of the data format.
-
setMapVersion
Sets the version of the data format.- Parameters:
aMapVersion- the version of the data format.
-
getName
Returns the name of the map.- Returns:
- the name of the map.
-
setName
Sets the name of the map.- Parameters:
aName- the name of the map.
-
getOriginator
Returns the originating agency of the map.- Returns:
- the originating agency of the map.
-
setOriginator
Sets the originating agency of the map.- Parameters:
aOriginator- the originating agency of the map.
-
getAddress
Returns the address of the originating agency of the map.- Returns:
- the address of the originating agency of the map.
-
setAddress
Sets the address of the originating agency of the map.- Parameters:
aAddress- the address of the originating agency of the map.
-
getTypeCode
public int getTypeCode()Returns the type of the data structure.- Returns:
MONOCHROME_RASTER,MATRIX_VALUES,MATRIX_CODES,MULTIBAND_RASTER,COLOUR_CODED_RASTER,VECTOR_LEVEL_0,VECTOR_LEVEL_1,VECTOR_LEVEL_2,VECTOR_LEVEL_3, orMIXED_DATA_STRUCTURES.
-
setTypeCode
public void setTypeCode(int aTypeCode) Sets the type of the data structure.- Parameters:
aTypeCode-MONOCHROME_RASTER,MATRIX_VALUES,MATRIX_CODES,MULTIBAND_RASTER,COLOUR_CODED_RASTER,VECTOR_LEVEL_0,VECTOR_LEVEL_1,VECTOR_LEVEL_2,VECTOR_LEVEL_3, orMIXED_DATA_STRUCTURES.
-
getSecurityCode
public int getSecurityCode()Returns the security classification.- Returns:
SECURITY_UNCLASSIFIED,SECURITY_RESTRICTED,SECURITY_CONFIDENTIAL,SECURITY_SECRET, orSECURITY_TOP_SECRET.
-
setSecurityCode
public void setSecurityCode(int aSecurityCode) Sets the security classification.- Parameters:
aSecurityCode-SECURITY_UNCLASSIFIED,SECURITY_RESTRICTED,SECURITY_CONFIDENTIAL,SECURITY_SECRET, orSECURITY_TOP_SECRET.
-
getDowngradingPermission
Returns whether the agency's determination is required for downgrading.- Returns:
- whether the agency's determination is required for downgrading.
-
setDowngradingPermission
Sets whether the agency's determination is required for downgrading.- Parameters:
aDowngradingPermission- whether the agency's determination is required for downgrading.
-
getDowngradingDate
Returns the downgrading date.- Returns:
- the downgrading date.
-
setDowngradingDate
Sets the downgrading date.- Parameters:
aDowngradingDate- the downgrading date.
-
getReleasability
Returns the releasability of the map.- Returns:
- the releasability of the map.
-
setReleasability
Sets the releasability of the map.- Parameters:
aReleasability- the releasability of the map.
-
getDigestVersion
Returns the digest version of the map.- Returns:
- the digest version of the map.
-
setDigestVersion
Sets the DIGEST version of the map.- Parameters:
aDigestVersion- the DIGEST version of the map.
-
getPublicationDate
Returns the publication date of the DIGEST version.- Returns:
- the publication date of the DIGEST version.
-
setPublicationDate
Sets the publication date of the DIGEST version.- Parameters:
aPublicationDate- the publication date of the DIGEST version.
-
getDataType
Returns the map type.- Returns:
- if defined,
MAP,GEO, orDIG.
-
setDataType
Sets the map type.- Parameters:
aDataType-MAP,GEO, orDIG.
-
getScale
public int getScale()Returns the scale of the map. The scale value is purely informational and must be interpreted as1 / scale_value.- Returns:
- the scale of the map.
-
setScale
public void setScale(int aScale) Sets the scale of the map.- Parameters:
aScale- the scale of the map.
-
getMapType
public int getMapType()Returns the type of the map.- Returns:
UNKNOWN_MAP_TYPE,DIGITALIZED_MAP,DIGITAL_ELEVATION_MAP,DIGITAL_ELEVATION_VECTOR_HEIGHT_MAP, orDIGITALIZED_THEMATIC_MAP.
-
setMapType
public void setMapType(int aMapType) Sets the type of the map.- Parameters:
aMapType-UNKNOWN_MAP_TYPE,DIGITALIZED_MAP,DIGITAL_ELEVATION_MAP,DIGITAL_ELEVATION_VECTOR_HEIGHT_MAP, orDIGITALIZED_THEMATIC_MAP.
-
getLegend
Returns the legend of the thematic color map. A thematic color map and its legend are only defined when the map is of the type DIGITALIZED_THEMATIC_MAP (seegetMapType(). If available, the legend consists of an array of 256 String values. Each value corresponds to the description of the color in theIndexedColorModelof the BCI raster that has the same index. The color model can be retrieved throughALcdBandColorSemantics.getPalette().- Returns:
- the legend of the thematic color map, in case of a digitized thematic map.
-
setLegend
Sets the legend of the thematic color map, in case of a digitized thematic map.- Parameters:
aLegend- the legend of the thematic color map.
-
isElevation
public boolean isElevation()Returns whether the BCI raster map is an elevation map. This depends on the map type (seegetMapType()), which isDIGITAL_ELEVATION_MAPorDIGITAL_ELEVATION_VECTOR_HEIGHT_MAPin case of elevation data.- Overrides:
isElevationin classTLcdRasterModelDescriptor- Returns:
- true if the BCI raster map is an elevation map.
-
getPaperDates
Returns the creation dates of the map in paper version.- Returns:
- the creation dates of the map in paper version.
-
setPaperDates
Sets the creation dates of the map in paper version.- Parameters:
aPaperDates- the creation dates of the map in paper version.
-
getCreationDate
Returns the creation date of the map.- Returns:
- the creation date of the map.
-
setCreationDate
Sets the creation date of the map.- Parameters:
aCreationDate- the creation date of the map.
-
getFreeText
Returns the free text message.- Returns:
- the free text message.
-
setFreeText
Sets a free text message.- Parameters:
aFreeText- a free text message.
-