Re: [JPP-Devel] Error message on Monoband raster loaded as ReferencedImage or as RasterImageLayer

2020-09-17 Thread Giuseppe Aruta
Thanks Ede Il gio 17 set 2020, 16:47 ha scritto: > let me have a look at it over the weekend. i am fairly certain that i can > cut out some computing which is not necessary for sextante raster, which > might already fix this issue. > > ..ede > > On 9/17/2020 15:34, Giuseppe Aruta wrote: > > In

Re: [JPP-Devel] Error message on Monoband raster loaded as ReferencedImage or as RasterImageLayer

2020-09-17 Thread edgar . soldin
let me have a look at it over the weekend. i am fairly certain that i can cut out some computing which is not necessary for sextante raster, which might already fix this issue. ..ede On 9/17/2020 15:34, Giuseppe Aruta wrote: > In any case I need compare the same errors with Roberto: > we are

Re: [JPP-Devel] Error message on Monoband raster loaded as ReferencedImage or as RasterImageLayer

2020-09-17 Thread Giuseppe Aruta
In any case I need compare the same errors with Roberto: we are working around this "bug" since a couple of days and right now we cannot perfectly duplicate the same errors: I have errors only on one file, anyhowI can load and view all the file, included the fault one) Robberto verified the error

Re: [JPP-Devel] Error message on Monoband raster loaded as ReferencedImage or as RasterImageLayer

2020-09-17 Thread Giuseppe Aruta
Hi Ede, sorry, I sent the message just a microsecond I received yours >how about we modify the sources eg. TIFFUtil and others instead to fit your need instead? Yes >i don't understand. you mean retrieving georeferencing values, image dimensions, both? georeferencing values. In the way sextante

Re: [JPP-Devel] Error message on Monoband raster loaded as ReferencedImage or as RasterImageLayer

2020-09-17 Thread Giuseppe Aruta
Ok, I made this quick test: a) I identified that in the class GeoImageFactory there is a method to define the priority of the loader public static int getPriority(... b) I found this line (227, I think) if (name.startsWith("com.vividsolutions.jump.workbench.imagery")) { return 10;

Re: [JPP-Devel] Error message on Monoband raster loaded as ReferencedImage or as RasterImageLayer

2020-09-17 Thread edgar . soldin
hey Peppe, On 9/17/2020 14:58, Giuseppe Aruta wrote: > Hi Ede, > the class > com.vividsolutions.jump.workbench.imagery.geoimg.GeoReferencedRaster (and > related) work very well on loading raster in sextante. > In order to clean up from any message error belonging to classes non used > by

Re: [JPP-Devel] Error message on Monoband raster loaded as ReferencedImage or as RasterImageLayer

2020-09-17 Thread Giuseppe Aruta
Hi Ede, the class com.vividsolutions.jump.workbench.imagery.geoimg.GeoReferencedRaster (and related) work very well on loading raster in sextante. In order to clean up from any message error belonging to classes non used by Sextante (ReferencedImage at similar and the method .paint. I made a copy

Re: [JPP-Devel] Error message on Monoband raster loaded as ReferencedImage or as RasterImageLayer

2020-09-16 Thread edgar . soldin
hey Peppe, could you provide one or more of the problematic image files as well? ..ede On 9/16/2020 7:12, Giuseppe Aruta wrote: > Hi Ede, > I also attached to this mail a more exhaustive error message. > > This is what the console shows sometimes when the error occurs in OpenJUMP. > This

Re: [JPP-Devel] Error message on Monoband raster loaded as ReferencedImage or as RasterImageLayer

2020-09-15 Thread edgar . soldin
Peppe, please provide the complete error stacks or even better the OJ log file ..ede On 9/15/2020 13:14, Giuseppe Aruta wrote: > Hi all > Sometimes I try to load a monoband raster, like the one I attached to this > mail, and I get this message of error: > >  /(Referenced Image Exception) >

[JPP-Devel] Error message on Monoband raster loaded as ReferencedImage or as RasterImageLayer

2020-09-15 Thread Giuseppe Aruta
Hi all Sometimes I try to load a monoband raster, like the one I attached to this mail, and I get this message of error: *(Referenced Image Exception)com.vividsolutions.jump.workbench.imagery.ReferencedImageException: java.lang.ArrayIndexOutOfBoundsException at