ISOImageryGCPCollection: ISOImageryGCPCollection

ISOImageryGCPCollectionR Documentation

ISOImageryGCPCollection

Description

ISOImageryGCPCollection

ISOImageryGCPCollection

Format

R6Class object.

Value

Object of R6Class for modelling an ISO imagery gcp collection

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

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> geometa::ISOImageryAbstractGeolocationInformation -> ISOImageryGCPCollection

Public fields

collectionIdentification

collectionIdentification [1..1]: integer

collectionName

collectionName [1..1]: character|ISOLocalisedCharacterString

coordinateReferenceSystem

coordinateReferenceSystem [1..1]: ISOReferenceSystem

gcp

gcp [0..*]: list of ISOImageryGCP

Methods

Public methods

Inherited methods

Method new()

Initializes object

Usage
ISOImageryGCPCollection$new(xml = NULL)
Arguments
xml

object of class XMLInternalNode-class


Method setCollectionIdentification()

Set collection identification id

Usage
ISOImageryGCPCollection$setCollectionIdentification(id)
Arguments
id

object of class integer


Method setCollectionName()

Set collection name

Usage
ISOImageryGCPCollection$setCollectionName(name, locales = NULL)
Arguments
name

object of class character

locales

list of localized names. Default is NULL


Method setCoordinateReferenceSystem()

Set coordinate reference system

Usage
ISOImageryGCPCollection$setCoordinateReferenceSystem(crs)
Arguments
crs

object of class ISOReferenceSystem


Method addGCP()

Adds GCP

Usage
ISOImageryGCPCollection$addGCP(gcp)
Arguments
gcp

object of class ISOImageryGCP

Returns

TRUE if added, FALSE otherwise


Method delGCP()

Deletes GCP

Usage
ISOImageryGCPCollection$delGCP(gcp)
Arguments
gcp

object of class ISOImageryGCP

Returns

TRUE if deleted, FALSE otherwise


Method clone()

The objects of this class are cloneable with this method.

Usage
ISOImageryGCPCollection$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

References

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

Examples

  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()


geometa documentation built on May 29, 2024, 10:31 a.m.