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 load files there is a first step (in AddRasterImageWizard class to understand those values without loading the image (for TIFF files) - than all the process is activated through the other classes (excuse me for my very poor way to explain) Il giorno gio 17 set 2020 alle ore 15:22 <edgar.sol...@web.de> ha scritto: > 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 Sextante (ReferencedImage at similar and the method .paint. I made a > > copy of it (and GeoRaster class), cleaned from all those unused method, > > renamed (as SextanteReferencedRaster etc) and use it instead of the > > original to load Raster as Sextante. > > while i understand your approach here, which is good for learning and > understanding things i really do not like duplicated code in production. > how about we modify the sources eg. TIFFUtil and others instead to fit your > need instead? > > > My idea was also to modify the class in order to have a method that > > calculate the location of a raster without computing the image/raster. > > i don't understand. you mean retrieving georeferencing values, image > dimensions, both? > > > I was aware to have back the same error as Roberto. But the error was > > limited to only one file (among the one Roberto sent: Adrena070.tif) > which > > shows some values of the cells as doubles with many decimals, possibly > > derived from irrational number? > > give me some time to check that out. i am currently not sure what's going > on, but suspect some JAI operations at fault here. > > > Now I see your new mail about commons imaging: could it be that they are > > used somehow by the class GeoRaster? > > somehow, yes. but with no regard to the use via TIFFUtil class if the > forced loader is used. > > >And this explains the similar warning? > > should be completely unrelated. ArrayIndexOutOfBoundsException are the > NPEs of array handling. pretty common if not actually every possibility was > thought of before implementing the code. > > ..ede > > > > > _______________________________________________ > 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