Learn R Programming

geometa (version 0.6-2)

GMLParameterValue: GMLParameterValue

Description

GMLParameterValue

Usage

GMLParameterValue

Arguments

Value

Object of R6Class for modelling an GML parameter value

Format

R6Class object.

Fields

value

[GMLElement]

operationParameter

[GMLOperationParameter]

Methods

new(xml, defaults)

This method is used to instantiate a GML ParameterValue

setValue(value,uom)

Sets the value (object of class "numeric"), with unit of measure (uom)

setStringValue(value)

Sets a string value

setIntegerValue(value)

Sets an integer value

setBooleanValue(value)

Sets a boolean value

setValueFile(value)

Sets a file value

setOperationParameter(operationParameter)

Sets the operation parameter, object of class GMLOperationParameter

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 <- GMLParameterValue$new()
  gml$setValue(1.1, "test")
  op <- GMLOperationParameter$new()
  op$setDescriptionReference("someref")
  op$setIdentifier("identifier", "codespace")
  op$addName("name1", "codespace")
  op$addName("name2", "codespace")
  op$setMinimumOccurs(2L)
  gml$setOperationParameter(op)
  xml <- gml$encode()

# }

Run the code above in your browser using DataLab