ISOImageryObjective
ISOImageryObjective
R6Class
object.
Object of R6Class
for modelling an ISO imagery objective
- 19139 https://schemas.isotc211.org/19115/-2/gmi/1.0/gmi/#element_MI_Objective
- 19115-3 https://schemas.isotc211.org/19115/-3/mac/2.0/mac/#element_MI_Objective
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> ISOImageryObjective
identifier
identifier [1..1]: ISOMetaIdentifier
priority
priority [0..1]: character|ISOLocalisedCharacterString
type
type [0..*]: ISOImageryObjectiveType
function
function [0..*]: character|ISOLocalisedCharacterString
extent
extent [0..*]: ISOExtent
sensingInstrument
sensingInstrument [0..*]: ISOImageryInstrument
pass
pass [0..*]: ISOImageryPlatformPass
objectiveOccurance
objectiveOccurance [1..*]: ISOImageryEvent
Inherited methods
geometa::geometaLogger$ERROR()
geometa::geometaLogger$INFO()
geometa::geometaLogger$WARN()
geometa::ISOAbstractObject$addFieldAttrs()
geometa::ISOAbstractObject$addListElement()
geometa::ISOAbstractObject$checkMetadataStandardCompliance()
geometa::ISOAbstractObject$contains()
geometa::ISOAbstractObject$createLocalisedProperty()
geometa::ISOAbstractObject$decode()
geometa::ISOAbstractObject$delListElement()
geometa::ISOAbstractObject$encode()
geometa::ISOAbstractObject$getClass()
geometa::ISOAbstractObject$getClassName()
geometa::ISOAbstractObject$getNamespaceDefinition()
geometa::ISOAbstractObject$isDocument()
geometa::ISOAbstractObject$isFieldInheritedFrom()
geometa::ISOAbstractObject$print()
geometa::ISOAbstractObject$save()
geometa::ISOAbstractObject$setAttr()
geometa::ISOAbstractObject$setCodeList()
geometa::ISOAbstractObject$setCodeListValue()
geometa::ISOAbstractObject$setCodeSpace()
geometa::ISOAbstractObject$setHref()
geometa::ISOAbstractObject$setId()
geometa::ISOAbstractObject$setIsNull()
geometa::ISOAbstractObject$setValue()
geometa::ISOAbstractObject$stopIfMetadataStandardIsNot()
geometa::ISOAbstractObject$validate()
geometa::ISOAbstractObject$wrapBaseElement()
new()
Initializes object
ISOImageryObjective$new(xml = NULL)
xml
object of class XMLInternalNode-class
setIdentifier()
Set identifier
identifier
object of class ISOMetaIdentifier or character
addType()
Adds type
type
object of class ISOImageryObjectiveType or any character
among values returned by ISOImageryObjectiveType$values()
delType()
Deletes type
type
object of class ISOImageryObjectiveType or any character
among values returned by ISOImageryObjectiveType$values()
addSensingInstrument()
Adds sensing instrument
instrument
object of class ISOImageryInstrument
delSensingInstrument()
Deletes sensing instrument
instrument
object of class ISOImageryInstrument
delPlatformPass()
Deletes platform pass
pass
object of class ISOImageryPlatformPass
addObjectiveOccurance()
Adds objective occurance
event
object of class ISOImageryEvent
delObjectiveOccurance()
Deletes objective occurance
event
object of class ISOImageryEvent
#encoding
md <- ISOImageryObjective$new()
md$setIdentifier("identifier")
md$setPriority("urgent")
md$addType("survey")
#> [1] TRUE
md$addFunction("my_function")
#> [1] TRUE
evt <- ISOImageryEvent$new()
evt$setIdentifier("event_1")
evt$setTrigger("manual")
evt$setContext("pass")
evt$setSequence("instantaneous")
evt$setTime(Sys.time())
md$addObjectiveOccurance(evt)
#> [1] TRUE
extent <- ISOExtent$new()
bbox <- ISOGeographicBoundingBox$new(minx = -180, miny = -90, maxx = 180, maxy = 90)
extent$addGeographicElement(bbox)
#> [1] TRUE
time <- ISOTemporalExtent$new()
start <- ISOdate(2000, 1, 12, 12, 59, 45)
end <- ISOdate(2010, 8, 22, 13, 12, 43)
tp <- GMLTimePeriod$new(beginPosition = start, endPosition = end)
time$setTimePeriod(tp)
extent$addTemporalElement(time)
#> [1] TRUE
vert <- ISOVerticalExtent$new()
vert$setMinimumValue(0)
vert$setMaximumValue(19)
extent$addVerticalElement(vert)
#> [1] TRUE
md$addExtent(extent)
#> [1] TRUE
md$sensingInstrument = NA
md$pass = NA
xml <- md$encode()
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmi}MI_Objective': No matching global declaration available for the validation root at line 1.
#> [geometa][WARN] Object 'ISOImageryObjective' is INVALID according to ISO 19139 XML schemas!