ISOQuantitativeResult

ISOQuantitativeResult

Format

R6Class object.

Value

Object of R6Class for modelling an ISO QuantitativeResult

References

ISO 19115:2003 - Geographic information – Metadata

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Public fields

valueType

valueType [0..1]- ISORecord

valueUnit

valueUnit [1..1]- GMLUnitDefinition

errorStatistic

errorStatistic [0..1]

value

value [1..*]

Methods

Inherited methods


Method new()

Initializes object

Usage

ISOQuantitativeResult$new(xml = NULL)

Arguments

xml

object of class XMLInternalNode-class


Method setValueType()

Set value type

Usage

ISOQuantitativeResult$setValueType(valueType)

Arguments

valueType

object of class ISORecordType or character


Method setValueUnit()

Set value unit

Usage

ISOQuantitativeResult$setValueUnit(valueUnit)

Arguments

valueUnit

object of class inheriting GMLUnitDefinition


Method setErrorStatistic()

Set error statistic

Usage

ISOQuantitativeResult$setErrorStatistic(errorStatistic)

Arguments

errorStatistic

error statistic


Method addValue()

Adds value

Usage

ISOQuantitativeResult$addValue(value)

Arguments

value

object of class ISORecord or character

Returns

TRUE if added, FALSE otherwise


Method delValue()

Deletes value

Usage

ISOQuantitativeResult$delValue(value)

Arguments

value

object of class ISORecord or character

Returns

TRUE if delete, FALSE otherwise


Method clone()

The objects of this class are cloneable with this method.

Usage

ISOQuantitativeResult$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

 md <- ISOQuantitativeResult$new()
 xml <- md$encode()
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmd}DQ_QuantitativeResult': Missing child element(s). Expected is one of ( {http://www.isotc211.org/2005/gmd}errorStatistic, {http://www.isotc211.org/2005/gmd}value ) at line 1. 
#> [geometa][WARN] Object 'ISOQuantitativeResult' is INVALID according to ISO 19139 XML schemas!