ISOCoverageDescription
ISOCoverageDescription
R6Class
object.
Object of R6Class
for modelling an ISOCoverageDescription
- ISO 19139 https://schemas.isotc211.org/19139/-/gmd/1.0/gmd/#element_MD_CoverageDescription
- ISO 19115-3 https://schemas.isotc211.org/19115/-3/mrc/1.0/mrc/#element_MD_CoverageDescription
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> geometa::ISOAbstractContentInformation
-> ISOCoverageDescription
attributeDescription
attributeDescription: ISoRecordType
contentType
contentType: ISOCoverageContentType
dimension
dimension: ISORangeDimension
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()
setAttributeDescription()
Set attribute description
attributeDescription
attribute description, object of class ISORecordType or character
setContentType()
Set content type
contentType
contentType, object of class ISOCoverageContentType or character
#create coverage description
md <- ISOCoverageDescription$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)
}
xml <- md$encode()
#> [geometa][INFO] Object 'ISOCoverageDescription' is VALID according to ISO 19139 XML schemas!