ISOImageryRequirement | R Documentation |
ISOImageryRequirement
ISOImageryRequirement
R6Class
object.
Object of R6Class
for modelling an ISO imagery requirement
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> ISOImageryRequirement
citation
citation [1..1]: ISOCitation
identifier
identifier [1..1]: ISOMetaIdentifier
requestor
requestor [0..*]: ISOResponsibleParty
recipient
recipient [0..*]: ISOResponsibleParty
priority
priority [1..1]: ISOImageryPriority
requestedDate
requestedDate [1..1]: ISOImageryRequestedDate
expiryDate
expiryDate [1..1]: POSIXt
satisfiedPlan
satisfiedPlan [0..*]: ISOImageryPlan
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
ISOImageryRequirement$new(xml = NULL)
xml
object of class XMLInternalNode-class
setCitation()
Set citation
ISOImageryRequirement$setCitation(citation)
citation
object of class ISOCitation
setIdentifier()
Set identifier
ISOImageryRequirement$setIdentifier(identifier)
identifier
object of class ISOMetaIdentifier or character
addRequestor()
Adds requestor
ISOImageryRequirement$addRequestor(requestor)
requestor
object of class ISOResponsibleParty
TRUE
if added, FALSE
otherwise
delRequestor()
Deletes requestor
ISOImageryRequirement$delRequestor(requestor)
requestor
object of class ISOResponsibleParty
TRUE
if deleted, FALSE
otherwise
addRecipient()
Adds recipient
ISOImageryRequirement$addRecipient(recipient)
recipient
object of class ISOResponsibleParty
TRUE
if added, FALSE
otherwise
delRecipient()
Deletes recipient
ISOImageryRequirement$delRecipient(recipient)
recipient
object of class ISOResponsibleParty
TRUE
if deleted, FALSE
otherwise
setPriority()
Set priority
ISOImageryRequirement$setPriority(priority)
priority
object of class ISOImageryPriority pr any character
among values returned by ISOImageryPriority$values()
setRequestedDate()
Set requested date
ISOImageryRequirement$setRequestedDate(date)
date
object of class ISOImageryRequestedDate
setExpiryDate()
Set expiry date
ISOImageryRequirement$setExpiryDate(date)
date
object of class POSIXct
addSatisfiedPlan()
Adds satisfied plan
ISOImageryRequirement$addSatisfiedPlan(plan)
plan
object of class ISOImageryPlan
TRUE
if added, FALSE
otherwise
delSatisfiedPlan()
Deletes satisfied plan
ISOImageryRequirement$delSatisfiedPlan(plan)
plan
object of class ISOImageryPlan
TRUE
if deleted, FALSE
otherwise
clone()
The objects of this class are cloneable with this method.
ISOImageryRequirement$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
md <- ISOImageryRequirement$new()
md$setIdentifier("identifier")
#add citation
rp1 <- ISOResponsibleParty$new()
rp1$setIndividualName("someone1")
rp1$setOrganisationName("somewhere1")
rp1$setPositionName("someposition1")
rp1$setRole("pointOfContact")
contact1 <- ISOContact$new()
phone1 <- ISOTelephone$new()
phone1$setVoice("myphonenumber1")
phone1$setFacsimile("myfacsimile1")
contact1$setPhone(phone1)
address1 <- ISOAddress$new()
address1$setDeliveryPoint("theaddress1")
address1$setCity("thecity1")
address1$setPostalCode("111")
address1$setCountry("France")
address1$setEmail("someone1@theorg.org")
contact1$setAddress(address1)
res <- ISOOnlineResource$new()
res$setLinkage("http://www.somewhereovertheweb.org")
res$setName("somename")
contact1$setOnlineResource(res)
rp2 <- ISOResponsibleParty$new()
rp2$setIndividualName("someone2")
rp2$setOrganisationName("somewhere2")
rp2$setPositionName("someposition2")
rp2$setRole("pointOfContact")
contact2 <- ISOContact$new()
phone2 <- ISOTelephone$new()
phone2$setVoice("myphonenumber2")
phone2$setFacsimile("myfacsimile2")
contact1$setPhone(phone2)
address2 <- ISOAddress$new()
address2$setDeliveryPoint("theaddress2")
address2$setCity("thecity2")
address2$setPostalCode("111")
address2$setCountry("France")
address2$setEmail("someone2@theorg.org")
contact2$setAddress(address2)
contact2$setOnlineResource(res)
rp2$setContactInfo(contact2)
#citation
ct <- ISOCitation$new()
ct$setTitle("sometitle")
d <- ISODate$new()
d$setDate(ISOdate(2015, 1, 1, 1))
d$setDateType("publication")
ct$addDate(d)
ct$setEdition("1.0")
ct$setEditionDate(ISOdate(2015,1,1))
ct$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
ct$addPresentationForm("mapDigital")
ct$addCitedResponsibleParty(rp1)
md$setCitation(ct)
md$addRequestor(rp1)
md$addRecipient(rp2)
md$setPriority("highImportance")
rd <- ISOImageryRequestedDate$new()
rd$setRequestedDateOfCollection(Sys.time())
rd$setLatestAcceptableDate(Sys.time())
md$setRequestedDate(rd)
md$setExpiryDate(Sys.time())
xml <- md$encode()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.