ISOFeatureCatalogueDescription: ISOFeatureCatalogueDescription

ISOFeatureCatalogueDescriptionR Documentation

ISOFeatureCatalogueDescription

Description

ISOFeatureCatalogueDescription

ISOFeatureCatalogueDescription

Format

R6Class object.

Value

Object of R6Class for modelling an ISOFeatureCatalogue

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> geometa::ISOAbstractContentInformation -> ISOFeatureCatalogueDescription

Public fields

complianceCode

complianceCode: logical

language

language [0..*]: character

includedWithDataset

includedWithDataset: logical

featureTypes

featureTypes [0..*]: GenericName #TODO?

featureCatalogueCitation

featureCatalogueCitation [1..*]: ISOCitation

Methods

Public methods

Inherited methods

Method new()

Initializes object

Usage
ISOFeatureCatalogueDescription$new(xml = NULL)
Arguments
xml

object of class XMLInternalNode-class


Method setComplianceCode()

Set compliance code

Usage
ISOFeatureCatalogueDescription$setComplianceCode(compliance)
Arguments
compliance

compliance, object of class logical


Method addLanguage()

Adds language

Usage
ISOFeatureCatalogueDescription$addLanguage(lang)
Arguments
lang

lang

Returns

TRUE if added, FALSE otherwise


Method delLanguage()

Deletes language

Usage
ISOFeatureCatalogueDescription$delLanguage(lang)
Arguments
lang

lang

Returns

TRUE if deleted, FALSE otherwise


Method setIncludedWithDataset()

Set included with dataset

Usage
ISOFeatureCatalogueDescription$setIncludedWithDataset(include)
Arguments
include

include, object of class logical


Method addFeatureCatalogueCitation()

Adds feature catalogue citation

Usage
ISOFeatureCatalogueDescription$addFeatureCatalogueCitation(
  citation,
  uuid = NULL
)
Arguments
citation,

object of class ISOCitation

uuid

uuid

Returns

TRUE if added, FALSE otherwise


Method delFeatureCatalogueCitation()

Deletes feature catalogue citation

Usage
ISOFeatureCatalogueDescription$delFeatureCatalogueCitation(
  citation,
  uuid = NULL
)
Arguments
citation,

object of class ISOCitation

uuid

uuid

Returns

TRUE if deleted, FALSE otherwise


Method clone()

The objects of this class are cloneable with this method.

Usage
ISOFeatureCatalogueDescription$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

References

- ISO 19139 https://schemas.isotc211.org/19139/-/gmd/1.0/gmd/#element_MD_FeatureCatalogueDescription

- ISO 19115-3 https://schemas.isotc211.org/19115/-3/mrc/1.0/mrc/#element_MD_FeatureCatalogueDescription

Examples

  md <- ISOFeatureCatalogueDescription$new()
  md$setComplianceCode(FALSE)
  md$addLanguage("eng")
  md$setIncludedWithDataset(FALSE)
  
  cit = ISOCitation$new()
  contact = ISOContact$new()
  fcLink <- ISOOnlineResource$new()
  fcLink$setLinkage("http://somelink/featurecatalogue")
  contact$setOnlineResource(fcLink)
  rp = ISOResponsibleParty$new()
  rp$setContactInfo(contact)
  cit$setCitedResponsibleParty(rp)
  md$addFeatureCatalogueCitation(cit)
 

eblondel/geometa documentation built on Oct. 10, 2024, 4:46 p.m.