[Mapserver-users] Mapserver 4.0 as WMS server issuing transparent PNG

Lars V. Nielsen LVN at hvm.dk
Fri Sep 26 10:26:35 EDT 2003


This is a multi-part message in MIME format.

------=_NextPart_000_021C_01C3844A.F407BCE0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi list,

Today I've (finally) migrated to Mapserver 4.0, and needed to migrate =
several locally cascaded WMS services too. All but one of these are used =
to generate backdrops, i.e. not transparent, but a single service is =
used to publish thematic layers to be shown on top of other layers. So =
this service needs to issue transparent map images, and therefore I'm =
using PNG.

However, only the surrounding area is transparent, not the interior of =
the polygons features, even though these are set to 50% transparency. =
What am I doing wrong ?

It worked in Mapserver 3.6.3 with 8bit PNG's, and all I've done is add a =
single OUTPUTFORMAT + IMAGETYPE clause to the MAP file used by the =
service (set to 24bit PNG with RGBA). The layers/data it reads are all =
locally saved MapInfo TAB tables.

Best regards / Med venlig hilsen
Lars V. Nielsen
--------------------------------------------------------
Hvenegaard & Meklenborg
Rugaardsvej 55, DK-5000 Odense C
Denmark
http://www.hvm.dk
------=_NextPart_000_021C_01C3844A.F407BCE0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi list,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Today I've (finally) migrated to =
Mapserver 4.0, and=20
needed to migrate several locally cascaded WMS services too. All but one =
of=20
these are used to generate backdrops, i.e. not transparent, but a single =
service=20
is used to publish thematic layers to be shown on top of other layers. =
So this=20
service needs to issue transparent map images, and therefore I'm using=20
PNG.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>However, only the surrounding area is =
transparent,=20
not the interior of the polygons&nbsp;features, even though these are =
set to 50%=20
transparency. What am I doing wrong ?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>It worked in Mapserver 3.6.3 with 8bit =
PNG's, and=20
all I've done is add a single OUTPUTFORMAT + IMAGETYPE clause to the MAP =
file=20
used by the service (set to 24bit PNG with RGBA). The layers/data it =
reads are=20
all locally saved&nbsp;MapInfo TAB tables.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Best regards / Med venlig =
hilsen<BR>Lars V.=20
Nielsen<BR>--------------------------------------------------------<BR>Hv=
enegaard=20
&amp; Meklenborg<BR>Rugaardsvej 55, DK-5000 Odense C<BR>Denmark<BR><A=20
href=3D"http://www.hvm.dk">http://www.hvm.dk</A></FONT></DIV></BODY></HTM=
L>

------=_NextPart_000_021C_01C3844A.F407BCE0--




More information about the mapserver-users mailing list