| ISOImageryObjective {geometa} | R Documentation |
ISOImageryObjective
Description
ISOImageryObjective
ISOImageryObjective
Format
R6Class object.
Value
Object of R6Class for modelling an ISO imagery objective
Super classes
geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOImageryObjective
Public fields
identifieridentifier [1..1]: ISOMetaIdentifier
prioritypriority [0..1]: character|ISOLocalisedCharacterString
typetype [0..*]: ISOImageryObjectiveType
functionfunction [0..*]: character|ISOLocalisedCharacterString
extentextent [0..*]: ISOExtent
sensingInstrumentsensingInstrument [0..*]: ISOImageryInstrument
passpass [0..*]: ISOImageryPlatformPass
objectiveOccuranceobjectiveOccurance [1..*]: ISOImageryEvent
Methods
Public methods
Inherited methods
geometa::geometaLogger$ERROR()geometa::geometaLogger$INFO()geometa::geometaLogger$WARN()geometa::ISOAbstractObject$addFieldAttrs()geometa::ISOAbstractObject$addListElement()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$validate()geometa::ISOAbstractObject$wrapBaseElement()
Method new()
Initializes object
Usage
ISOImageryObjective$new(xml = NULL)
Arguments
xmlobject of class XMLInternalNode-class
Method setIdentifier()
Set identifier
Usage
ISOImageryObjective$setIdentifier(identifier)
Arguments
identifierobject of class ISOMetaIdentifier or character
Method setPriority()
Set priority
Usage
ISOImageryObjective$setPriority(priority, locales = NULL)
Arguments
prioritypriority
localeslist of localized texts. Default is
NULL
Method addType()
Adds type
Usage
ISOImageryObjective$addType(type)
Arguments
typeobject of class ISOImageryObjectiveType or any character among values returned by
ISOImageryObjectiveType$values()
Returns
TRUE if added, FALSE otherwise
Method delType()
Deletes type
Usage
ISOImageryObjective$delType(type)
Arguments
typeobject of class ISOImageryObjectiveType or any character among values returned by
ISOImageryObjectiveType$values()
Returns
TRUE if deleted, FALSE otherwise
Method addFunction()
Adds function
Usage
ISOImageryObjective$addFunction(fun, locales = NULL)
Arguments
funfun
localeslist of localized texts. Default is
NULL
Returns
TRUE if added, FALSE otherwise
Method delFunction()
Deletes function
Usage
ISOImageryObjective$delFunction(fun, locales = NULL)
Arguments
funfun
localeslist of localized texts. Default is
NULL
Returns
TRUE if deleted, FALSE otherwise
Method addExtent()
Adds extent
Usage
ISOImageryObjective$addExtent(extent)
Arguments
extentextent, object of class ISOExtent
Returns
TRUE if added, FALSE otherwise
Method delExtent()
Deletes extent
Usage
ISOImageryObjective$delExtent(extent)
Arguments
extentextent, object of class ISOExtent
Returns
TRUE if deleted, FALSE otherwise
Method addSensingInstrument()
Adds sensing instrument
Usage
ISOImageryObjective$addSensingInstrument(instrument)
Arguments
instrumentobject of class ISOImageryInstrument
Returns
TRUE if added, FALSE otherwise
Method delSensingInstrument()
Deletes sensing instrument
Usage
ISOImageryObjective$delSensingInstrument(instrument)
Arguments
instrumentobject of class ISOImageryInstrument
Returns
TRUE if deleted, FALSE otherwise
Method addPlatformPass()
Adds platform pass
Usage
ISOImageryObjective$addPlatformPass(pass)
Arguments
passobject of class ISOImageryPlatformPass
Returns
TRUE if added, FALSE otherwise
Method delPlatformPass()
Deletes platform pass
Usage
ISOImageryObjective$delPlatformPass(pass)
Arguments
passobject of class ISOImageryPlatformPass
Returns
TRUE if deleted, FALSE otherwise
Method addObjectiveOccurance()
Adds objective occurance
Usage
ISOImageryObjective$addObjectiveOccurance(event)
Arguments
eventobject of class ISOImageryEvent
Returns
TRUE if added, FALSE otherwise
Method delObjectiveOccurance()
Deletes objective occurance
Usage
ISOImageryObjective$delObjectiveOccurance(event)
Arguments
eventobject of class ISOImageryEvent
Returns
TRUE if deleted, FALSE otherwise
Method clone()
The objects of this class are cloneable with this method.
Usage
ISOImageryObjective$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
References
ISO 19115-2:2009 - Geographic information – Metadata Part 2: Extensions for imagery and gridded data
Examples
#encoding
md <- ISOImageryObjective$new()
md$setIdentifier("identifier")
md$setPriority("urgent")
md$addType("survey")
md$addFunction("my_function")
evt <- ISOImageryEvent$new()
evt$setIdentifier("event_1")
evt$setTrigger("manual")
evt$setContext("pass")
evt$setSequence("instantaneous")
evt$setTime(Sys.time())
md$addObjectiveOccurance(evt)
extent <- ISOExtent$new()
bbox <- ISOGeographicBoundingBox$new(minx = -180, miny = -90, maxx = 180, maxy = 90)
extent$addGeographicElement(bbox)
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)
vert <- ISOVerticalExtent$new()
vert$setMinimumValue(0)
vert$setMaximumValue(19)
extent$addVerticalElement(vert)
md$addExtent(extent)
md$sensingInstrument = NA
md$pass = NA
xml <- md$encode()