-
Notifications
You must be signed in to change notification settings - Fork 368
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
GMT crashes when grdcut a tiff file #3992
Comments
Cannot immediately reproduce that:
|
Tried both GDAL 2.4.4 and 3.1.2. They both crash. |
OK, after dinner and movie... |
It doesn't crash for me neither. |
Remember that although you ask for -Gabc.tiff, what is written here is a grid (netCDF). And you loose the green and blue layers since a grid is z only. I think you were imagining a subset of an image to be written? Also, you had some other GDAL related troubles so perhaps the crash is part of that? |
If we actually wanted grdcut to work on images like you probably expected, the shortcut to implementation would be
Coded up as a short functions that sets the virtual files stuff it is all done in memory. |
We talked this before. The solution should go into grdgdal. |
This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions. |
Hmm, but this tiff file is indexed so it should have ~worked (though loose the cpt). |
Does this still crash for @seisman ? Works fine for me. |
It still crashes for me. |
And for me too, but Kristof showed as the example of the land cover file where he was able to do a |
This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions. |
Yes, it works with PR #5798. |
Great, thanks! |
Fixed by #5798 |
The text was updated successfully, but these errors were encountered: