Dear Markus,
we have added the aforementioned parameter lately therefore it is not well
documented yet (daniele can you please provide some info?).
Aside, I think that your problem requires a different solution since if you
reproject the single images separately you will still get a bad result even
if you manage to
tweak the bkg color. What you need is to mosaic the images in their original
CRS and then reproject the entire thing afterwards. This way you would not
get this annoying effect at the edges.
In order to be more specific I would need a bit more info about what you are
doing.
Regards,
Simone.
-------------------------------------------------------
===
Notice that our office phone number has recently changed!
Please, update your records!
===
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584962313
fax: +39 0584962313
mob: +39 333 8128928
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini
http://twitter.com/simogeo
-------------------------------------------------------
On Wed, Oct 6, 2010 at 1:55 PM, Sunela Markus <[email protected]> wrote:
> 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
>
> ------------------------------------------------------------------------------
> 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
>
>
------------------------------------------------------------------------------
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