Hello,

In my project I need to render a map that consists of several GeoTiff-files, 
which are in EPSG:2393, in EPSG:2392. While GeoTools makes the transformation 
fine, but it leaves black or brown (value 0.0) borders around the geotiffs when 
rendering. The transformation involves rotating the geotiffs. Because of this, 
the single geotiffs have very large and visible seams instead of forming a nice 
and continuous  map.

This is illustrated in the attached picture with two different geotiffs 
(different maps altogether) used as a background. I render the map context with 
different geotiffs added as layers in pieces of 400x400 px which are stored in 
a cache.

Is there a way to change how the borders are handled? Preferrably the renderer 
should draw only the existing data or draw the borders with full transparency.

I noticed that there is Resample.BACKGROUND_VALUES hint in 
org.geotools.coverage.processing.operation. Is it the right thing to use and 
how can I pass it to the rendering pipeline?

Thank you very much,
        Markus

<<attachment: mapseams.jpg>>

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to