[Mapserver-users] Image (PNG) not transparent in Netscape 6

Bjoern Platzen bplatzen at sosnetz.de
Wed Sep 17 02:34:29 EDT 2003


--------------Boundary-00=_H9ICIV01LNLWO9FH25G0
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi Folks,

the images (png) returned by my MapServer WMS are not transparent in=20
Netscape 6. In each other Browser, they are...
Is it a NS6-Bug or am I missing something?

Here's a part of the mapfile:

NAME geoview
STATUS ON
SIZE 400 400
SYMBOLSET symbols/symbols.sym
FONTSET /srv/www/htdocs/parkinfo/font/font.list
EXTENT 2542000 5679000 2557000 5664000
UNITS METERS
SHAPEPATH "dds_data"
TRANSPARENT on
IMAGETYPE png
PROJECTION
  "init=3Depsg:31466"
END#PROJECTION

WEB
  TEMPLATE rahmen.html
  MAXSCALE 200000
  IMAGEPATH "/srv/www/htdocs/parkinfo/tmp/"
  IMAGEURL "tmp/"
  LOG "/srv/www/htdocs/parkinfo/ne.log"
  METADATA
    "wms_title" "ParkinfoWMS"
    "wms_onlineresource"=20
"http://parkinfo.neuss.de/cgi-bin/parkinfoWMS.py?"
    "wms_srs" "EPSG:31466"
    "wms_feature_info_mime_type" "application/vnd.ogc.gml"
  END#Metadata
END#WEB

QUERYMAP
  SIZE 400 400
  STATUS ON
  STYLE HILITE
  COLOR 210 210 210
END


LAYER
  NAME ParkInfoQuartier
  TYPE POLYGON
  STATUS on
  MAXSCALE 200000
  DATA quartiere
  DUMP true
  METADATA
    "wms_title" "ParkInfoQuartier"
    "wms_srs" "EPSG:31466"
  END
    CLASSITEM ID
      CLASS
        EXPRESSION '1'
        Name "Zentrum"
        SYMBOL 'circle'
        SIZE 6
        OUTLINECOLOR 131 157 197
     END  # CLASS
   TEMPLATE "rahmen_q.html"
END  # LAYER
#...some more layers...
END#Map

If you have a look in the attached HTML, you'll see, that it renders=20
right at least with IE6, Konqueror, Mozilla, Galeon and Netscape 7.

If someone has an idea, please tell me!

Bye,

Bjoern
--=20
small office solutions
info at sosnetz.de  -  http://www.sosnetz.de
--------------Boundary-00=_H9ICIV01LNLWO9FH25G0
Content-Type: text/html;
  charset="us-ascii";
  name="Transparency.html"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="Transparency.html"

<html>
<head>
</head>
<body bgcolor="#ff6677">
<img src="http://parkinfo.neuss.de/cgi-bin/parkinfoWMS.py?VERSION=1.1.0&REQUEST=GetMap&LAYERS=ParkInfoQuartier,ParkInfoStandard&STYLES=&SRS=EPSG:31466&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&WIDTH=1010&HEIGHT=654&BBOX=2546840.5631958,5673236.6210373,2549709.95713,5675094.6246344&EXCEPTIONS=application/vnd.ogc.se_xml&">
</body>
</html>

--------------Boundary-00=_H9ICIV01LNLWO9FH25G0--




More information about the mapserver-users mailing list