ISOGeoreferenceable

ISOGeoreferenceable

Format

R6Class object.

Value

Object of R6Class for modelling an ISO Georeferenceable

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Public fields

controlPointAvailability

controlPointAvailability: logical

orientationParameterAvailability

orientationParameterAvailability : logical

orientationParameterDescription

orientationParameterDescription [0..1] : character

georeferencedParameters

georeferencedParameters : ISORecord

parameterCitation

parameterCitation [0..*] : ISOCitation

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.

Examples

  md <- ISOGeoreferenceable$new()
#> Error in super$initialize(xml, defaults = defaults): unused argument (defaults = defaults)
  
  #inherited methods from ISOGridSpatialRepresentation
  md$setNumberOfDimensions(1)
#> Error: object 'md' not found
  dim1 <- ISODimension$new()
  dim1$setName("row")
  dim1$setSize(100)
  dim1$setResolution(ISOMeasure$new(value=1,uom="m"))
  md$addDimension(dim1)
#> Error: object 'md' not found
  md$setCellGeometry("area")
#> Error: object 'md' not found
  
  #parameters
  md$setControlPointAvailability(TRUE)
#> Error: object 'md' not found
  md$setOrientationParameterAvailability(TRUE)
#> Error: object 'md' not found
  md$setOrientationParameterDescription("description")
#> Error: object 'md' not found
  md$setGeoreferencedParameters("record")
#> Error: object 'md' not found
  ct <- ISOCitation$new()
  ct$setTitle("citation")
  md$addParameterCitation(ct)
#> Error: object 'md' not found
  
  xml <- md$encode()
#> Error: object 'md' not found