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

deprecate use of sp package #214

Open
adokter opened this issue Apr 12, 2019 · 3 comments
Open

deprecate use of sp package #214

adokter opened this issue Apr 12, 2019 · 3 comments
Milestone

Comments

@adokter
Copy link
Owner

adokter commented Apr 12, 2019

  • package sp will be superceded by sf for vector format spatial data.
  • Package raster remains default choice for raster data

Suggestions Matt Strimas-Mackey:

sp is quickly becoming obsolete. SpatialGridDataFrame isn't a widely used format anyway. Raster is the way to go for gridded data. One huge benefit is that it doesn't read the data into memory like most data in R, instead it pulls it in chunks from the file. Gridded data can become quite large, so this avoids using up all your memory.

Two other options to consider:

  • https://github.com/r-spatial/stars is a new package specifically for dealing with spatiotemporal data. It's not widely adopted yet, but it seems like it could be perfect for our use case.
  • https://github.com/rspatial/terra this package will apparently replace raster. I think it's a long way from being done, so probably not worth looking into now, but keep eye on it for the future.
@adokter adokter added this to the 1.0.0 milestone Jul 23, 2019
@bart1
Copy link
Collaborator

bart1 commented Aug 14, 2019

A quick addition, if this is going to be implemented it might be worth to also think about integrating the use of units, both stars and sf work nicely with them. I think it is quite valuable to think about these and it is already nicely documented in the package so it should not be too hard.

@bart1
Copy link
Collaborator

bart1 commented Feb 5, 2020

This might relate to #255 as well

@adokter
Copy link
Owner Author

adokter commented May 8, 2023

see also #505

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

2 participants