8000 Compare `sf::gdal_utils()`, `terra` and `gdalraster` · Issue #7 · kadyb/geotips · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Compare sf::gdal_utils(), terra and gdalraster #7

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

Open
atsyplenkov opened this issue Feb 4, 2025 · 3 comments
Open

Compare sf::gdal_utils(), terra and gdalraster #7

atsyplenkov opened this issue Feb 4, 2025 · 3 comments

Comments

@atsyplenkov
Copy link

Hey @kadyb 👋

Are you accepting PRs? Would be interesting to see how the relatively new gdalraster performs in comparison with sf and terra. I can prepare a benchmark.

@kadyb
Copy link
Owner
kadyb commented Feb 4, 2025

Hey, thanks for the message. I have the benchmark repositories here with packages for vector and raster data processing, but I haven't updated it in a long time. We also had some discussions about the performance of gdalraster for loading rasters here.

What exactly would you be interested in?

@atsyplenkov
Copy link
Author
atsyplenkov commented Feb 4, 2025

Thanks! I haven't seen those benchmarks before. I don’t have a specific function/tool in mind—I just started a new project and thought it would be a great opportunity to finally test gdalraster in action. Over the past couple of years, your geotips have been my go-to resource.

Therefore, I came here yesterday looking for a performance comparison and advice on which package is better to use.

@kadyb
Copy link
Owner
kadyb commented Feb 4, 2025

I also thought about comparing gdalraster in the context of rasters. Chris recently added initial support for vectors too. The most important difference between packages, e.g. terra and sf is they are high-level interfaces, while gdalraster is low-level, so it would require writing additional code. We would have to see what could be reasonably compared. In gdalraster, I don't think there are zonal statistics, raster cropping or pixel value extraction (but there is PR for that now).

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
0