ISOGridSpatialRepresentation {geometa}R Documentation

ISOGridSpatialRepresentation

Description

ISOGridSpatialRepresentation

ISOGridSpatialRepresentation

Format

R6Class object.

Value

Object of R6Class for modelling an ISO GridSpatialRepresentation

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> geometa::ISOSpatialRepresentation -> ISOGridSpatialRepresentation

Public fields

numberOfDimensions

numberOfDimensions [1..1]: integer

axisDimensionProperties

axisDimensionProperties [1..*] : ISODimension

cellGeometry

cellGeometry [1..1]: ISOCellGeometry

transformationParameterAvailability

transformationParameterAvailability : logical

Methods

Public methods

Inherited methods

Method new()

Initializes object

Usage
ISOGridSpatialRepresentation$new(xml = NULL)
Arguments
xml

object of class XMLInternalNode-class


Method setNumberOfDimensions()

Set number of dimensions

Usage
ISOGridSpatialRepresentation$setNumberOfDimensions(numberOfDimensions)
Arguments
numberOfDimensions

object of class integer


Method addDimension()

Adds dimension

Usage
ISOGridSpatialRepresentation$addDimension(dimension)
Arguments
dimension

object of class ISODimension

Returns

TRUE if added, FALSE otherwise


Method delDimension()

Deletes dimension

Usage
ISOGridSpatialRepresentation$delDimension(dimension)
Arguments
dimension

object of class ISODimension

Returns

TRUE if deleted, FALSE otherwise


Method setCellGeometry()

Set cell geometry

Usage
ISOGridSpatialRepresentation$setCellGeometry(cellGeometry)
Arguments
cellGeometry

object of class ISOCellGeometry or any character among values returned by ISOCellGeometry$values()


Method setTransformationParameterAvailability()

Set transformation parameter availability

Usage
ISOGridSpatialRepresentation$setTransformationParameterAvailability(
  availability
)
Arguments
availability

object of class logical


Method clone()

The objects of this class are cloneable with this method.

Usage
ISOGridSpatialRepresentation$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

References

ISO 19115:2003 - Geographic information – Metadata

Examples

  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()


[Package geometa version 0.8-0 Index]