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
Fix speed regression in paletted raster renderer #56677
Conversation
Don't try to condense classes if we have many classes, it's too slow to do and results in many-minute hangs in the UI for large class counts Fixes qgis#56652
It looks like the issue fixed with this PR also makes QGIS hang for a very long time when importing paletted GeoTIFF layers (e.g. the output layers of some GRASS-GIS processing algorithms). |
@nyalldawson TBH I really don't like this band-aid. Let me see if I can find a better fix. |
@nyalldawson see: #56784 |
The QGIS project highly values your contribution and would love to see this work merged! Unfortunately this PR has not had any activity in the last 14 days and is being automatically marked as "stale". If you think this pull request should be merged, please check
|
While we hate to see this happen, this PR has been automatically closed because it has not had any activity in the last 21 days. If this pull request should be reconsidered, please follow the guidelines in the previous comment and reopen this pull request. Or, if you have any further questions, just ask! We love to help, and if there's anything the QGIS project can do to help push this PR forward please let us know how we can assist. |
Don't try to condense classes if we have many classes, it's too slow to do and results in many-minute hangs in the UI for large class counts
Fixes #56652
This is a bit of a quick-and-nasty fix -- possibly we could fix the issue in a better way with a hash lookup, but I couldn't get that working without still incurring a multi-second hang. I'm not sure what the real-world consequences are for NOT condensing classes here.
@elpaso do you have any insights? This was introduced as part of the raster attribute table work.