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
Modifier and TypeFieldDescriptionstatic final int
A color coded raster.static final int
A digital elevation map.static final int
A digital elevation map with vector heights.static final int
A digitalized map, indicating a raster or satellite photo.static final int
A digitalized thematic map.static final int
A matrix with codes.static final int
A matrix with values.static final int
Mixed data structures.static final int
A monochrome raster.static final int
A multi band raster (RGB or YCbCr or other multi band imagery).static final int
Confidential.static final int
Restricted.static final int
Secret.static final int
Top secret.static final int
Unclassified.static final int
Unknown map type.static final int
Vector (Level 0 Topology - Spaghetti).static final int
Vector (Level 1 Topology - Chain-node).static final int
Vector (Level 2 Topology - Planar graph).static final int
Vector (Level 3 Topology - Full topology). -
Constructor Summary
ConstructorDescriptionTLcdBCIRasterModelDescriptor
(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.int
Returns 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.int
getScale()
Returns the scale of the map.int
Returns the security classification.int
Returns the type of the data structure.boolean
Returns whether the BCI raster map is an elevation map.void
setAddress
(String aAddress) Sets the address of the originating agency of the map.void
setCreationDate
(String aCreationDate) Sets the creation date of the map.void
setDataType
(String aDataType) Sets the map type.void
setDigestVersion
(String aDigestVersion) Sets the DIGEST version of the map.void
setDowngradingDate
(String aDowngradingDate) Sets the downgrading date.void
setDowngradingPermission
(String aDowngradingPermission) Sets whether the agency's determination is required for downgrading.void
setFreeText
(String aFreeText) Sets a free text message.void
Sets the legend of the thematic color map, in case of a digitized thematic map.void
setMapType
(int aMapType) Sets the type of the map.void
setMapVersion
(String aMapVersion) Sets the version of the data format.void
Sets the name of the map.void
setOriginator
(String aOriginator) Sets the originating agency of the map.void
setPaperDates
(String aPaperDates) Sets the creation dates of the map in paper version.void
setPublicationDate
(String aPublicationDate) Sets the publication date of the DIGEST version.void
setReleasability
(String aReleasability) Sets the releasability of the map.void
setScale
(int aScale) Sets the scale of the map.void
setSecurityCode
(int aSecurityCode) Sets the security classification.void
setTypeCode
(int aTypeCode) Sets the type of the data structure.Methods inherited from class com.luciad.format.raster.TLcdRasterModelDescriptor
setElevation
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
-
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 theIndexedColorModel
of 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_MAP
orDIGITAL_ELEVATION_VECTOR_HEIGHT_MAP
in case of elevation data.- Overrides:
isElevation
in 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.
-