[Geoserver-users] Problem serving WMS requests

Hello,

I’m new to Geoserver but I found it a very interesting mapserver solution. We’ve done many tests and found a problem when serving WMS requests that ask for PNG8 images:

1st. We serve two layers, one containing point data and the other linear, both shapefiles.

2nd We make WMS requests specifying PNG8 as response.

3rd The delivered PNG8 images have a grey background (instead of a transparent one) when there’s no data in the area. For instance, in the case of the point data, if no point is covered by the bounding box specified, a grey image is returned. Instead, if a point (or points) is inside the bounding area, a well done image is generated.

We haven’t experienced the same problem when serving PNG (24 bits) or GIF images. In these cases everything works fine.

Anyone else has noticed this? Do you know how to solve it?

Thaks in advance and best regards,

Juan Carlos González

Catalonian Cartographic Institute

Hi,

I created the GEOS-1855 issue at jira.codehaus [1] stating this.
–Hope this is the correct thing to do, we’re just starting seriously with FOSS :slight_smile:

Any quick hack or advise to solve the issue would be greatly apreciated, though.

Thanks,

Oscar Fonts.
Troublemaker @ Institut Cartogràfic de Catalunya.

[1] http://jira.codehaus.org/browse/GEOS-1855


2008/4/7, Gonzalez, Juan Carlos juan_carlos.gonzalez@anonymised.com:

Hello,

I’m new to Geoserver but I found it a very interesting mapserver solution. We’ve done many tests and found a problem when serving WMS requests that ask for PNG8 images:

1st. We serve two layers, one containing point data and the other linear, both shapefiles.

2nd We make WMS requests specifying PNG8 as response.

3rd The delivered PNG8 images have a grey background (instead of a transparent one) when there’s no data in the area. For instance, in the case of the point data, if no point is covered by the bounding box specified, a grey image is returned. Instead, if a point (or points) is inside the bounding area, a well done image is generated.

We haven’t experienced the same problem when serving PNG (24 bits) or GIF images. In these cases everything works fine.

Anyone else has noticed this? Do you know how to solve it?

Thaks in advance and best regards,

Juan Carlos González

Catalonian Cartographic Institute


This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone


Geoserver-users mailing list
Geoserver-users@anonymised.comt
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Check (in the JavaScript) whether you're dealing with IE6, if so use GIF ?

-Arne

Oscar Fonts wrote:

Hi,

I created the GEOS-1855 issue at jira.codehaus [1] stating this.
--Hope this is the correct thing to do, we're just starting seriously with FOSS :slight_smile:

Any quick hack or advise to solve the issue would be greatly apreciated, though.

Thanks,

Oscar Fonts.
Troublemaker @ Institut Cartogràfic de Catalunya.

[1] http://jira.codehaus.org/browse/GEOS-1855

---
2008/4/7, Gonzalez, Juan Carlos <juan_carlos.gonzalez@anonymised.com>:

    Hello,

    I'm new to Geoserver but I found it a very interesting mapserver
    solution. We've done many tests and found a problem when serving
    WMS requests that ask for PNG8 images:

    1^st . We serve two layers, one containing point data and the
    other linear, both shapefiles.

    2^nd We make WMS requests specifying PNG8 as response.

    3^rd The delivered PNG8 images have a grey background (instead of
    a transparent one) when there's no data in the area. For instance,
    in the case of the point data, if no point is covered by the
    bounding box specified, a grey image is returned. Instead, if a
    point (or points) is inside the bounding area, a well done image
    is generated.

    We haven't experienced the same problem when serving PNG (24 bits)
    or GIF images. In these cases everything works fine.

    Anyone else has noticed this? Do you know how to solve it?

    Thaks in advance and best regards,

    Juan Carlos González

    Catalonian Cartographic Institute

    -------------------------------------------------------------------------
    This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
    Register now and save $200. Hurry, offer ends at 11:59 p.m.,
    Monday, April 7! Use priority code J8TLD2.
    http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
    _______________________________________________
    Geoserver-users mailing list
    Geoserver-users@lists.sourceforge.net
    <mailto:Geoserver-users@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4038,47fa797a96991637810514!
------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

!DSPAM:4038,47fa797a96991637810514!
  ------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4038,47fa797a96991637810514!
  

Hi Arne,

Thanks for your quick reply, but we already know that’s an IE6 issue. The problem is that some developers made a third party application for us and this application expects for PNG as the incoming image format. We can not change this thing on this application.

Cheers!

Juan Carlos


De: Arne Kepp [mailto:ak@anonymised.com]
Enviado el: lun 07/04/2008 22:03
Para: Oscar Fonts
CC: geoserver-users@lists.sourceforge.net; Gonzalez, Juan Carlos
Asunto: Re: [Geoserver-users] Problem serving WMS requests

Check (in the JavaScript) whether you’re dealing with IE6, if so use GIF ?

-Arne

Oscar Fonts wrote:

Hi,

I created the GEOS-1855 issue at jira.codehaus [1] stating this.
–Hope this is the correct thing to do, we’re just starting seriously
with FOSS :slight_smile:

Any quick hack or advise to solve the issue would be greatly
apreciated, though.

Thanks,

Oscar Fonts.
Troublemaker @ Institut Cartogràfic de Catalunya.

[1] http://jira.codehaus.org/browse/GEOS-1855


2008/4/7, Gonzalez, Juan Carlos juan_carlos.gonzalez@anonymised.com:

Hello,

I’m new to Geoserver but I found it a very interesting mapserver
solution. We’ve done many tests and found a problem when serving
WMS requests that ask for PNG8 images:

1^st . We serve two layers, one containing point data and the
other linear, both shapefiles.

2^nd We make WMS requests specifying PNG8 as response.

3^rd The delivered PNG8 images have a grey background (instead of
a transparent one) when there’s no data in the area. For instance,
in the case of the point data, if no point is covered by the
bounding box specified, a grey image is returned. Instead, if a
point (or points) is inside the bounding area, a well done image
is generated.

We haven’t experienced the same problem when serving PNG (24 bits)
or GIF images. In these cases everything works fine.

Anyone else has noticed this? Do you know how to solve it?

Thaks in advance and best regards,

Juan Carlos González

Catalonian Cartographic Institute


This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
<mailto:Geoserver-users@anonymised.comurceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4038,47fa797a96991637810514!


This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

!DSPAM:4038,47fa797a96991637810514!



Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4038,47fa797a96991637810514!

Hi,

Made some more testing, and we’re getting corrupt PNGs (see issue tracker).
Not IE’s fault, this time.

Regards,

Oscar.