-
Notifications
You must be signed in to change notification settings - Fork 2
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
can we make spex() independent? #23
Comments
The spex extent will be gotten from embedded bbox or by traversing the coordinates (geometries pkg), and we can allow its use in raster and so on along with buffer_extent. The rest can go, or just a new package. crsmeta will do the crs |
Oh,can we generate a raster extent as S4 object? I think we can if only by using a copy |
A problem is terra and S2 and whatever else with opaque pointers, but I think the success of these new packages will ultimately depend on some kind of consensus and consolidation of this basic stuff. (Spatial was a great start, a clever abstraction but the fact it didn't work doesn't mean it can't. raster made it really good, and still has the good bits even though it's otherwise abandoned) |
I don't think we can beat S4, you can't set the "class" attribute, this invokes a search for the class def attr(attr(x, "class"), "package") <- "raster" (but that's allright, we don't need to construct them just get their values) |
replace with wk! https://twitter.com/paleolimbot/status/1409504922433957896?s=20 this implies that spex drops raster/sp and so on and virtualizes around the rct type ... should be a good example and a fix for hypertidy/ceramic#40 |
Considering only the function
spex()
, we want:I think we can, because we only need sp and raster if we use accessors in ways that trigger code to run.
All these lines are run in fresh sessions, but the uncommented ones can be run without loading sp.
What about new objects.
Let's check for sure.
Created on 2020-05-16 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: