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

implement terra 'SpatRaster' and 'SpatVector' inputs #20

Closed
AMBarbosa opened this issue Jan 3, 2022 · 4 comments
Closed

implement terra 'SpatRaster' and 'SpatVector' inputs #20

AMBarbosa opened this issue Jan 3, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@AMBarbosa
Copy link

Hi, the 'terra' package is becoming increasingly used, as it replaces both 'raster' and 'sp'+'rgdal' and makes everything much faster. Would you be willing to implement the 'SpatRaster' and 'SpatVector' input formats too? In my experience, transition from 'sp'+'raster' was quite easy, and I've already implemented it in my own packages. Cheers!

@rvalavi
Copy link
Owner

rvalavi commented Jan 4, 2022

Hi @AMBarbosa
Thanks for the recommendation. I've already moved to terra in my own codes but haven't implemented it here. I'll move to terra as soon as I have some time. The major update (v2.0) was moving away from sp to sf. Replacing raster with terra should be relatively easy.

@rvalavi
Copy link
Owner

rvalavi commented Jan 4, 2022

I'll keep this issue open until the updating process is done!

@AMBarbosa
Copy link
Author

Cool, thanks! Please remember to implement also 'SpatVector', as it is a sound and simple alternative to 'sf' that many users prefer.

@rvalavi
Copy link
Owner

rvalavi commented Jan 29, 2023

Good news! blockCV is no update with all raster operations in terra and sf.

@rvalavi rvalavi closed this as completed Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants