Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

serialize sf objects #2

Open
SymbolixAU opened this issue Jan 14, 2020 · 1 comment
Open

serialize sf objects #2

SymbolixAU opened this issue Jan 14, 2020 · 1 comment

Comments

@SymbolixAU
Copy link
Collaborator

SymbolixAU commented Jan 14, 2020

Adapt serialize to accept sf objects

options

  1. convert sf to mapbox::geometry type (will incur a penalty for conversion)
  2. re-write serialize to work on Rcpp::List (sf object) (will take longer)
  3. use sfheaders::sf_to_df() to convert to columnar structure (which I think is what serialize() wants).
@SymbolixAU
Copy link
Collaborator Author

SymbolixAU commented Jan 15, 2020

templated Rcpp::wrap() calls for mapbox geometries - https://github.com/SymbolixAU/mapboxGeometry/blob/master/inst/include/mapboxgeometry.hpp#L17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants