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::ISOAbstractSpatialRepresentation -> 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 19139 https://schemas.isotc211.org/19139/-/gmd/1.0/gmd/#element_MD_VectorSpatialRepresentation

- ISO 19115-3 https://schemas.isotc211.org/19115/-3/msr/1.0/msr/#element_MD_VectorSpatialRepresentation

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 Oct. 10, 2024, 4:46 p.m.