Learn R Programming

geometa (version 0.7)

ISOResolution: ISOResolution

Description

ISOResolution

Arguments

Value

Object of R6Class for modelling an ISO Resolution

Format

R6Class object.

Fields

equivalentScale

[ISORepresentativeFraction] equivalent scale

distance

[ISODistance] distance

Methods

new(xml, defaults)

This method is used to instantiate an ISOResolution

setEquivalentScale(equivalentScale)

Set equivalent scale. By setting an equivalent scale, the value of field 'distance' will be set to NULL.

setDistance(distance)

Set distance. By setting a distance, the value of field 'equivalentScale' will be set to NULL.

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

References

ISO 19115:2003 - Geographic information -- Metadata

Examples

Run this code
  md <- ISOResolution$new()
  md$setDistance(ISODistance$new(value = 1, uom = "m", useUomURI = TRUE))
  xml <- md$encode()

Run the code above in your browser using DataLab