ISOVectorSpatialRepresentation: ISOVectorSpatialRepresentation

ISOVectorSpatialRepresentationR Documentation

ISOVectorSpatialRepresentation

Description

ISOVectorSpatialRepresentation

ISOVectorSpatialRepresentation

Format

R6Class object.

Value

Object of R6Class for modelling an ISO VectorSpatialRepresentation

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> geometa::ISOSpatialRepresentation -> ISOVectorSpatialRepresentation

Public fields

topologyLevel

topologyLevel [0..1]: ISOTopologyLevel

geometricObjects

geometricObjects [0..*]: ISOGeometricObjects

Methods

Public methods

Inherited methods

Method new()

Initializes object

Usage
ISOVectorSpatialRepresentation$new(xml = NULL)
Arguments
xml

object of class XMLInternalNode-class


Method setTopologyLevel()

Set topology level

Usage
ISOVectorSpatialRepresentation$setTopologyLevel(topologyLevel)
Arguments
topologyLevel

object of class ISOTopologyLevel or character among values returned by ISOTopologyLevel$values()


Method addGeometricObjects()

Adds geometric objects

Usage
ISOVectorSpatialRepresentation$addGeometricObjects(geometricObjects)
Arguments
geometricObjects

geometric objects, object of ISOGeometricObjects

Returns

TRUE if added, FALSE otherwise


Method setGeometricObjects()

Set geometric objects

Usage
ISOVectorSpatialRepresentation$setGeometricObjects(geometricObjects)
Arguments
geometricObjects

geometric objects, object of ISOGeometricObjects

Returns

TRUE if set, FALSE otherwise


Method delGeometricObjects()

Deletes geometric objects

Usage
ISOVectorSpatialRepresentation$delGeometricObjects(geometricObjects)
Arguments
geometricObjects

geometric objects, object of ISOGeometricObjects

Returns

TRUE if deleted, FALSE otherwise


Method clone()

The objects of this class are cloneable with this method.

Usage
ISOVectorSpatialRepresentation$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

  md <- ISOVectorSpatialRepresentation$new()
  md$setTopologyLevel("geometryOnly")
  geomObject1 <- ISOGeometricObjects$new()
  geomObject1$setGeometricObjectType("surface")
  geomObject1$setGeometricObjectCount(5L)
  md$addGeometricObjects(geomObject1)
  xml <- md$encode()
  

eblondel/geometa documentation built on April 18, 2024, 1:46 p.m.