ISOImageryCoverageDescription | R Documentation |
ISOImageryCoverageDescription
ISOImageryCoverageDescription
R6Class
object.
Object of R6Class
for modelling an ISO imagery image description
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> geometa::ISOContentInformation
-> geometa::ISOCoverageDescription
-> ISOImageryCoverageDescription
rangeElementDescription
rangeElementDescription [0..*] : ISOImageryRangeElementDescription
geometa::geometaLogger$ERROR()
geometa::geometaLogger$INFO()
geometa::geometaLogger$WARN()
geometa::ISOAbstractObject$addFieldAttrs()
geometa::ISOAbstractObject$addListElement()
geometa::ISOAbstractObject$contains()
geometa::ISOAbstractObject$createLocalisedProperty()
geometa::ISOAbstractObject$decode()
geometa::ISOAbstractObject$delListElement()
geometa::ISOAbstractObject$encode()
geometa::ISOAbstractObject$getClass()
geometa::ISOAbstractObject$getClassName()
geometa::ISOAbstractObject$getNamespaceDefinition()
geometa::ISOAbstractObject$isDocument()
geometa::ISOAbstractObject$isFieldInheritedFrom()
geometa::ISOAbstractObject$print()
geometa::ISOAbstractObject$save()
geometa::ISOAbstractObject$setAttr()
geometa::ISOAbstractObject$setCodeList()
geometa::ISOAbstractObject$setCodeListValue()
geometa::ISOAbstractObject$setCodeSpace()
geometa::ISOAbstractObject$setHref()
geometa::ISOAbstractObject$setId()
geometa::ISOAbstractObject$setIsNull()
geometa::ISOAbstractObject$setValue()
geometa::ISOAbstractObject$validate()
geometa::ISOAbstractObject$wrapBaseElement()
geometa::ISOCoverageDescription$addDimension()
geometa::ISOCoverageDescription$delDimension()
geometa::ISOCoverageDescription$setAttributeDescription()
geometa::ISOCoverageDescription$setContentType()
new()
Initializes object
ISOImageryCoverageDescription$new(xml = NULL)
xml
object of class XMLInternalNode-class
addRangeElementDescription()
Adds range element description
ISOImageryCoverageDescription$addRangeElementDescription(description)
description
object of class ISOImageryRangeElementDescription
TRUE
if added, FALSE
otherwise
delRangeElementDescription()
Deletes range element description
ISOImageryCoverageDescription$delRangeElementDescription(description)
description
object of class ISOImageryRangeElementDescription
TRUE
if deleted, FALSE
otherwise
clone()
The objects of this class are cloneable with this method.
ISOImageryCoverageDescription$clone(deep = FALSE)
deep
Whether to make a deep clone.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
ISO 19115-2:2009 - Geographic information – Metadata Part 2: Extensions for imagery and gridded data
#create coverage description
md <- ISOImageryCoverageDescription$new()
md$setAttributeDescription("test")
md$setContentType("modelResult")
#adding 3 arbitrary dimensions
for(i in 1:3){
band <- ISOBand$new()
mn <- ISOMemberName$new(aName = sprintf("name %s",i), attributeType = sprintf("type %s",i))
band$setSequenceIdentifier(mn)
band$setDescriptor("descriptor")
band$setMaxValue(10)
band$setMinValue(1)
gml <- GMLBaseUnit$new(id = sprintf("ID%s",i))
gml$setDescriptionReference("someref")
gml$setIdentifier("identifier", "codespace")
gml$addName("name1", "codespace")
gml$addName("name2", "codespace")
gml$setQuantityTypeReference("someref")
gml$setCatalogSymbol("symbol")
gml$setUnitsSystem("somelink")
band$setUnits(gml)
band$setPeakResponse(9)
band$setBitsPerValue(5)
band$setToneGradation(100)
band$setScaleFactor(1)
band$setOffset(4)
md$addDimension(band)
}
des <- ISOImageryRangeElementDescription$new()
des$setName("name")
des$setDefinition("description")
des$addRangeElement("record1")
des$addRangeElement("record2")
md$addRangeElementDescription(des)
xml <- md$encode()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.