Hi,

I have a question regarding the transparency of my mapfile together with mapserver 6.2. The documentation tells me, that using the Parameter IMAGECOLOR together with TRANSPARENT ON in OUTPUTFORMAT, the resulting image of a wms request should have the defined color transparent.

I tried different approaches but none of them work.

So here is an example of my layer:

LAYER
    TYPE POLYGON
    STATUS ON
    GROUP "default"
    NAME "land"
    PROJECTION
        "init=epsg:900913"
    END
    DATA "../shapefiles/test"
    CLASS
        STYLE
            COLOR 255 255 0
        END
    END
END

The relevant Map parameters:

OUTPUTFORMAT
    NAME 'test'
    DRIVER GD/PNG
    IMAGEMODE PC256
    FORMATOPTION "INTERLACE=false"
    TRANSPARENT ON
END

IMAGECOLOR 255 255 0

I also tried agg/png drivers together with IMAGEMODE RGBA, but all combinations give me a yellow, non transparent response (i request the layer with transparent=true and image/png as format).

Can anyone give me an advice what i am doing wrong, or is this a bug?
Thanks,

J. Weskamm



--

Dipl.-Geogr. Johannes Weskamm
--- Anwendungsentwickler ---

terrestris GmbH & Co. KG
Pützchens Chaussee 56
53227 Bonn

Tel:   +49 (0)228 / 96 28 99 -555
Fax:   +49 (0)228 / 96 28 99 -57

Email: [email protected] <mailto:[email protected]>
Web: http://www.terrestris.de

Amtsgericht Bonn, HRA 6835
Komplementärin: terrestris Verwaltungsgesellschaft mbH
vertreten durch: Hinrich Paulsen, Till Adams

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to