Closed
Description
In the current implementation, s2_geography
objects are wrappers over external pointers. This means that serializing and unserializing the data (e.g. when doing saveRDS()
) will result in a segfault (see also #259). While s2
data is originally intended to be an intermediate format for processing, the ability to store and load s2
objects would make the package more useful and prevent confusing bugs.
I would like to implement an initial implementation of serialization support and wanted to inquire whether the maintainers would be interesting in accepting such a contribution. The idea would be to wrap s2_geography
as a shallow ALTREP class implementing serialization methods.
Metadata
Metadata
Assignees
Labels
No labels