ISOConceptualConsistency

ISOConceptualConsistency

Format

R6Class object.

Value

Object of R6Class for modelling an ISOConceptualConsistency

References

ISO 19115:2003 - Geographic information – Metadata

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Methods

Inherited methods


Method clone()

The objects of this class are cloneable with this method.

Usage

ISOConceptualConsistency$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

  #encoding
  dq <- ISOConceptualConsistency$new()
  dq$addNameOfMeasure("measure")
#> [1] TRUE
  metaId <- ISOMetaIdentifier$new(code = "measure-id")
  dq$setMeasureIdentification(metaId)
  dq$setMeasureDescription("description")
  dq$setEvaluationMethodDescription("method description")
  dq$setEvaluationMethodType("indirect")
  dq$setDateTime(ISOdate(2015,1,1,12,10,49))
  spec <- ISOCitation$new()
  spec$setTitle("specification title")
  spec$addAlternateTitle("specification alternate title")
#> [1] TRUE
  d <- ISODate$new()
  d$setDate(ISOdate(2015, 1, 1, 1))
  d$setDateType("publication")
  spec$addDate(d)
  dq$setEvaluationProcedure(spec)
  result <- ISOConformanceResult$new()
  result$setSpecification(spec)
  result$setExplanation("some explanation about the conformance")
  result$setPass(TRUE)
  dq$addResult(result)
#> [1] TRUE
  xml <- dq$encode()
#> [geometa][INFO] Object 'ISOConceptualConsistency' is VALID according to ISO 19139 XML schemas!