ISOFeatureAttribute
ISOFeatureAttribute
ISOFeatureAttribute class
R6Class
object.
Object of R6Class
for modelling an ISOFeatureAttribute
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") gml$addName("name2", "codespace") 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) val2 <- ISOListedValue$new() val2$setCode("code2") val2$setLabel("label2") val2$setDefinition("definition2") md$addListedValue(val2) md$setValueType("typeName")
ISO 19110:2005 Methodology for Feature cataloguing
Emmanuel Blondel emmanuel.blondel1@gmail.com
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
new()
Initializes object
ISOFeatureAttribute$new(xml = NULL)
xml
: object of class XMLInternalNode-class
setCode()
Set code
ISOFeatureAttribute$setCode(code, locales = NULL)
code
: code
locales
: list of localized codes. Default is NULL
setValueMeasurementUnit()
Set value measurement unit
ISOFeatureAttribute$setValueMeasurementUnit(uom)
uom
: uom, object of class GMLUnitDefinition (in ISO 19139) or ISOUomIdentifier / character (in ISO 19115-3)
setValueType()
Set type name
ISOFeatureAttribute$setValueType(typeName, locales = NULL)
typeName
: typeName
locales
: list of localized typeNames. Default is NULL
addListedValue()
Adds listed value
ISOFeatureAttribute$addListedValue(value)
value
: value, object of class ISOListedValue
TRUE
if added, FALSE
otherwise
delListedValue()
Deletes listed value
ISOFeatureAttribute$delListedValue(value)
value
: value, object of class ISOListedValue
TRUE
if deleted, FALSE
otherwise
clone()
The objects of this class are cloneable with this method.
ISOFeatureAttribute$clone(deep = FALSE)
deep
: Whether to make a deep clone.