Learn R Programming

geometa (version 0.6-2)

ISOGridSpatialRepresentation: ISOGridSpatialRepresentation

Description

ISOGridSpatialRepresentation

Usage

ISOGridSpatialRepresentation

Arguments

Value

Object of R6Class for modelling an ISO GridSpatialRepresentation

Format

R6Class object.

Fields

numberOfDimensions

[integer] number of dimensions

axisDimensionProperties

[ISODimension] dimension(s)

cellGeometry

[ISOCellGeometry]

transformationParameterAvailability

[logical]

Methods

new(xml)

This method is used to instantiate an ISOGridSpatialRepresentation

setNumberOfDimensions

Sets the number of dimensions (value of class integer)

addDimension(dimension)

Adds a dimension. Object of class ISODimension

delDimension(dimension)

Deletes a dimension;

setCellGeometry(cellGeometry)

Sets the cell geometry. Object of class ISOCellGeometry or any value from ISOCellGeometry$values()

setTransformationParameterAvailability(availability)

Sets the transformation parameter availability

References

ISO 19115:2003 - Geographic information -- Metadata

Examples

Run this code
# NOT RUN {
  md <- ISOGridSpatialRepresentation$new()
  md$setNumberOfDimensions(1)
  dim1 <- ISODimension$new()
  dim1$setName("row")
  dim1$setSize(100)
  dim1$setResolution(ISOMeasure$new(value=1,uom="m"))
  md$addDimension(dim1)
  md$setCellGeometry("area")
  xml <- md$encode()

# }

Run the code above in your browser using DataLab