ISOReferenceSystem

ISOReferenceSystem

Format

R6Class object.

Value

Object of R6Class for modelling an ISO ReferenceSystem

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Public fields

referenceSystemIdentifier

referenceSystemIdentifier

referenceSystemType

referenceSystemType (=> ISO 19115-3)

Methods

Inherited methods


Method new()

Initializes object

Usage

ISOReferenceSystem$new(xml = NULL, prefix, code)

Arguments

xml

object of class XMLInternalNode-class

prefix

prefix

code

code


Method setReferenceSystemIdentifier()

Set reference system identifier

Usage

ISOReferenceSystem$setReferenceSystemIdentifier(identifier)

Arguments

identifier

object of class ISOReferenceIdentifier


Method setReferenceSystemType()

Set reference system type

Usage

ISOReferenceSystem$setReferenceSystemType(referenceSystemType)

Arguments

referenceSystemType

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


Method clone()

The objects of this class are cloneable with this method.

Usage

ISOReferenceSystem$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

  md <- ISOReferenceSystem$new()
  rsId <- ISOReferenceIdentifier$new(code = "4326", codeSpace = "EPSG")
  md$setReferenceSystemIdentifier(rsId)
  xml <- md$encode()
#> [geometa][INFO] Object 'ISOReferenceSystem' is VALID according to ISO 19139 XML schemas!