ISOLineage
ISOLineage
ISOLineage class
R6Class
object.
Object of R6Class
for modelling an ISO Lineage
lineage <- ISOLineage$new() lineage$setStatement("statement") #add a process step ps <- ISOProcessStep$new() ps$setDescription("description") ps$setRationale("rationale") ps$setDateTime( ISOdate(2015, 1, 1, 23, 59, 59)) rp <- ISOResponsibleParty$new() rp$setIndividualName("someone") #and more responsible party properties.. ps$addProcessor(rp) lineage$addProcessStep(ps) #add a 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$addGeographicElement(bbox) src$addExtent(extent) lineage$addSource(src) xml <- lineage$encode()
ISO 19139 https://schemas.isotc211.org/19139/-/gmd/1.0/gmd/#element_LI_Lineage
ISO 19115-3 https://schemas.isotc211.org/19115/-3/mrl/2.0/mrl/#element_LI_Lineage
Emmanuel Blondel emmanuel.blondel1@gmail.com
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> ISOLineage
statement
: statement [0..1]: character
processStep
: processStep [0..*]: ISOProcessStep
source
: source [0..*]: ISOSource
new()
Initializes object
ISOLineage$new(xml = NULL)
xml
: object of class XMLInternalNode-class
setStatement()
Set statement
ISOLineage$setStatement(statement, locales = NULL)
statement
: statement
locales
: list of localized texts. Default is NULL
addProcessStep()
Adds process step
ISOLineage$addProcessStep(processStep)
processStep
: object of class ISOProcessStep
TRUE
if added, FALSE
otherwise
delProcessStep()
Deletes process step
ISOLineage$delProcessStep(processStep)
processStep
: object of class ISOProcessStep
TRUE
if deleted, FALSE
otherwise
addSource()
Adds source
ISOLineage$addSource(source)
source
: object of class ISOSource
TRUE
if added, FALSE
otherwise
delSource()
Deletes source
ISOLineage$delSource(source)
source
: object of class ISOSource
TRUE
if deleted, FALSE
otherwise
clone()
The objects of this class are cloneable with this method.
ISOLineage$clone(deep = FALSE)
deep
: Whether to make a deep clone.