ISOGeoreferenceable: ISOGeoreferenceable

ISOGeoreferenceableR Documentation

ISOGeoreferenceable

Description

ISOGeoreferenceable

ISOGeoreferenceable

Format

R6Class object.

Value

Object of R6Class for modelling an ISO Georeferenceable

Super classes

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

Public fields

controlPointAvailability

controlPointAvailability: logical

orientationParameterAvailability

orientationParameterAvailability : logical

orientationParameterDescription

orientationParameterDescription [0..1] : character

georeferencedParameters

georeferencedParameters : ISORecord

parameterCitation

parameterCitation [0..*] : ISOCitation

Methods

Public methods

Inherited methods

Method new()

Initializes object

Usage
ISOGeoreferenceable$new(xml = NULL)
Arguments
xml

object of class XMLInternalNode-class


Method setControlPointAvailability()

Set control point availability

Usage
ISOGeoreferenceable$setControlPointAvailability(availability)
Arguments
availability

object of class logical


Method setOrientationParameterAvailability()

Set orientation parameter availability

Usage
ISOGeoreferenceable$setOrientationParameterAvailability(availability)
Arguments
availability

object of class logical


Method setOrientationParameterDescription()

Set orientation parameter description

Usage
ISOGeoreferenceable$setOrientationParameterDescription(
  description,
  locales = NULL
)
Arguments
description

description

locales

list of localized descriptions. Default is NULL


Method setGeoreferencedParameters()

Set georeferenced parameters

Usage
ISOGeoreferenceable$setGeoreferencedParameters(record)
Arguments
record

object of class ISORecord


Method addParameterCitation()

Adds parameter citation

Usage
ISOGeoreferenceable$addParameterCitation(citation)
Arguments
citation

object of class ISOCitation

Returns

TRUE if added, FALSE otherwise


Method delParameterCitation()

Deletes parameter citation

Usage
ISOGeoreferenceable$delParameterCitation(citation)
Arguments
citation

object of class ISOCitation

Returns

TRUE if deleted, FALSE otherwise


Method clone()

The objects of this class are cloneable with this method.

Usage
ISOGeoreferenceable$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

References

- ISO 19139 https://schemas.isotc211.org/19139/-/gmd/1.0/gmd/#element_MD_Georeferenceable

- ISO 19115-3 https://schemas.isotc211.org/19115/-3/msr/1.0/msr/#element_MD_Georeferenceable

Examples

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


eblondel/geometa documentation built on Oct. 10, 2024, 4:46 p.m.