[mapserver-users] WMS and transparent

Fischer, Brian bfischer at houstoneng.com
Wed Mar 25 10:44:34 EDT 2009


 

I am trying to consume this  WMS service with MapServer 5.0.2 as a
client and would like to make the background transparent instead of
white.  Is this possible mapserver?  I tried the  "wms_transparent"
"true", but that didn't seem to work.  Thanks for any suggestions.

 

  NAME '2003orthos'

  STATUS ON

  EXTENT 366751.468 5034450.028 882880.091 5434570.553

  UNITS Meters

   SIZE  600 400

   FONTSET '../fonts/fontset.list'

   SYMBOLSET '../symbols/symbol.sym'

  IMAGETYPE PNG24

  TRANSPARENT TRUE

 

                WEB

                                IMAGEURL "E:\ms4w\tmp\ms_tmp"

                                IMAGEPATH "E:\ms4w\tmp\ms_tmp"

                END

 

 

  LAYER

    NAME         ND03

    TYPE         RASTER

    OFFSITE      0 0 0

    STATUS       DEFAULT

    CONNECTIONTYPE WMS

    CONNECTION
"http://web.apps.state.nd.us/wmsconnector/com.esri.wms.Esrimap/NDWMS_aer
ialimages?"

 

    #MINSCALE      1000 # only display down to this scale

    #MAXSCALE     24000

 

    METADATA

      "wms_srs" "EPSG:26914"

      "wms_name" "ND03"

      "wms_server_version" "1.1.1"

      "wms_format" "image/jpeg"

      "wms_styles" ""

      "wms_exceptions" "application/vnd.ogc.se_inimage"

    END    

 

  END

END

 

 

End #Map

 

Thanks,

Brian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090325/ab4f48b8/attachment.html


More information about the mapserver-users mailing list