ubarsc / tuiview

TuiView is a lightweight raster GIS with powerful raster attribute table manipulation abilities
http://tuiview.org/
GNU General Public License v2.0
26 stars 13 forks source link

Workaround maximum Qt rowcount #19

Closed gillins closed 2 years ago

gillins commented 3 years ago

Seems that the Qt grid control starts misbehaving when there are more than approx. 100 million rows which isn't surprising. This is a workaround that caps the number of rows until we work out a better solution.

When the user clicks on a pixel greater that 100million its value is printed to stdout rather that highlighting and scrolling to that row (because it won't exist).

This is a stopgap until we come up with a better solution for very large tables.

cc: @petescarth