GMLUnitDefinition {geometa} | R Documentation |
GMLUnitDefinition
Description
GMLUnitDefinition
GMLUnitDefinition
Format
R6Class
object.
Value
Object of R6Class
for modelling an GML unit definition
Super classes
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> geometa::GMLAbstractObject
-> geometa::GMLAbstractGML
-> geometa::GMLDefinition
-> GMLUnitDefinition
Public fields
quantityTypeReference
quantityTypeReference [0..1]: character
catalogSymbol
catalogSymbol [0..1]: character
Methods
Public methods
Inherited methods
geometa::geometaLogger$ERROR()
geometa::geometaLogger$INFO()
geometa::geometaLogger$WARN()
geometa::ISOAbstractObject$addFieldAttrs()
geometa::ISOAbstractObject$addListElement()
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$validate()
geometa::ISOAbstractObject$wrapBaseElement()
geometa::GMLAbstractGML$addName()
geometa::GMLAbstractGML$delName()
geometa::GMLAbstractGML$setDescription()
geometa::GMLAbstractGML$setDescriptionReference()
geometa::GMLAbstractGML$setIdentifier()
geometa::GMLDefinition$addRemark()
geometa::GMLDefinition$delRemark()
Method new()
Initializes object
Usage
GMLUnitDefinition$new(xml = NULL, defaults = list(), id = NULL)
Arguments
xml
object of class XMLInternalNode-class
defaults
list of default values
id
id
Method setQuantityTypeReference()
Set quantity type reference. Content is reference to a remote value
Usage
GMLUnitDefinition$setQuantityTypeReference(quantityTypeReference)
Arguments
quantityTypeReference
quantity type reference
Method setCatalogSymbol()
Set catalog symbol
Usage
GMLUnitDefinition$setCatalogSymbol(catalogSymbol)
Arguments
catalogSymbol
catalog symbol, preferred lexical symbol used for this unit of measure
Method clone()
The objects of this class are cloneable with this method.
Usage
GMLUnitDefinition$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
References
ISO 19136:2007 Geographic Information – Geographic Markup Language. http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=32554
OGC Geography Markup Language. http://www.opengeospatial.org/standards/gml
Examples
gml <- GMLUnitDefinition$new()
gml$setDescriptionReference("someref")
gml$setIdentifier("identifier", "codespace")
gml$addName("name1", "codespace")
gml$addName("name2", "codespace")
gml$setQuantityTypeReference("someref")
gml$setCatalogSymbol("symbol")