Hi Ede, thanks for the answer. I found that GeoReferencedRaster is more versatile to read TIFF than simple JAI. I used this class to modify TiFFUtils.readImage(..) method, used by Sextante RasterImage framework to load TIFF.
Peppe Il giorno dom 6 set 2020 alle ore 16:44 <edgar.sol...@web.de> ha scritto: > On 03.09.2020 09:33, Giuseppe Aruta wrote: > > Hi Ede,is it possible to use > > com.vividsolutions.jump.workbench.imagery.geoimg.GeoRaster > > to read an image file? > > And how? > > same as GeoReferencedRaster > > but as > > public class GeoReferencedRaster extends GeoRaster > > you don't really gain anything, because GeoRaster is essentially > GeoReferencedRaster without some fancy geo metadata processing. look at > it's load routine > > protected void readRasterfile() throws ReferencedImageException { > super.readRasterfile(); > ... > > > > I can easily use GeoReferencedRaster(File file) > > but not GeoRaster(File file) > > hmm the class seems to be abstract although no methods or members are > abstract. probably because of that. we can make it public, but as said. it > merely a base class to create a JAI object to be rendered. the referenced > (geo data enriched) image will be provided by GeoReferencedRaster. > > hope i confused you some more :) ..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