WMS SLD problem - follow up

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

WMS SLD problem - follow up

dblasby
Doug,

>> (1)  I can't render the output image as transparent

I looked at the no-transparent-background image problem.  This
apparently is JAI's fault, so I've replaced the JAI PNG writer with new
one.  It seems to work all the time now.  Please test with either SVN
or when 1.3.0-RC1 comes out this friday.  Oh, what kind of machine are
you running on and did you install the JAI libraries? What web browser
are you using?

** JAI has 2 PNG writers - one of them worked, the other one didnt.

Also, I've noticed (and someone else reported) that IE doesnt like
transparent PNGs.

You can test this by doing something like this:
<html>
<body bgcolor=#ffcccc>
<img src="myPngTransparent.png">
</body>

It works fine in FireFox and image processing software, but not in IE.
You'll have to bug microsoft about that.  Carolyn mentioned that she
might know how to get around this...

That just leaves you GIF images (which I just improved, so you shouldnt
have too many problems).  NOTE: GIF transparency is extreamly basic!


>>> 2.  "My SLD filter rules don't have any effect on the output."

I'm gonna bet that for this:

              <ogc:PropertyIsEqualTo>
                <ogc:PropertyName>pub_date</ogc:PropertyName>
                <ogc:Literal>1993</ogc:Literal>
              </ogc:PropertyIsEqualTo>

That pub_date is of type "string" (not integer).

If so, then the problem that's occurring is Geotools is interpreting
"1993" as an integer, then trying to compare the string "1993" to the
number 1993.  Since they're different types, it says they're not equal.

I made the geotools type system a bit smarter so this should work for
you in 1.3.0-RC1.

dave
ps. Did I miss anything?





----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Geoserver-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Nested layers?

Alex Petkov
I would like to "unify" a number of coverages as nested layers into one
parent layer.

Reading  the OGC specification, I sse that nested layers are allowed.

Does anyone know if I can have nested layers with Geoserver? If so , an xml
example will be much appreciated.


Thanks,

Alex



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Geoserver-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Reply | Threaded
Open this post in threaded view
|

Re: Nested layers?

Chris Holmes-2
No, we don't support nested layers yet.

On Mon, 6 Jun 2005, Alex Petkov wrote:

> I would like to "unify" a number of coverages as nested layers into one
> parent layer.
>
> Reading  the OGC specification, I sse that nested layers are allowed.
>
> Does anyone know if I can have nested layers with Geoserver? If so , an xml
> example will be much appreciated.
>
>
> Thanks,
>
> Alex
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
> a projector? How fast can you ride your desk chair down the office luge track?
> If you want to score the big prize, get to know the little guy.  
> Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
> _______________________________________________
> Geoserver-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>

--




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Geoserver-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geoserver-users