ISOFeatureAttribute
ISOFeatureAttribute
R6Class
object.
Object of R6Class
for modelling an ISOFeatureAttribute
ISO 19110:2005 Methodology for Feature cataloguing
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> geometa::ISOAbstractCarrierOfCharacteristics
-> geometa::ISOAbstractPropertyType
-> geometa::ISOPropertyType
-> ISOFeatureAttribute
code
code [0..1]: character
valueMeasurementUnit
valueMeasurementUnit [0..1]: GMLUnitDefinition
valueType
valueType [0..1]: ISOTypeName
listedValue
listedValue [0..*]: ISOListedValue
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::ISOAbstractCarrierOfCharacteristics$addConstraint()
geometa::ISOAbstractCarrierOfCharacteristics$delConstraint()
geometa::ISOAbstractCarrierOfCharacteristics$setFeatureType()
geometa::ISOAbstractPropertyType$setCardinality()
geometa::ISOAbstractPropertyType$setDefinition()
geometa::ISOAbstractPropertyType$setDefinitionReference()
geometa::ISOAbstractPropertyType$setFeatureCatalogue()
geometa::ISOAbstractPropertyType$setMemberName()
setValueMeasurementUnit()
Set value measurement unit
uom
uom, object of class GMLUnitDefinition
md <- ISOFeatureAttribute$new()
md$setMemberName("name")
md$setDefinition("definition")
md$setCardinality(lower=1,upper=1)
md$setCode("code")
gml <- GMLBaseUnit$new(id = "ID")
gml$setDescriptionReference("someref")
gml$setIdentifier("identifier", "codespace")
gml$addName("name1", "codespace")
#> [1] TRUE
gml$addName("name2", "codespace")
#> [1] TRUE
gml$setQuantityTypeReference("someref")
gml$setCatalogSymbol("symbol")
gml$setUnitsSystem("somelink")
md$setValueMeasurementUnit(gml)
val1 <- ISOListedValue$new()
val1$setCode("code1")
val1$setLabel("label1")
val1$setDefinition("definition1")
md$addListedValue(val1)
#> [1] TRUE
val2 <- ISOListedValue$new()
val2$setCode("code2")
val2$setLabel("label2")
val2$setDefinition("definition2")
md$addListedValue(val2)
#> [1] TRUE
md$setValueType("typeName")