Hi all.

I am processing images by GDAL (warp, then gdaladdo) to geotiff with alpha 
channel. When are images drawn by StreamingRenderer there are 2 problems:

1] I think that for rendering should be used overview with resolution 
better than result resolution - if exist. But it seems that overview with 
nearest resolution (even worse than result) is sometimes used. Is this 
problem solved here: 
http://www.nabble.com/VALUE_OVERVIEW_POLICY-in-Hints-td14516886.html ? Is 
there any workaround for GT 2.3.X?

2] I have images with white background - so also edge pixels are white. 
After gdalwarp there is fully transparent space around original image. 
Also overviews have fully white borders (I checked it by viewer). But 
after rendering there is gray border. It seems that interpolation takes in 
account also pixels which are transparent (and have black RGB value). When 
zoom is big enough to use original file then gray border disappear. Is 
there possibility to choose kind of interpolation? Are used different 
algorithms for overviews and original image? Setting hints for 
StreamingRenderer doesn't help.

Thank you in advance!

Best regards
Jaroslav Kubos
--------------------------------------------------------------
Ing. Jaroslav Kubos
Amberg Engineering a.s.
Ptasinskeho 10
602 00 Brno
Czech Republic

Phone: +420 541 432 659
Email: [EMAIL PROTECTED]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to