ISOImageryPlatform
ISOImageryPlatform
R6Class object.
Object of R6Class for modelling an ISO imagery platform
- 19139 https://schemas.isotc211.org/19115/-2/gmi/1.0/gmi/#element_MI_Platform
- 19115-3 https://schemas.isotc211.org/19115/-3/mac/2.0/mac/#element_MI_Platform
geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOImageryPlatform
citationcitation [0..*]: ISOCitation
identifieridentifier [1..1]: ISOMetaIdentifier
descriptiondescription [0..1]: character|ISOLocalisedCharacterString
sponsorsponsor [0..*]: ISOResponsibleParty
instrumentinstrument [0..*]: ISOImageryInstrument
otherPropertyTypeotherPropertyType [0..1] : ISORecordType (=> ISO 19115-3)
otherPropertyotherProperty [0..1] : ISORecord (=> ISO 19115-3)
historyhistory [0..*] : ISOInstrumentationEventList (=> ISO 19115-3)
Inherited methods
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()
new()Initializes object
ISOImageryPlatform$new(xml = NULL)xmlobject of class XMLInternalNode-class
setIdentifier()Set identifier
identifierobject of class ISOMetaIdentifier or character
setOtherPropertyType()setOtherPropertyType
otherPropertyTypeotherPropertyType object of class ISORecordType
setOtherProperty()setOtherProperty
otherPropertyotherProperty object of class ISORecord
addInstrumentationEventList()Adds instrumentation event list
instrumentEventListobject of class ISOInstrumentationEventList
delInstrumentationEventList()Adds instrumentation event list
instrumentEventListobject of class ISOInstrumentationEventList
md <- ISOImageryPlatform$new()
#add citation
rp1 <- ISOResponsibleParty$new()
rp1$setIndividualName("someone1")
rp1$setOrganisationName("somewhere1")
rp1$setPositionName("someposition1")
rp1$setRole("pointOfContact")
contact1 <- ISOContact$new()
phone1 <- ISOTelephone$new()
phone1$setVoice("myphonenumber1")
phone1$setFacsimile("myfacsimile1")
contact1$setPhone(phone1)
address1 <- ISOAddress$new()
address1$setDeliveryPoint("theaddress1")
address1$setCity("thecity1")
address1$setPostalCode("111")
address1$setCountry("France")
address1$setEmail("someone1@theorg.org")
contact1$setAddress(address1)
res <- ISOOnlineResource$new()
res$setLinkage("http://www.somewhereovertheweb.org")
res$setName("somename")
contact1$setOnlineResource(res)
rp1$setContactInfo(contact1)
#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))
ct$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
#> [1] TRUE
ct$addPresentationForm("mapDigital")
#> [1] TRUE
ct$addCitedResponsibleParty(rp1)
#> [1] TRUE
md$addCitation(ct)
#> [1] TRUE
md$setIdentifier("identifier")
md$setDescription("some description")
xml <- md$encode()
#> [geometa][WARN] Element '{http://standards.iso.org/iso/19115/-2/gmi/1.0}MI_Platform': Missing child element(s). Expected is one of ( {http://standards.iso.org/iso/19115/-2/gmi/1.0}sponsor, {http://standards.iso.org/iso/19115/-2/gmi/1.0}instrument ) at line 1.
#> [geometa][WARN] Object 'ISOImageryPlatform' is INVALID according to ISO 19139 XML schemas!