[Mapserver-users] Mapserver 4.2 and transparent symbols

Lars-goran Edholm lars-goran.edholm at sandviken.se
Tue Jun 15 00:39:17 PDT 2004


Hi!
With Mapserver 4 i don't get transparent symbols and scalebar anymore.
Below is a partm of my map-file and symbol definition.
With Mapserver 3 I got scalebar and diagonal patterns transparent to
underlying layer. What's wrong? 


map
  extent 1520000 6675000 1564000 6742000
  fontset "D:/Iis-Webbplatser/BoM/ByggMiljo/kartor/fonts/fonts.list"
#  imagecolor 176 232 176
  name "fdsmap1"
 size 600 450
  status on
  SYMBOLSET "D:/Iis-Webbplatser/BoM/ByggMiljo/kartor/symbols/allpng.sym"
  units meters
shapepath "D:/Iis-Webbplatser/BoM/ByggMiljo/kartor/skikt"

IMAGETYPE pnglge
# TRANSPARENT on
TEMPLATEPATTERN "BMN"

OUTPUTFORMAT
  NAME pnglge
  DRIVER "GD/PNG"
  MIMETYPE "image/png"
  IMAGEMODE RGBA
#  IMAGEMODE PC256
  EXTENSION "png"
END
.
.
.
.

#*******scalebar start***********
  scalebar
    backgroundcolor 255 0 0
    color 0 0 255
    imagecolor 255 255 255
    intervals 4
    position lr
    size 288 10
    status embed
    style 1
    transparent true
    units meters
    label
      color 0 0 255
      size medium
type bitmap
    end
  end
#*******scalebar slut***********





 Symbol
      Name 'detplan'
      Type VECTOR
      Points
	0 0
	1 1
      END
    END 




 Mvh
Lars-Göran Edholm    tel 026/24 14 36
1:e byggnadsinspektör
Bygg- och miljökontoret
811 80 Sandviken
lars-goran.edholm at sandviken.se





More information about the MapServer-users mailing list