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

Reply via email to