| ISOVectorSpatialRepresentation {geometa} | R 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
topologyLeveltopologyLevel [0..1]: ISOTopologyLevel
geometricObjectsgeometricObjects [0..*]: ISOGeometricObjects
Methods
Public methods
Inherited methods
geometa::geometaLogger$ERROR()geometa::geometaLogger$INFO()geometa::geometaLogger$WARN()geometa::ISOAbstractObject$addFieldAttrs()geometa::ISOAbstractObject$addListElement()geometa::ISOAbstractObject$contains()geometa::ISOAbstractObject$createLocalisedProperty()geometa::ISOAbstractObject$decode()geometa::ISOAbstractObject$delListElement()geometa::ISOAbstractObject$encode()geometa::ISOAbstractObject$getClass()geometa::ISOAbstractObject$getClassName()geometa::ISOAbstractObject$getNamespaceDefinition()geometa::ISOAbstractObject$isDocument()geometa::ISOAbstractObject$isFieldInheritedFrom()geometa::ISOAbstractObject$print()geometa::ISOAbstractObject$save()geometa::ISOAbstractObject$setAttr()geometa::ISOAbstractObject$setCodeList()geometa::ISOAbstractObject$setCodeListValue()geometa::ISOAbstractObject$setCodeSpace()geometa::ISOAbstractObject$setHref()geometa::ISOAbstractObject$setId()geometa::ISOAbstractObject$setIsNull()geometa::ISOAbstractObject$setValue()geometa::ISOAbstractObject$validate()geometa::ISOAbstractObject$wrapBaseElement()
Method new()
Initializes object
Usage
ISOVectorSpatialRepresentation$new(xml = NULL)
Arguments
xmlobject of class XMLInternalNode-class
Method setTopologyLevel()
Set topology level
Usage
ISOVectorSpatialRepresentation$setTopologyLevel(topologyLevel)
Arguments
topologyLevelobject of class ISOTopologyLevel or character among values returned by
ISOTopologyLevel$values()
Method addGeometricObjects()
Adds geometric objects
Usage
ISOVectorSpatialRepresentation$addGeometricObjects(geometricObjects)
Arguments
geometricObjectsgeometric objects, object of ISOGeometricObjects
Returns
TRUE if added, FALSE otherwise
Method setGeometricObjects()
Set geometric objects
Usage
ISOVectorSpatialRepresentation$setGeometricObjects(geometricObjects)
Arguments
geometricObjectsgeometric objects, object of ISOGeometricObjects
Returns
TRUE if set, FALSE otherwise
Method delGeometricObjects()
Deletes geometric objects
Usage
ISOVectorSpatialRepresentation$delGeometricObjects(geometricObjects)
Arguments
geometricObjectsgeometric 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
deepWhether 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()