Learn R Programming

geometa (version 0.6-2)

GMLBaseUnit: GMLBaseUnit

Description

GMLBaseUnit

Usage

GMLBaseUnit

Arguments

Value

Object of R6Class for modelling an GML base unit

Format

R6Class object.

Fields

unitsSystem

Methods

new(xml, defaults, id)

This method is used to instantiate a GML Base Unit

setUnitsSystem(unitsSystem)

Set the unit system

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

Run this code
# NOT RUN {
  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")

# }

Run the code above in your browser using DataLab