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

error if sf is not loaded #26

Open
SymbolixAU opened this issue Aug 2, 2018 · 0 comments
Open

error if sf is not loaded #26

SymbolixAU opened this issue Aug 2, 2018 · 0 comments

Comments

@SymbolixAU
Copy link
Collaborator

This errors

library(mapdeck)
df <- roads
encode(df[1:200, ])

But this works (the internals)

library(mapdeck)
df <- roads
encode(df[1:200, ])
geomCol <- googlePolylines:::sfGeometryColumn(df[1:200, ])
lst <- googlePolylines:::rcpp_encodeSfGeometry(df[[geomCol]], FALSE)
@SymbolixAU SymbolixAU changed the title error error if sf is not loaded Aug 2, 2018
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