ISOContact: ISOContact

Description Usage Format Value Fields Methods Author(s) References Examples

Description

ISOContact

Usage

1

Format

R6Class object.

Value

Object of R6Class for modelling an ISO Contact

Fields

onlineResource

Methods

new(xml)

This method is used to instantiate an ISOContact

setPhone(phone)

Sets the phone contact

setAddress(address)

Sets the address contact

setOnlineResource(onlineResource)

Sets the online resource

Author(s)

Emmanuel Blondel <[email protected]>

References

ISO 19115:2003 - Geographic information – Metadata

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
 md <- ISOContact$new()
 phone <- ISOTelephone$new()
 phone$setVoice("myphonenumber")
 phone$setFacsimile("myfacsimile")
 md$setPhone(phone)
 address <- ISOAddress$new()
 address$setDeliveryPoint("theaddress")
 address$setCity("thecity")
 address$setPostalCode("111")
 address$setCountry("France")
 address$setEmail("[email protected]")
 md$setAddress(address)
 res <- ISOOnlineResource$new()
 res$setLinkage("http://www.somewhereovertheweb.org")
 res$setName("somename")
 md$setOnlineResource(res)
 xml <- md$encode()
 

geometa documentation built on Aug. 22, 2018, 5:03 p.m.