ISOSpatialTemporalExtent: ISOSpatialTemporalExtent

ISOSpatialTemporalExtentR Documentation

ISOSpatialTemporalExtent

Description

ISOSpatialTemporalExtent

ISOSpatialTemporalExtent

Format

R6Class object.

Value

Object of R6Class for modelling an ISO SpatialTemporalExtent

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> geometa::ISOTemporalExtent -> ISOSpatialTemporalExtent

Public fields

spatialExtent

spatialExtent [1..*]: ISOGeographicExtent

Methods

Public methods

Inherited methods

Method new()

Initializes object

Usage
ISOSpatialTemporalExtent$new(xml = NULL)
Arguments
xml

object of class XMLInternalNode-class


Method addSpatialExtent()

Adds spatial extent

Usage
ISOSpatialTemporalExtent$addSpatialExtent(spatialExtent)
Arguments
spatialExtent

object of class ISOGeographicExtent

Returns

TRUE if added, FALSE otherwise


Method delSpatialExtent()

Deletes spatial extent

Usage
ISOSpatialTemporalExtent$delSpatialExtent(spatialExtent)
Arguments
spatialExtent

object of class ISOGeographicExtent

Returns

TRUE if deleted, FALSE otherwise


Method clone()

The objects of this class are cloneable with this method.

Usage
ISOSpatialTemporalExtent$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

References

ISO 19115:2003 - Geographic information – Metadata

Examples

  #create object
  md <- ISOSpatialTemporalExtent$new()
  start <- ISOdate(2000, 1, 12, 12, 59, 45)
  end <- ISOdate(2010, 8, 22, 13, 12, 43)
  tp <- GMLTimePeriod$new(beginPosition = start, endPosition = end)
  md$setTimePeriod(tp)
  spatialExtent <- ISOGeographicBoundingBox$new(minx = -180, miny = -90, maxx = 180, maxy = 90)
  md$addSpatialExtent(spatialExtent)
  
  xml <- md$encode()
  

geometa documentation built on Oct. 29, 2022, 1:06 a.m.