Ciao GeoUser,
I have investigated a bit your problem and here is the situation
(notice that I used gs 1.7.x).
Your case is not a lucky case. You provided me with a sample mosaic of
raster data that has a colormodel with 2 colors that requires
expansion at runtime.
Problem #1
I had to disable an optimization due to this problem
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4723021
Problem #2
The native mosaic opearator wasa going crazy with your data and giving
wrong results. The pure Java operator works fine instead, hence I
opened this up http://jira.codehaus.org/browse/GEOS-2369. It should be
pretty simple to add this feature. To clarify the problems I am
talking about are:
https://jai-core.dev.java.net/issues/show_bug.cgi?id=84
https://jai-core.dev.java.net/issues/show_bug.cgi?id=111
Problem #3
Some changes in gt-coverage seemed to have removed a workaround for
the mosaic problems. I have reimplemented something.
If you watch those JIRA, you should get notifed when things are fixed.
Unfortunately, as I said above, your is not what'd call a lucky case
:).
Simone.
On Thu, Nov 6, 2008 at 2:23 PM, GeoUser <blazrepnik@anonymised.com> wrote:
Hey all. Here's the deal.
I have GS 1.7.0 (freshly deployed after downloading from gs webpage) and
newest JAI and JAI/IO.
I have 2 types of data that i want to mix/overlay:
1. color tiff for background
2. 2 color (black, white) tiff for overlay
Both of this layers are image mosaics created with coverage tools.
So in order to see the background layer i had to set second layers
transparent color to #FEFEFE (thanks got to Simone Giannecchini for this
hint).
Here is the result in OL:
http://www.nabble.com/file/p20360905/1.jpeg
Everything looks fine, the 2 color tiff nicely overlays the full color tiff.
But as soon as i do just a simple zoom-in i get this:
http://www.nabble.com/file/p20360905/2.jpeg
And if i zoom in again, the overlay tiff disappears
http://www.nabble.com/file/p20360905/3.jpeg
If i remove the #FEFEFE transparent color from 2 color tiff, i can zoom
freely and it will work on all levels, but i can't see the background tiff.
Also, i'm using the new raster.sld and i get no exceptions...
Where could be the problem?
--
View this message in context: http://www.nabble.com/mosaic-transparency-problem-tp20360905p20360905.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
-------------------------------------------------------
Eng. Simone Giannecchini
GeoSolutions S.A.S.
Owner - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy
phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928
http://www.geo-solutions.it
http://www.geo-solutions.it/simone.giannecchini
http://www.linkedin.com/in/simonegiannecchini
-------------------------------------------------------