ISOImageryAlgorithm {geometa}R Documentation

ISOImageryAlgorithm

Description

ISOImageryAlgorithm

ISOImageryAlgorithm

Format

R6Class object.

Value

Object of R6Class for modelling an ISO imagery algorithm

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOImageryAlgorithm

Public fields

citation

citation [1..1]: ISOCitation

description

description [1..1]: character|ISOLocalisedCharacterString

Methods

Public methods

Inherited methods

Method new()

Initialized object

Usage
ISOImageryAlgorithm$new(xml = NULL)
Arguments
xml

object of class XMLInternalNode-class


Method setCitation()

Set citation

Usage
ISOImageryAlgorithm$setCitation(citation)
Arguments
citation

object of class ISOCitation


Method setDescription()

Set description

Usage
ISOImageryAlgorithm$setDescription(description, locales = NULL)
Arguments
description

description

locales

list of localized texts. Default is NULL


Method clone()

The objects of this class are cloneable with this method.

Usage
ISOImageryAlgorithm$clone(deep = FALSE)
Arguments
deep

Whether 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

   md <- ISOImageryAlgorithm$new()
   
   #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)
   rp1$setContactInfo(contact1)
   
   #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$setDescription("some description")
   
   xml <- md$encode()


[Package geometa version 0.8-0 Index]