Thanks for the feedback Roberto,

I think the current implementation may explain your observations.

To estimate if there is enough memory left to display the next raster, I just use the image size (number of pixels) x 4 (a common size in bytes for a pixel in a color image). If the image store pixels in a single bit or on a 8 bytes float, the estimation may be wrong. Could be improved.

I don't know much about the icon display, but I also noticed that it is always displayed in color, then turned to b&w for b&w images. I suspect in case the image is not displayed, the change is never done. Something to fix here again.

Let's postpone these refinements to next versions, I will complete the bug tracker. 

Michaël

envoyé : 24 novembre 2020 à 00:06
de : Roberto Rossi <roberto.ro...@unipd.it>
à : OpenJump develop and use <jump-pilot-devel@lists.sourceforge.net>
objet : [JPP-Devel] [bugs:#513] displaying raster layers in a correct way


I tested the 6642 release with the raster dataset.

I loaded several times all the dataset and I could no reproduce The problem "raster displaying": all the raster are correctly displayed!

I had the yellow warning (Low Memory : image xxx will not be displayed) after 45 Raster loaded (almost 1 Gb assigned memory in the status bar).

For that raster the symbol remains and does not become

Curiously I had another Low Memory yellow warning in one of the first files loaded, followed from several raster loaded correctly: it's the only 2 bit raster (black and white tif image), the file size is smaller (2 bit per pixel) than the others but the numbers of pixel is much more bigger.

Roberto

--

Roberto Rossi
Dipartimento di Geoscienze
Università degli Studi di Padova
Via G. Gradenigo, 6 - 35131 Padova (Italy)
Tel. +39 049 827 9138


Docente a contratto di Applicazioni GIS in idrologia
Corso di Laurea Magistrale in Scienze forestali e ambientali

e-mail: roberto.ro...@unipd.it
Mob. +39 347 6780087


 

_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to