| ISODataIdentification19139 | R Documentation |
ISODataIdentification19139
ISODataIdentification19139
R6Class object.
Object of R6Class for modelling an ISO DataIdentification in ISO 19139
geometa::geometaLogger -> geometa::ISOAbstractObject -> geometa::ISOIdentification -> geometa::ISOIdentification19139 -> ISODataIdentification19139
spatialRepresentationTypespatialRepresentationType [0..*]: ISOSpatialRepresentationType
spatialResolutionspatialResolution [0..*]: ISOResolution
temporalResolution[0..*]: ISOPeriodDuration
languagelanguage [1..*]: character
characterSetcharacterSet [0..*]: ISOCharacterSet
topicCategorytopicCategory [0..*]: ISOTopicCategory
environmentDescriptionenvironment description [0..1]: character
extentextent [0..*]: ISOExtent
supplementalInformationsupplementalInformation
geometa::geometaLogger$ERROR()geometa::geometaLogger$INFO()geometa::geometaLogger$WARN()geometa::ISOAbstractObject$addFieldAttrs()geometa::ISOAbstractObject$addListElement()geometa::ISOAbstractObject$checkMetadataStandardCompliance()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$stopIfMetadataStandardIsNot()geometa::ISOAbstractObject$validate()geometa::ISOAbstractObject$wrapBaseElement()geometa::ISOIdentification19139$addAggregateInformation()geometa::ISOIdentification19139$addCredit()geometa::ISOIdentification19139$addFormat()geometa::ISOIdentification19139$addGraphicOverview()geometa::ISOIdentification19139$addKeywords()geometa::ISOIdentification19139$addPointOfContact()geometa::ISOIdentification19139$addResourceConstraints()geometa::ISOIdentification19139$addResourceMaintenance()geometa::ISOIdentification19139$addResourceSpecificUsage()geometa::ISOIdentification19139$addStatus()geometa::ISOIdentification19139$delAggregateInformation()geometa::ISOIdentification19139$delCredit()geometa::ISOIdentification19139$delFormat()geometa::ISOIdentification19139$delGraphicOverview()geometa::ISOIdentification19139$delKeywords()geometa::ISOIdentification19139$delPointOfContact()geometa::ISOIdentification19139$delResourceConstraints()geometa::ISOIdentification19139$delResourceMaintenance()geometa::ISOIdentification19139$delResourceSpecificUsage()geometa::ISOIdentification19139$delStatus()geometa::ISOIdentification19139$setAbstract()geometa::ISOIdentification19139$setCitation()geometa::ISOIdentification19139$setGraphicOverview()geometa::ISOIdentification19139$setKeywords()geometa::ISOIdentification19139$setPurpose()geometa::ISOIdentification19139$setResourceMaintenance()new()Initializes object
ISODataIdentification19139$new(xml = NULL)
xmlobject of class XMLInternalNode-class
addSpatialRepresentationType()Adds spatial representation type
ISODataIdentification19139$addSpatialRepresentationType( spatialRepresentationType )
spatialRepresentationTypeobject of class ISOSpatialRepresentationType or
any character among values returned by ISOSpatialRepresentationType$values()
TRUE if added, FALSE otherwise
delSpatialRepresentationType()Deletes spatial representation type
ISODataIdentification19139$delSpatialRepresentationType( spatialRepresentationType )
spatialRepresentationTypeobject of class ISOSpatialRepresentationType or
any character among values returned by ISOSpatialRepresentationType$values()
TRUE if deleted, FALSE otherwise
addSpatialResolution()Adds spatial resolution
ISODataIdentification19139$addSpatialResolution(resolution)
resolutionobject of class ISOResolution
TRUE if added, FALSE otherwise
delSpatialResolution()Deletes spatial resolution
ISODataIdentification19139$delSpatialResolution(resolution)
resolutionobject of class ISOResolution
TRUE if deleted, FALSE otherwise
addLanguage()Adds language
ISODataIdentification19139$addLanguage(locale)
localeobject of class ISOLanguage or any character
value among those returned by ISOLanguage$values()
TRUE if added, FALSE otherwise
setLanguage()Sets language
ISODataIdentification19139$setLanguage(locale)
localeobject of class ISOLanguage or any character
value among those returned by ISOLanguage$values()
TRUE if added, FALSE otherwise
delLanguage()Deletes language
ISODataIdentification19139$delLanguage(locale)
localeobject of class ISOLanguage or any character
value among those returned by ISOLanguage$values()
TRUE if deleted, FALSE otherwise
addCharacterSet()Adds character set
ISODataIdentification19139$addCharacterSet(charset)
charsetobject of class ISOCharacterSet or any character
value among those returned by ISOCharacterSet$values()
TRUE if added, FALSE otherwise
setCharacterSet()Sets character set
ISODataIdentification19139$setCharacterSet(charset)
charsetobject of class ISOCharacterSet or any character
value among those returned by ISOCharacterSet$values()
TRUE if added, FALSE otherwise
delCharacterSet()Deletes character set
ISODataIdentification19139$delCharacterSet(charset)
charsetobject of class ISOCharacterSet or any character
value among those returned by ISOCharacterSet$values()
TRUE if deleted, FALSE otherwise
addTopicCategory()Adds topic category
ISODataIdentification19139$addTopicCategory(topicCategory)
topicCategoryobject of class ISOTopicCategory or any character
value among those returned by ISOTopicCategory$values()
TRUE if added, FALSE otherwise
delTopicCategory()Deletes topic category
ISODataIdentification19139$delTopicCategory(topicCategory)
topicCategoryobject of class ISOTopicCategory or any character
value among those returned by ISOTopicCategory$values()
TRUE if deleted, FALSE otherwise
addExtent()Adds extent
ISODataIdentification19139$addExtent(extent)
extentobject of class ISOExtent
TRUE if added, FALSE otherwise
delExtent()Deletes extent
ISODataIdentification19139$delExtent(extent)
extentobject of class ISOExtent
TRUE if deleted, FALSE otherwise
setSupplementalInformation()Set supplemental information
ISODataIdentification19139$setSupplementalInformation( supplementalInformation, locales = NULL )
supplementalInformationsupplemental information
localesa list of localized information. Default is NULL
clone()The objects of this class are cloneable with this method.
ISODataIdentification19139$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
- ISO 19139 https://schemas.isotc211.org/19139/-/gmd/1.0/gmd/#element_MD_DataIdentification
#create dataIdentification
md <- ISODataIdentification$new()
md$setAbstract("abstract")
md$setPurpose("purpose")
md$addLanguage("eng")
md$addCharacterSet("utf8")
md$addTopicCategory("biota")
md$addTopicCategory("oceans")
#adding a point of contact
rp <- ISOResponsibleParty$new()
rp$setIndividualName("someone")
rp$setOrganisationName("somewhere")
rp$setPositionName("someposition")
rp$setRole("pointOfContact")
contact <- ISOContact$new()
phone <- ISOTelephone$new()
phone$setVoice("myphonenumber")
phone$setFacsimile("myfacsimile")
contact$setPhone(phone)
address <- ISOAddress$new()
address$setDeliveryPoint("theaddress")
address$setCity("thecity")
address$setPostalCode("111")
address$setCountry("France")
address$setEmail("someone@theorg.org")
contact$setAddress(address)
res <- ISOOnlineResource$new()
res$setLinkage("http://www.somewhereovertheweb.org")
res$setName("somename")
contact$setOnlineResource(res)
rp$setContactInfo(contact)
md$addPointOfContact(rp)
#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, 1))
ct$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
ct$addPresentationForm("mapDigital")
ct$addCitedResponsibleParty(rp)
md$setCitation(ct)
#graphic overview
go <- ISOBrowseGraphic$new(
fileName = "http://wwww.somefile.org/png",
fileDescription = "Map Overview",
fileType = "image/png"
)
md$addGraphicOverview(go)
#maintenance information
mi <- ISOMaintenanceInformation$new()
mi$setMaintenanceFrequency("daily")
md$addResourceMaintenance(mi)
#adding legal constraints
lc <- ISOLegalConstraints$new()
lc$addUseLimitation("limitation1")
lc$addUseLimitation("limitation2")
lc$addUseLimitation("limitation3")
lc$addAccessConstraint("copyright")
lc$addAccessConstraint("license")
lc$addUseConstraint("copyright")
lc$addUseConstraint("license")
md$addResourceConstraints(lc)
#adding extent
extent <- ISOExtent$new()
bbox <- ISOGeographicBoundingBox$new(minx = -180, miny = -90, maxx = 180, maxy = 90)
extent$addGeographicElement(bbox)
md$addExtent(extent)
#add keywords
kwds <- ISOKeywords$new()
kwds$addKeyword("keyword1")
kwds$addKeyword("keyword2")
kwds$setKeywordType("theme")
th <- ISOCitation$new()
th$setTitle("General")
th$addDate(d)
kwds$setThesaurusName(th)
md$addKeywords(kwds)
#supplementalInformation
md$setSupplementalInformation("some additional information")
xml <- md$encode()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.