Learn R Programming

geometa (version 0.4-0)

ISOConformanceResult: ISOConformanceResult

Description

ISOConformanceResult

Usage

ISOConformanceResult

Arguments

Value

Object of R6Class for modelling an ISO ConformanceResult

Format

R6Class object.

Fields

result

Methods

new(xml,value)

This method is used to instantiate an ISOConformanceResult

setSpecification(specification)

Sets the specification (an ISOCitation object)

setExplanation(explanation)

Sets the explanation

setPass(pass)

Sets if passing the conformance or not (logical value)

References

ISO 19115:2003 - Geographic information -- Metadata

Examples

Run this code
# NOT RUN {
 md <- ISOConformanceResult$new()
 spec <- ISOCitation$new()
 spec$setTitle("specification title")
 spec$setAlternateTitle("specification alternate title")
 d <- ISODate$new()
 d$setDate(ISOdate(2015, 1, 1, 1))
 d$setDateType("publication")
 spec$addDate(d)
 md$setSpecification(spec)
 md$setExplanation("some explanation about the conformance")
 md$setPass(TRUE)
 xml <- md$encode()
 
# }

Run the code above in your browser using DataLab