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

Compatibility with rio-vrt v.0.3.1 #1110

Open
Tjalling-dejong opened this issue Feb 12, 2025 · 1 comment
Open

Compatibility with rio-vrt v.0.3.1 #1110

Tjalling-dejong opened this issue Feb 12, 2025 · 1 comment
Labels
Enhancement New feature or request Needs refinement issue still needs refinement

Comments

@Tjalling-dejong
Copy link
Contributor

Kind of request

Changing existing functionality

Enhancement Description

Currently the the test_to_xyz_tiles will break when version 0.3.1 of rio-vrt is installed. This is because the test wants to create virtual raster from a single raster. Rio-vrt v0.3.1 does not allow that.

I suggest to include a check in RasterDataArray.to_xyz_tiles that checks if for the given zoom level a single raster tile is given for creating a vrt and then either raises an error or issues a warning and does not continue to build a vrt.

Use case

No response

Additional Context

No response

@Tjalling-dejong Tjalling-dejong added Enhancement New feature or request Needs refinement issue still needs refinement labels Feb 12, 2025
@DirkEilander
Copy link
Contributor

@roeldegoede Is the raster functionality to_xyz_tiles and to_slippy_tiles used in the FloodAdapt ecosystem to your knowledge? Otherwise we might as well remove these methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Needs refinement issue still needs refinement
Projects
None yet
Development

No branches or pull requests

2 participants