DataBackendSpatialFeature: sf::sf as data backend

Description Format Construction Fields Public Methods Note

Description

For storing spatial data. The data is stored as a data.table but has methods to transform the object back to its intiail sf format.

Format

R6::R6Class object inheriting from DataBackendDataTable<-DataBackendDataFrame<-DataBackend.

Construction

1

Fields

Public Methods

Note

This class could be furthur improved by using a data.table to store non-spatial information of the data object and another just to store the spatial features. Both objects are linkable through a id column. To make sure both spatial and non-spatial information always match we can invoke a consistency check between the two everytime the user or its methods try to access private$.data.


dymium-org/dymiumCore documentation built on July 18, 2021, 5:10 p.m.