Learn R Programming

geometa (version 0.7)

ISOGeoreferenceable: ISOGeoreferenceable

Description

ISOGeoreferenceable

Arguments

Value

Object of R6Class for modelling an ISO Georeferenceable

Format

R6Class object.

Fields

controlPointAvailability

[logical]

orientationParameterAvailability

[logical]

orientationParameterDescription

[character]

georeferencedParameters

[ISORecord]

parameterCitation

[ISOCitation]

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, locales)

Sets the orientation parameter description. Locale names can be specified as list with the locales argument.

setGeoreferencedParameters(record)

Sets the georeferenced parameter (object of class ISORecord)

addParameterCitation(citation)

Adds a parameter citation, object of class ISOCitation

delParameterCitation(citation)

Deletes a parameter citation, object of class ISOCitation

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

References

ISO 19115:2003 - Geographic information -- Metadata

Examples

Run this code
  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