ISOImageryObjective | R Documentation |
ISOImageryObjective
ISOImageryObjective
R6Class
object.
Object of R6Class
for modelling an ISO imagery 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
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()
new()
Initializes object
ISOImageryObjective$new(xml = NULL)
xml
object of class XMLInternalNode-class
setIdentifier()
Set identifier
ISOImageryObjective$setIdentifier(identifier)
identifier
object of class ISOMetaIdentifier or character
setPriority()
Set priority
ISOImageryObjective$setPriority(priority, locales = NULL)
priority
priority
locales
list of localized texts. Default is NULL
addType()
Adds type
ISOImageryObjective$addType(type)
type
object of class ISOImageryObjectiveType or any character
among values returned by ISOImageryObjectiveType$values()
TRUE
if added, FALSE
otherwise
delType()
Deletes type
ISOImageryObjective$delType(type)
type
object of class ISOImageryObjectiveType or any character
among values returned by ISOImageryObjectiveType$values()
TRUE
if deleted, FALSE
otherwise
addFunction()
Adds function
ISOImageryObjective$addFunction(fun, locales = NULL)
fun
fun
locales
list of localized texts. Default is NULL
TRUE
if added, FALSE
otherwise
delFunction()
Deletes function
ISOImageryObjective$delFunction(fun, locales = NULL)
fun
fun
locales
list of localized texts. Default is NULL
TRUE
if deleted, FALSE
otherwise
addExtent()
Adds extent
ISOImageryObjective$addExtent(extent)
extent
extent, object of class ISOExtent
TRUE
if added, FALSE
otherwise
delExtent()
Deletes extent
ISOImageryObjective$delExtent(extent)
extent
extent, object of class ISOExtent
TRUE
if deleted, FALSE
otherwise
addSensingInstrument()
Adds sensing instrument
ISOImageryObjective$addSensingInstrument(instrument)
instrument
object of class ISOImageryInstrument
TRUE
if added, FALSE
otherwise
delSensingInstrument()
Deletes sensing instrument
ISOImageryObjective$delSensingInstrument(instrument)
instrument
object of class ISOImageryInstrument
TRUE
if deleted, FALSE
otherwise
addPlatformPass()
Adds platform pass
ISOImageryObjective$addPlatformPass(pass)
pass
object of class ISOImageryPlatformPass
TRUE
if added, FALSE
otherwise
delPlatformPass()
Deletes platform pass
ISOImageryObjective$delPlatformPass(pass)
pass
object of class ISOImageryPlatformPass
TRUE
if deleted, FALSE
otherwise
addObjectiveOccurance()
Adds objective occurance
ISOImageryObjective$addObjectiveOccurance(event)
event
object of class ISOImageryEvent
TRUE
if added, FALSE
otherwise
delObjectiveOccurance()
Deletes objective occurance
ISOImageryObjective$delObjectiveOccurance(event)
event
object of class ISOImageryEvent
TRUE
if deleted, FALSE
otherwise
clone()
The objects of this class are cloneable with this method.
ISOImageryObjective$clone(deep = FALSE)
deep
Whether to make a deep clone.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
ISO 19115-2:2009 - Geographic information – Metadata Part 2: Extensions for imagery and gridded data
#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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.