Learn R Programming

geometa (version 0.6-2)

ISOBrowseGraphic: ISOBrowseGraphic

Description

ISOBrowseGraphic

Usage

ISOBrowseGraphic

Arguments

Value

Object of R6Class for modelling an ISO BrowseGraphic

Format

R6Class object.

Fields

fileName

[character] file name

fileDescription

[character] file description

fileType

[character] file type

Methods

new(xml, fileName, fileDescription, fileType)

This method is used to instantiate an ISOBrowseGraphic

setFileName(fileName, locales)

Set file name. Locale names can be specified as list with the locales argument.

setFileDescription(fileDescription, locales)

Set file description. Locale names can be specified as list with the locales argument.

setFileType(fileType, locales)

Set file type. Locale names can be specified as list with the locales argument.

References

ISO 19115:2003 - Geographic information -- Metadata

Examples

Run this code
# NOT RUN {
 md <- ISOBrowseGraphic$new(
  fileName = "http://wwww.somefile.org/png",
  fileDescription = "Map Overview",
  fileType = "image/png"
 )
 xml <- md$encode()

# }

Run the code above in your browser using DataLab