ISOImageryProcessing

ISOImageryProcessing

Format

R6Class object.

Value

Object of R6Class for modelling an ISO imagery processing

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOImageryProcessing

Public fields

identifier

identifier [1..1]: ISOMetaIdentifier

softwareReference

softwareReference [0.1]: ISOCitation

procedureDescription

procedureDescription [0..1]: character|ISOLocalisedCharacterString

documentation

documentation [0..*]: ISOCitation

runTimeParameters

runTimeParameters [0..1]: character

algorithm

algorithm [0..*]: ISOImageryAlgorithm

Methods

Inherited methods


Method new()

Initializes object

Usage

ISOImageryProcessing$new(xml = NULL)

Arguments

xml

object of class XMLInternalNode-class


Method setIdentifier()

Set identifier

Usage

ISOImageryProcessing$setIdentifier(identifier)

Arguments

identifier

object of class ISOMetaIdentifier or character


Method addSoftwareReference()

Adds software reference

Usage

ISOImageryProcessing$addSoftwareReference(softwareReference)

Arguments

softwareReference

object of class ISOCitation

Returns

TRUE if added, FALSE otherwise


Method delSoftwareReference()

Deletes software reference

Usage

ISOImageryProcessing$delSoftwareReference(softwareReference)

Arguments

softwareReference

object of class ISOCitation

Returns

TRUE if deleted, FALSE otherwise


Method setProcedureDescription()

Set procedure description

Usage

ISOImageryProcessing$setProcedureDescription(
  procedureDescription,
  locales = NULL
)

Arguments

procedureDescription

procedure description

locales

list of localized texts. Default is NULL


Method addDocumentation()

Adds documentation

Usage

ISOImageryProcessing$addDocumentation(documentation)

Arguments

documentation

object of class ISOCitation

Returns

TRUE if added, FALSE otherwise


Method delDocumentation()

Deletes documentation

Usage

ISOImageryProcessing$delDocumentation(documentation)

Arguments

documentation

object of class ISOCitation

Returns

TRUE if deleted, FALSE otherwise


Method setRunTimeParameters()

Set runtime parameters

Usage

ISOImageryProcessing$setRunTimeParameters(params)

Arguments

params

parameters


Method addAlgorithm()

Adds algorithm

Usage

ISOImageryProcessing$addAlgorithm(algorithm)

Arguments

algorithm

object of class ISOImageryAlgorithm

Returns

TRUE if added, FALSE otherwise


Method delAlgorithm()

Deletes algorithm

Usage

ISOImageryProcessing$delAlgorithm(algorithm)

Arguments

algorithm

object of class ISOImageryAlgorithm

Returns

TRUE if deleted, FALSE otherwise


Method clone()

The objects of this class are cloneable with this method.

Usage

ISOImageryProcessing$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

   md <- ISOImageryProcessing$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"))
#> [1] TRUE
   ct$addPresentationForm("mapDigital")
#> [1] TRUE
   ct$addCitedResponsibleParty(rp1)
#> [1] TRUE
   
   md$setIdentifier("identifier")
   md$setProcedureDescription("some description")
   md$addSoftwareReference(ct)
#> [1] TRUE
   md$addDocumentation(ct)
#> [1] TRUE
   md$setRunTimeParameters("params")
   
   xml <- md$encode()
#> [geometa][WARN] Element '{http://www.isotc211.org/2005/gmi}LE_Processing': No matching global declaration available for the validation root at line 1. 
#> [geometa][WARN] Object 'ISOImageryProcessing' is INVALID according to ISO 19139 XML schemas!