GMLDefinition

GMLDefinition

Format

R6Class object.

Value

Object of R6Class for modelling an GML definition

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

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Public fields

remarks

remarks [0..*]: character

Methods

Inherited methods


Method new()

Initializes object

Usage

GMLDefinition$new(xml = NULL, defaults = list())

Arguments

xml

object of class XMLInternalNode-class

defaults

default values


Method addRemark()

Adds remark

Usage

GMLDefinition$addRemark(remark)

Arguments

remark

remark

Returns

TRUE if added, FALSE otherwise


Method delRemark()

Deletes remark

Usage

GMLDefinition$delRemark(remark)

Arguments

remark

remark

Returns

TRUE if deleted, FALSE otherwise


Method clone()

The objects of this class are cloneable with this method.

Usage

GMLDefinition$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

  gml <- GMLDefinition$new()
  gml$setDescriptionReference("someref")
  gml$setIdentifier("identifier", "codespace")
  gml$addName("name1", "codespace")
#> [1] TRUE
  gml$addName("name2", "codespace")
#> [1] TRUE