<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">Dear List,<br>
I have an issue with getting a composite map of a number of layers. As you see it only return the top layer whereas it should show layers selected (see the URL below).  Any help would really be appreciated.<br>
<br>
My url is something like:<br>
<br>
<a href="http://lance2.modaps.eosdis.nasa.gov/cgi-bin/mapserv.cgi?map=usecase_all_download_20111102.map&LAYERS=Terra250+Terra_snow_cover+fires24+Admin_Bound&mode=map&imgext=-94.4722+28.7876+-88.6714+33.2041&mapext=-94.4722+28.7876+-88.6714+33.2041&map_size=2640.327719617658+2010.2412380518867&imgx=2640.327719617658&imgy=2010.2412380518867&imgxy=2640.327719617658+2010.2412380518867&map_imagetype=JPEG" target="_blank">http://lance2.modaps.eosdis.nasa.gov/cgi-bin/mapserv.cgi?map=usecase_all_download_20111102.map&LAYERS=Terra250+Terra_snow_cover+fires24+Admin_Bound&mode=map&imgext=-94.4722+28.7876+-88.6714+33.2041&mapext=-94.4722+28.7876+-88.6714+33.2041&map_size=2640.327719617658+2010.2412380518867&imgx=2640.327719617658&imgy=2010.2412380518867&imgxy=2640.327719617658+2010.2412380518867&map_imagetype=JPEG</a><br>
<br>
and my part of mapfile is:<br>
<br>
MAP<br>
NAME "usecase" <br>
UNITS dd               <br>
MAXSIZE 20000 <br>
SIZE 1600 1200<br>
IMAGECOLOR -1 -1 -1<br>
IMAGETYPE  "AGG"<br>
SHAPEPATH "/MODAPSweb"<br>
PROJECTION<br>
    "init=epsg:4326"<br>
END<br>
 EXTENT -178.00 -80.00 183.00 80.00            <br>
WEB <br>
    IMAGEPATH "/MODAPSweb/www/wms/tmp/" <br>
    IMAGEURL "/tmp/" <br>
END<br>
LAYER                        <br>
 NAME "Terra250" <br>
    TYPE RASTER <br>
    STATUS ON<br>
    OFFSITE 0 0 0<br>
  PROJECTION<br>
    "init=epsg:4326"   <br>
  END<br>
  DATA "share/vrtfile/terr_250m_2011306.vrt"<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">    CLASS<br>
          STYLE                    <br>
            BACKGROUNDCOLOR 255 255 255<br>
          END                     <br>
    END<br>
END<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">  LAYER                   
<br>
    NAME "Admin_Bound" <br>
    TYPE LINE <br>
    STATUS ON<br>
  PROJECTION<br>
    "init=epsg:4326"   <br>
  END <br>
    DATA "share/vrtfile/esri-administrative-boundaries_level-1"<br>
      CLASS                    <br>
    STYLE                    <br>
        COLOR 0 0 0<br>
        WIDTH 0.5<br>
          END                     <br>
      END <br>
   END<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">LAYER     <br>
 NAME "Terra_snow_cover" <br>
    TYPE RASTER <br>
    STATUS ON<br>
    OFFSITE 0 0 0<br>
  PROJECTION<br>
    "init=epsg:4326"   <br>
  END<br>
DATA "share/vrtfile/MOR10FSCLLDY_2011306.vrt"<br>
VALIDATION<br>
  'DATA' '^MOR10FSCLLDY_.*\.vrt$'<br>
END<br>
    CLASS<br>
          STYLE                    <br>
            BACKGROUNDCOLOR -1 -1 -1<br>
          END                        END<br>
END<br>
LAYER<br>
          NAME "fires24"<br>
          TYPE RASTER<br>
          STATUS ON<br>
    TRANSPARENCY 100<br>
    OFFSITE 255 255 255<br>
          CONNECTION "<a href="http://firefly.geog.umd.edu/wms/wms?">http://firefly.geog.umd.edu/wms/wms?</a>"<br>
          CONNECTIONTYPE WMS<br>
          METADATA<br>
            "wms_title"                     "Fires - Past 24 hours" <o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">        "wms_name"                "fires24"<br>
            "wms_onlineresource"            "<a href="http://firefly.geog.umd.edu/wms/wms?">http://firefly.geog.umd.edu/wms/wms?</a>" 
<br>
            "wms_srs"                       "EPSG:4326"<br>
            "wms_server_version"            "1.1.1"<br>
            "wms_format"                    "image/png"        <br>
          END<br>
    PROJECTION<br>
        "init=epsg:4326"<br>
     END<br>
        END<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">OUTPUTFORMAT<br>
  NAME png<br>
  DRIVER "GD/PNG"<br>
  MIMETYPE "image/png"<br>
  IMAGEMODE RGBA<br>
  EXTENSION "png"<br>
  TRANSPARENT ON<br>
END<br>
OUTPUTFORMAT<br>
  NAME "agg"<br>
  DRIVER AGG/PNG<br>
  MIMETYPE "image/png"<br>
  IMAGEMODE RGBA<br>
END<br>
OUTPUTFORMAT<br>
  NAME 'AGG'<br>
  DRIVER "AGG/jpeg"<br>
  MIMETYPE "image/jpeg"<br>
  IMAGEMODE RGB<br>
  EXTENSION "jpg"<br>
END<br>
END                       <br>
<br>
Thanks,<br>
<br>
Asad<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>