image border is opaque when viewing

Rahkonen Jukka Jukka.Rahkonen at MMMTIKE.FI
Fri Dec 15 03:06:21 EST 2006


Hi,
 
Have you set the transparancy for the geotiff layer by adding  OFFSITE 0 0 0 on the LAYER definitions?  That should work.
 
Regards,
 
-Jukka-
 
 
 

________________________________

Lähettäjä: UMN MapServer Users List puolesta: John Mitchell
Lähetetty: pe 15.12.2006 0:51
Vastaanottaja: MAPSERVER-USERS at LISTS.UMN.EDU
Aihe: [UMN_MAPSERVER-USERS] image border is opaque when viewing


Hi,

I have made the outside black border within a geotiff transparent by running "gdalwarp -dstnodata 0" against the geotiff.  I verified that it is transparent within OpenEV and photoshop, but when utilizing MapServer it is not transparent.  

Below is the outputformat used within the .map file.  I have tried with an imagemode of PC256 and RGB.

 OUTPUTFORMAT
  NAME png
  DRIVER "GD/PNG"
  MIMETYPE "image/png"
  IMAGEMODE PC256 
  #IMAGEMODE RGB
  EXTENSION "png"
 END

Thanks,

John J. Mitchell 



More information about the mapserver-users mailing list