GMLParameterValue

GMLParameterValue

Format

R6Class object.

Value

Object of R6Class for modelling an GML parameter value

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

value

value

stringValue

string value

integerValue

integer value

booleanValue

boolean value

valueList

value list

integerValueList

integer value list

valueFile

value file

operationParameter

operation parameter

Methods

Inherited methods


Method new()

Initializes object

Usage

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

Arguments

xml

object of class XMLInternalNode-class

defaults

default values


Method setValue()

Set value

Usage

GMLParameterValue$setValue(value, uom)

Arguments

value

value, object of class numeric

uom

uom


Method setStringValue()

Set string value

Usage

GMLParameterValue$setStringValue(value)

Arguments

value

value


Method setIntegerValue()

Set integer value

Usage

GMLParameterValue$setIntegerValue(value)

Arguments

value

value, object of class integer


Method setBooleanValue()

Set boolean value

Usage

GMLParameterValue$setBooleanValue(value)

Arguments

value

object of class logical


Method setValueFile()

Set value file

Usage

GMLParameterValue$setValueFile(value)

Arguments

value

value


Method setOperationParameter()

Set operation parameter

Usage

GMLParameterValue$setOperationParameter(operationParameter)

Arguments

operationParameter

object of class GMLOperationParameter


Method clone()

The objects of this class are cloneable with this method.

Usage

GMLParameterValue$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

  gml <- GMLParameterValue$new()
  gml$setValue(1.1, "test")
  op <- GMLOperationParameter$new()
  op$setDescriptionReference("someref")
  op$setIdentifier("identifier", "codespace")
  op$addName("name1", "codespace")
#> [1] TRUE
  op$addName("name2", "codespace")
#> [1] TRUE
  op$setMinimumOccurs(2L)
  gml$setOperationParameter(op)
  xml <- gml$encode()
#> [geometa][INFO] Object 'GMLParameterValue' is VALID according to ISO 19139 XML schemas!