Re: [JPP-Devel] How to use com.vividsolutions.jump.workbench.imagery.geoimg.GeoRaster

2020-09-08 Thread Giuseppe Aruta
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  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


Re: [JPP-Devel] How to use com.vividsolutions.jump.workbench.imagery.geoimg.GeoRaster

2020-09-06 Thread edgar . soldin
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


Re: [JPP-Devel] How to use com.vividsolutions.jump.workbench.imagery.geoimg.GeoRaster

2020-09-03 Thread Giuseppe Aruta
Ops!
Maybe I was wrong.
The question is if
com.vividsolutions.jump.workbench.imagery.geoimg.GeoReferencedRaster can
read png, gif, bmp and jpg too ( not only Tiff it GeiTiff)
Thanks


Il gio 3 set 2020, 09:33 Giuseppe Aruta  ha
scritto:

> Hi Ede,is it possible to use
> com.vividsolutions.jump.workbench.imagery.geoimg.GeoRaster
> to read an image file?
> And how?
>
> I can easily use GeoReferencedRaster(File file)
> but not GeoRaster(File file)
>
> Thanks
> Peppe
>
>
>
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] How to use com.vividsolutions.jump.workbench.imagery.geoimg.GeoRaster

2020-09-03 Thread Giuseppe Aruta
Hi Ede,is it possible to use
com.vividsolutions.jump.workbench.imagery.geoimg.GeoRaster
to read an image file?
And how?

I can easily use GeoReferencedRaster(File file)
but not GeoRaster(File file)

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