ISOSource
ISOSource
ISOSource class
R6Class
object.
Object of R6Class
for modelling an ISO Source
src <- ISOSource$new() src$setDescription("description") src$setScaleDenominator(1L) rs <- ISOReferenceSystem$new() rsId <- ISOReferenceIdentifier$new(code = "4326", codeSpace = "EPSG") rs$setReferenceSystemIdentifier(rsId) src$setReferenceSystem(rs) cit <- ISOCitation$new() cit$setTitle("sometitle") #and more citation properties... src$setCitation(cit) extent <- ISOExtent$new() bbox <- ISOGeographicBoundingBox$new(minx = -180, miny = -90, maxx = 180, maxy = 90) extent$setGeographicElement(bbox) src$addExtent(extent) xml <- src$encode()
ISO 19139 https://schemas.isotc211.org/19139/-/gmd/1.0/gmd/#element_LI_Source
ISO 19115-3 https://schemas.isotc211.org/19115/-3/mrl/2.0/mrl/#element_LI_Source
Emmanuel Blondel emmanuel.blondel1@gmail.com
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> ISOSource
description
: description [0..1]: character
scaleDenominator
: scaleDenominator [0..1]: ISORepresentativeFraction
sourceReferenceSystem
: sourceReferenceSystem [0..1]: ISOReferenceSystem
sourceCitation
: sourceCitation [0..1]: ISOCitation
sourceExtent
: sourceExtent [0..*]: ISOExtent
sourceStep
: sourceStep [0..*]: ISOProcessStep
new()
Initializes object
ISOSource$new(xml = NULL)
xml
: object of class XMLInternalNode-class
setDescription()
Set description
ISOSource$setDescription(description, locales = NULL)
description
: description
locales
: list of localized texts. Default is NULL
setScaleDenominator()
Set scale denominator
ISOSource$setScaleDenominator(denominator)
denominator
: object of class ISORepresentativeFraction
setReferenceSystem()
Set reference system
ISOSource$setReferenceSystem(referenceSystem)
referenceSystem
: object of class ISOReferenceSystem
setCitation()
Set citation
ISOSource$setCitation(citation)
citation
: object of class ISOCitation
addExtent()
Adds extent
ISOSource$addExtent(extent)
extent
: object of class ISOExtent
TRUE
if added, FALSE
otherwise
delExtent()
Deletes extent
ISOSource$delExtent(extent)
extent
: object of class ISOExtent
TRUE
if deleted, FALSE
otherwise
addProcessStep()
Adds process step
ISOSource$addProcessStep(processStep)
processStep
: object of class ISOProcessStep
TRUE
if added, FALSE
otherwise
delProcessStep()
Deletes process step
ISOSource$delProcessStep(processStep)
processStep
: object of class ISOProcessStep
TRUE
if deleted, FALSE
otherwise
clone()
The objects of this class are cloneable with this method.
ISOSource$clone(deep = FALSE)
deep
: Whether to make a deep clone.