Learn R Programming

geometa (version 0.7)

ISOImageryGCPCollection: ISOImageryGCPCollection

Description

ISOImageryGCPCollection

Arguments

Value

Object of R6Class for modelling an ISO imagery gcp collection

Format

R6Class object.

Methods

new(xml)

This method is used to instantiate an ISOImageryGCPCollection

setCollectionIdentification(id)

Set the identifier, object of class integer

setCollectionName(name, locales)

Sets a name (object of class "character"). Locale names can be specified as list with the locales argument.

setCoordinateReferenceSystem(crs)

Sets the crs, object of class ISOReferenceSystem

addGCP(gcp)

Adds a GCP, object of class ISOImageryGCP

delGCP(gcp)

Deletes a GCP, object of class ISOImageryGCP

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

References

ISO 19115-2:2009 - Geographic information -- Metadata Part 2: Extensions for imagery and gridded data

Examples

Run this code
  md <- ISOImageryGCPCollection$new()
  md$setCollectionIdentification(1L)
  md$setCollectionName("name")
  rs <- ISOReferenceSystem$new()
  rsId <- ISOReferenceIdentifier$new(code = "4326", codeSpace = "EPSG")
  rs$setReferenceSystemIdentifier(rsId)
  md$setCoordinateReferenceSystem(rs)
  xml <- md$encode()

Run the code above in your browser using DataLab