ISOImageryPlatformPass: ISOImageryPlatformPass

ISOImageryPlatformPassR Documentation

ISOImageryPlatformPass

Description

ISOImageryPlatformPass

ISOImageryPlatformPass

Format

R6Class object.

Value

Object of R6Class for modelling an ISO imagery PlatformPass

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOImageryPlatformPass

Public fields

identifier

identifier [1..1]: ISOMetaIdentifier

extent

extent [0..1]: ?

relatedEvent

relatedEvent [0..*]: ISOImageryEvent

Methods

Public methods

Inherited methods

Method new()

Initializes object

Usage
ISOImageryPlatformPass$new(xml = NULL)
Arguments
xml

object of class XMLInternalNode-class


Method setIdentifier()

Set identifier

Usage
ISOImageryPlatformPass$setIdentifier(identifier)
Arguments
identifier

object of class ISOMetaIdentifier or character


Method setExtent()

Set extent

Usage
ISOImageryPlatformPass$setExtent(extent)
Arguments
extent

simple feature geometry object from sf


Method addEvent()

Adds event

Usage
ISOImageryPlatformPass$addEvent(event)
Arguments
event

object of class ISOImageryEvent

Returns

TRUE if added, FALSE otherwise


Method delEvent()

Deletes event

Usage
ISOImageryPlatformPass$delEvent(event)
Arguments
event

object of class ISOImageryEvent

Returns

TRUE if deleted, FALSE otherwise


Method clone()

The objects of this class are cloneable with this method.

Usage
ISOImageryPlatformPass$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 <- ISOImageryPlatformPass$new()
   md$setIdentifier("identifier")
   
   require(sf)
   outer = matrix(c(0,0,10,0,10,10,0,10,0,0),ncol=2, byrow=TRUE)
   hole1 = matrix(c(1,1,1,2,2,2,2,1,1,1),ncol=2, byrow=TRUE)
   hole2 = matrix(c(5,5,5,6,6,6,6,5,5,5),ncol=2, byrow=TRUE)
   pts = list(outer, hole1, hole2)
   pl = st_polygon(pts)
   md$setExtent(pl)
   
   xml <- md$encode()


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