Learn R Programming

geometa (version 0.6-2)

ISOImageryGCPCollection: ISOImageryGCPCollection

Description

ISOImageryGCPCollection

Usage

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

References

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

Examples

Run this code
# NOT RUN {
  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