GMLBaseUnit: GMLBaseUnit

GMLBaseUnitR Documentation

GMLBaseUnit

Description

GMLBaseUnit

GMLBaseUnit

Format

R6Class object.

Value

Object of R6Class for modelling an GML base unit

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> geometa::GMLAbstractObject -> geometa::GMLAbstractGML -> geometa::GMLDefinition -> geometa::GMLUnitDefinition -> GMLBaseUnit

Public fields

unitsSystem

unitsSystem [1..1]: character

Methods

Public methods

Inherited methods

Method new()

Initializes object

Usage
GMLBaseUnit$new(xml = NULL, defaults = list(), id = NULL)
Arguments
xml

object of class XMLInternalNode-class

defaults

list of default values

id

id


Method setUnitsSystem()

Set unit system

Usage
GMLBaseUnit$setUnitsSystem(unitsSystem)
Arguments
unitsSystem

units system


Method clone()

The objects of this class are cloneable with this method.

Usage
GMLBaseUnit$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 <- GMLBaseUnit$new()
  gml$setDescriptionReference("someref")
  gml$setIdentifier("identifier", "codespace")
  gml$addName("name1", "codespace")
  gml$addName("name2", "codespace")
  gml$setQuantityTypeReference("someref")
  gml$setCatalogSymbol("symbol")
  gml$setUnitsSystem("somelink")


geometa documentation built on May 29, 2024, 10:31 a.m.