ISOImageDescription
ISOImageDescription
R6Class
object.
Object of R6Class
for modelling an ISOImageDescription
- ISO 19139 https://schemas.isotc211.org/19139/-/gmd/1.0/gmd/#element_MD_ImageDescription
- ISO 19115-3 https://schemas.isotc211.org/19115/-3/mrc/1.0/mrc/#element_MD_ImageDescription
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> geometa::ISOAbstractContentInformation
-> geometa::ISOCoverageDescription
-> ISOImageDescription
illuminationElevationAngle
illuminationElevationAngle [0..1]
illuminationAzimuthAngle
illuminationAzimuthAngle [0..1]
imagingCondition
imagingCondition [0..1]
imageQualityCode
imageQualityCode [0..1]
cloudCoverPercentage
cloudCoverPercentage [0..1]
processingLevelCode
processingLevelCode [0..1]
compressionGenerationQuantity
compressionGenerationQuantity [0..1]
triangulationIndicator
triangulationIndicator [0..1]
radiometricCalibrationDataAvailability
radiometricCalibrationDataAvailability [0..1]
cameraCalibrationInformationAvailability
cameraCalibrationInformationAvailability [0..1]
filmDistortionInformationAvailability
filmDistortionInformationAvailability [0..1]
lensDistortionInformationAvailability
lensDistortionInformationAvailability [0..1]
Inherited methods
geometa::geometaLogger$ERROR()
geometa::geometaLogger$INFO()
geometa::geometaLogger$WARN()
geometa::ISOAbstractObject$addFieldAttrs()
geometa::ISOAbstractObject$addListElement()
geometa::ISOAbstractObject$checkMetadataStandardCompliance()
geometa::ISOAbstractObject$contains()
geometa::ISOAbstractObject$createLocalisedProperty()
geometa::ISOAbstractObject$decode()
geometa::ISOAbstractObject$delListElement()
geometa::ISOAbstractObject$encode()
geometa::ISOAbstractObject$getClass()
geometa::ISOAbstractObject$getClassName()
geometa::ISOAbstractObject$getNamespaceDefinition()
geometa::ISOAbstractObject$isDocument()
geometa::ISOAbstractObject$isFieldInheritedFrom()
geometa::ISOAbstractObject$print()
geometa::ISOAbstractObject$save()
geometa::ISOAbstractObject$setAttr()
geometa::ISOAbstractObject$setCodeList()
geometa::ISOAbstractObject$setCodeListValue()
geometa::ISOAbstractObject$setCodeSpace()
geometa::ISOAbstractObject$setHref()
geometa::ISOAbstractObject$setId()
geometa::ISOAbstractObject$setIsNull()
geometa::ISOAbstractObject$setValue()
geometa::ISOAbstractObject$stopIfMetadataStandardIsNot()
geometa::ISOAbstractObject$validate()
geometa::ISOAbstractObject$wrapBaseElement()
geometa::ISOCoverageDescription$addDimension()
geometa::ISOCoverageDescription$delDimension()
geometa::ISOCoverageDescription$setAttributeDescription()
geometa::ISOCoverageDescription$setContentType()
setIlluminationElevationAngle()
Set illumination elevation angle
illuminationElevationAngle
object of class numeric
setIlluminationAzimuthAngle()
Set illumination azimuth angle
illuminationAzimuthAngle
object of class numeric
setImagingCondition()
Set imaging condition
imagingCondition
object of class ISOImagingCondition or character
among values returned by ISOImagingCondition$values()
setImageQualityCode()
Set image quality code
code
object of class ISOMetaIdentifier
setCloudCoverPercentage()
Set cloud cover percentage
cloudCoverPercentage
object of class numeric
setProcessingLevelCode()
Set processing level code
code
object of class ISOMetaIdentifier
setCompressionGenerationQuantity()
Set compression generation quantity
quantity
object of class integer
setTriangulationIndicator()
Set triangulation indicator
triangulationIndicator
object of class logical
setRadiometricCalibrationDataAvailability()
Set radiometric calibration data availability
ISOImageDescription$setRadiometricCalibrationDataAvailability(
radiometricCalibrationDataAvailability
)
radiometricCalibrationDataAvailability
object of class logical
setCameraCalibrationInformationAvailability()
Set camera calibration information availability
ISOImageDescription$setCameraCalibrationInformationAvailability(
cameraCalibrationInformationAvailability
)
cameraCalibrationInformationAvailability
object of class logical
setFilmDistortionInformationAvailability()
Set film distortion information availability
ISOImageDescription$setFilmDistortionInformationAvailability(
filmDistortionInformationAvailability
)
filmDistortionInformationAvailability
object of class logical
setLensDistortionInformationAvailability()
Set lens distortion information availability
ISOImageDescription$setLensDistortionInformationAvailability(
lensDistortionInformationAvailability
)
lensDistortionInformationAvailability
object of class logical
#create image description
md <- ISOImageDescription$new()
md$setAttributeDescription("test")
md$setContentType("modelResult")
#adding 3 arbitrary dimensions
for(i in 1:3){
band <- ISOBand$new()
mn <- ISOMemberName$new(aName = sprintf("name %s",i), attributeType = sprintf("type %s",i))
band$setSequenceIdentifier(mn)
band$setDescriptor("descriptor")
band$setMaxValue(10)
band$setMinValue(1)
gml <- GMLBaseUnit$new(id = sprintf("ID%s",i))
gml$setDescriptionReference("someref")
gml$setIdentifier("identifier", "codespace")
gml$addName("name1", "codespace")
gml$addName("name2", "codespace")
gml$setQuantityTypeReference("someref")
gml$setCatalogSymbol("symbol")
gml$setUnitsSystem("somelink")
band$setUnits(gml)
band$setPeakResponse(9)
band$setBitsPerValue(5)
band$setToneGradation(100)
band$setScaleFactor(1)
band$setOffset(4)
md$addDimension(band)
}
md$setIlluminationElevationAngle(15)
md$setIlluminationAzimuthAngle(10)
md$setImagingCondition("rain")
md$setImageQualityCode("bad")
md$setCloudCoverPercentage(90)
md$setProcessingLevelCode("high")
md$setCompressionGenerationQuantity(1L)
md$setTriangulationIndicator(FALSE)
md$setRadiometricCalibrationDataAvailability(FALSE)
md$setCameraCalibrationInformationAvailability(FALSE)
md$setFilmDistortionInformationAvailability(FALSE)
md$setLensDistortionInformationAvailability(FALSE)
xml <- md$encode()
#> [geometa][INFO] Object 'ISOImageDescription' is VALID according to ISO 19139 XML schemas!