Learn R Programming

geometa (version 0.6-2)

ISOResolution: ISOResolution

Description

ISOResolution

Usage

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.

References

ISO 19115:2003 - Geographic information -- Metadata

Examples

Run this code
# NOT RUN {
  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