Learn R Programming

geometa (version 0.4-0)

ISOGeoreferenceable: ISOGeoreferenceable

Description

ISOGeoreferenceable

Usage

ISOGeoreferenceable

Arguments

Value

Object of R6Class for modelling an ISO Georeferenceable

Format

R6Class object.

Fields

parameterCitation

Inherited Methods

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

Methods

new(xml)

This method is used to instantiate an ISOGeoreferenceable

setControlPointAvailability(availability)

Sets the control point availability. TRUE/FALSE

setOrientationParameterAvailability(availability)

Sets the orientation parameter availability. TRUE/FALSE

setOrientationParameterDescription(description)

Sets the orientation parameter description

setGeoreferencedParameters(record)

Sets the georeferenced parameter (object of class ISORecord)

addParameterCitation(citation)

Adds a parameter citation

delParameterCitation(citation)

Deletes a parameter citation

References

ISO 19115:2003 - Geographic information -- Metadata

Examples

Run this code
# NOT RUN {
  md <- ISOGeoreferenceable$new()
  
  #inherited methods from ISOGridSpatialRepresentation
  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")
  
  #parameters
  md$setControlPointAvailability(TRUE)
  md$setOrientationParameterAvailability(TRUE)
  md$setOrientationParameterDescription("description")
  md$setGeoreferencedParameters("record")
  ct <- ISOCitation$new()
  ct$setTitle("citation")
  md$addParameterCitation(ct)
  
  xml <- md$encode()

# }

Run the code above in your browser using DataLab