ISOImagerySource

ISOImagerySource

Format

R6Class object.

Value

Object of R6Class for modelling an ISO imagery source

References

ISO 19115-2:2009 - Geographic information – Metadata Part 2: Extensions for imagery and gridded data

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOImagerySource

Public fields

processedLevel

processedLevel [0..1]: ISOMetaIdentifier

resolution

resolution [0..1]: ISOImageryNominalResolution

Methods

Inherited methods


Method new()

Initializes object

Usage

ISOImagerySource$new(xml = NULL)

Arguments

xml

object of class XMLInternalNode-class


Method setProcessedLevel()

Set processed level

Usage

ISOImagerySource$setProcessedLevel(processedLevel)

Arguments

processedLevel

object of class ISOMetaIdentifier or character


Method setResolution()

Set resolution

Usage

ISOImagerySource$setResolution(resolution)

Arguments

resolution

object of class ISOImageryNominalResolution


Method clone()

The objects of this class are cloneable with this method.

Usage

ISOImagerySource$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

   md <- ISOImagerySource$new()
   md$setProcessedLevel("identifier")
   res <- ISOImageryNominalResolution$new()
   d <- ISODistance$new(value = 1, uom = "m", useUomURI = TRUE)
   res$setScanningResolution(d)
   md$setResolution(res)
   
   xml <- md$encode()
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmi}LE_Source': No matching global declaration available for the validation root at line 1. 
#> [geometa][WARN] Object 'ISOImagerySource' is INVALID according to ISO 19139 XML schemas!