Learn R Programming

geometa (version 0.4-0)

ISODimension: ISODimension

Description

ISODimension

Usage

ISODimension

Arguments

Value

Object of R6Class for modelling an ISO Dimension

Format

R6Class object.

Fields

resolution

Methods

new(xml,value)

This method is used to instantiate an ISODimension

setName(name)

Sets the dimension name. Object of class ISODimensionNameType or any value from ISODimensionNameType$values()

setSize(size)

Sets the dimension size, object of class integer

setResolution(resolution)

Sets the resolution ie. object of class ISOMeasure or any subclass ISOLength, ISODistance, ISOAngle, ISOScale

References

ISO 19115:2003 - Geographic information -- Metadata

Examples

Run this code
# NOT RUN {
   #create dimension
   md <- ISODimension$new()
   md$setName("row")
   md$setSize(1)
   md$setResolution(ISOLength$new(value=1,uom="m"))
   xml <- md$encode()
   
# }

Run the code above in your browser using DataLab