-
Notifications
You must be signed in to change notification settings - Fork 82
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
Reset_extent is not behaving as expected with local file when raster extents is smaller than the shape extents. #213
Comments
mmm... hard to tell without the underlying data. Is it possible at all that the |
Hi @darribas , here is a code snippet that pulls the raster (small) from the internet.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I've made some tests to illustrate the problem I am facing. Here is my initial shape (world) and a syntetic raster with a square in Minas Gerais, Brazil. Visualizing it with reset_extent set to False:
If we filter the shape to Brazil (smaller than the raster) and set reset_extent to True, it will visualize correctly the raster.
But if we leave reset_extent = True and tries to visualize the world, it will stretch the raster to the world extents and it has no meaning at all...
Am I missing something here?
Thanks,
Mauricio
The text was updated successfully, but these errors were encountered: