<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=328585006-06032007><FONT face=Arial size=2>Using the "Print"
routines to save maps as PDF or images, only the layers that are set to be
turned on in the map file (STATUS ON) are showing up. Layers that are
toggled on or off do not appear any any of the image/pdf
documents.</FONT></SPAN></DIV>
<DIV><SPAN class=328585006-06032007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=328585006-06032007><FONT face=Arial size=2>Is there any special
METADATA settings for the mapfile? Or do I have things all messed up to
begin with? Below is the mapfile that I am
using.</FONT></SPAN></DIV>
<DIV><SPAN class=328585006-06032007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=328585006-06032007><FONT face=Arial size=2>Thanks for any help
you can provide,</FONT></SPAN></DIV>
<DIV><SPAN class=328585006-06032007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=328585006-06032007><FONT face=Arial
size=2>Dan</FONT></SPAN></DIV>
<DIV><SPAN class=328585006-06032007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=328585006-06032007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=328585006-06032007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=328585006-06032007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=328585006-06032007><FONT face=Arial size=2>MAP<BR> NAME
"WBCSD_Demo"<BR> STATUS ON<BR> TRANSPARENT ON<BR> EXTENT -180
-90 180 83.623600 <BR> SIZE 800 400 <BR> SHAPEPATH
"../data"<BR> FONTSET "../etc/fontset.txt" # List of available
fonts<BR> IMAGETYPE PNG<BR> IMAGECOLOR 255 255 255<BR> UNITS
DD<BR> WEB<BR> MINSCALE 5000000<BR>
MAXSCALE 140000000<BR> IMAGEPATH
"/mapserver/tmp/ms_tmp/"<BR> IMAGEURL
"/ms_tmp/"<BR> METADATA<BR>
"max_extents" "auto"<BR> END<BR> END<BR>
REFERENCE<BR> STATUS ON<BR> IMAGE
"images/wbcsd.png"<BR> SIZE 140 90 <BR>
EXTENT -180 -90 180 83.623600 <BR> COLOR -1 -1
-1<BR> OUTLINECOLOR 255 0 0<BR> END<BR>
LEGEND<BR> STATUS ON<BR>
LABEL<BR> TYPE
BITMAP<BR> COLOR 0 0 89<BR>
END<BR> END<BR> LAYER<BR> NAME
"World"<BR> GROUP "World Map"<BR> STATUS
ON<BR> DATA "world30"<BR> TYPE
POLYGON<BR> CLASS<BR> NAME
"World"<BR>
STYLE<BR> COLOR 153 179
204<BR> OUTLINECOLOR 146 136
155<BR> END<BR> END<BR>
END</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=328585006-06032007><FONT face=Arial size=2>
LAYER<BR> NAME "Countries"<BR> GROUP "World
Map"<BR> STATUS ON<BR> DATA
"WBCSD_FAO_WHO"<BR> TYPE POLYGON<BR>
CLASS<BR> NAME
"Countries"<BR>
STYLE<BR> COLOR 242 239
233<BR> OUTLINECOLOR 0 0
0<BR> END<BR> END<BR>
END</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=328585006-06032007><FONT face=Arial size=2>
LAYER<BR> NAME "Access to Improved Sanitation Coverage
(%)"<BR> GROUP "Access to Improved Sanitation Coverage
(%)"<BR> STATUS ON<BR> DATA
"WBCSD_FAO_WHO"<BR> TYPE POLYGON<BR>
CLASSITEM "TOT_SAN"<BR>
CLASS<BR> NAME "No
Data"<BR> EXPRESSION ([TOT_SAN] <
1)<BR>
STYLE<BR> COLOR 242 239
233<BR> OUTLINECOLOR 0 0
0<BR> END<BR>
END <BR>
CLASS<BR> NAME "0 - 25
%"<BR> EXPRESSION ([TOT_SAN] > 0 AND [TOT_SAN]
<= 25)<BR>
STYLE<BR> COLOR 255 204
153<BR> OUTLINECOLOR 0 0
0<BR> END<BR>
END</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=328585006-06032007><FONT face=Arial size=2>
CLASS<BR> NAME "26 - 50
%"<BR> EXPRESSION ([TOT_SAN] > 25 AND [TOT_SAN]
<= 50)<BR>
STYLE<BR> COLOR 255 204 0
<BR> OUTLINECOLOR 0 0
0<BR> END<BR>
END<BR> CLASS<BR> NAME "51 - 75
%"<BR> EXPRESSION ([TOT_SAN] > 50 AND [TOT_SAN]
<= 75)<BR>
STYLE<BR> COLOR 255 153 0
<BR> OUTLINECOLOR 0 0
0<BR> END<BR>
END<BR> CLASS<BR>
NAME "76 - 90 %"<BR> EXPRESSION ([TOT_SAN]
> 75 AND [TOT_SAN] <= 90)<BR>
STYLE<BR> COLOR 255 101 0
<BR> OUTLINECOLOR 0 0
0<BR> END<BR>
END<BR> CLASS<BR> NAME "91 - 100
%"<BR> EXPRESSION ([TOT_SAN] >
90)<BR>
STYLE<BR> COLOR 153 51
0<BR> OUTLINECOLOR 0 0
0<BR> END<BR> END<BR>
END</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=328585006-06032007><FONT face=Arial size=2>
LAYER<BR> NAME "Access to Improved Drinking Water Coverage
(%)"<BR> GROUP "Access to Improved Drinking Water Coverage
(%)"<BR> STATUS OFF<BR> DATA
"WBCSD_FAO_WHO"<BR> TYPE POLYGON<BR>
CLASSITEM "TOT_WAT"<BR>
CLASS<BR> NAME "No
Data"<BR> EXPRESSION ([TOT_WAT] <
1)<BR>
STYLE<BR> COLOR 242 239
233<BR> OUTLINECOLOR 0 0
0<BR> END<BR>
END <BR>
CLASS<BR> NAME "0 - 25
%"<BR> EXPRESSION ([TOT_WAT] > 0 AND [TOT_WAT]
<= 25)<BR>
STYLE<BR> COLOR 153 204
255<BR> OUTLINECOLOR 0 0
0<BR> END<BR>
END</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=328585006-06032007><FONT face=Arial size=2>
CLASS<BR> NAME "26 - 50
%"<BR> EXPRESSION ([TOT_WAT] > 25 AND [TOT_WAT]
<= 50)<BR>
STYLE<BR> COLOR 0 204 255
<BR> OUTLINECOLOR 0 0
0<BR> END<BR>
END<BR> CLASS<BR> NAME "51 - 75
%"<BR> EXPRESSION ([TOT_WAT] > 50 AND [TOT_WAT]
<= 75)<BR>
STYLE<BR> COLOR 51 101 255
<BR> OUTLINECOLOR 0 0
0<BR> END<BR>
END<BR> CLASS<BR>
NAME "76 - 90 %"<BR> EXPRESSION ([TOT_WAT]
> 75 AND [TOT_WAT] <= 90)<BR>
STYLE<BR> COLOR 0 0 255
<BR> OUTLINECOLOR 0 0
0<BR> END<BR>
END<BR> CLASS<BR> NAME "91 - 100
%"<BR> EXPRESSION ([TOT_WAT] >
90)<BR>
STYLE<BR> COLOR 0 0
128<BR> OUTLINECOLOR 0 0
0<BR> END<BR> END<BR>
END</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=328585006-06032007><FONT face=Arial size=2>
LAYER<BR> NAME "Industrial Water Withdrawal
(%)"<BR> GROUP "Industrial Water Withdrawal
(%)"<BR> STATUS OFF<BR> DATA
"WBCSD_FAO_WHO"<BR> TYPE POLYGON<BR>
CLASSITEM "IND_PERC"<BR>
CLASS<BR> NAME "No
Data"<BR> EXPRESSION ([IND_PERC] <
1)<BR>
STYLE<BR> COLOR 242 239
233<BR> OUTLINECOLOR 0 0
0<BR> END<BR>
END <BR>
CLASS<BR> NAME "0 - 25
%"<BR> EXPRESSION ([IND_PERC] > 0 AND
[IND_PERC] <= 25)<BR>
STYLE<BR> COLOR 204 255
255<BR> OUTLINECOLOR 0 0
0<BR> END<BR>
END</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=328585006-06032007><FONT face=Arial size=2>
CLASS<BR> NAME "26 - 50
%"<BR> EXPRESSION ([IND_PERC] > 25 AND
[IND_PERC] <= 50)<BR>
STYLE<BR> COLOR 0 255 255
<BR> OUTLINECOLOR 0 0
0<BR> END<BR>
END<BR> CLASS<BR> NAME "51 - 75
%"<BR> EXPRESSION ([IND_PERC] > 50 AND
[IND_PERC] <= 75)<BR>
STYLE<BR> COLOR 51 202 204
<BR> OUTLINECOLOR 0 0
0<BR> END<BR>
END<BR> CLASS<BR>
NAME "76 - 90 %"<BR> EXPRESSION ([IND_PERC]
> 75 AND [IND_PERC] <= 90)<BR>
STYLE<BR> COLOR 0 128 128
<BR> OUTLINECOLOR 0 0
0<BR> END<BR>
END<BR> CLASS<BR> NAME "91 - 100
%"<BR> EXPRESSION ([IND_PERC] >
90)<BR>
STYLE<BR> COLOR 0 51
101<BR> OUTLINECOLOR 0 0
0<BR> END<BR>
END<BR> <BR> END #Layer</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=328585006-06032007><FONT face=Arial
size=2>LAYER<BR> NAME "Annual Renewable Water Resource
(m3/capita/year)"<BR> GROUP "Annual Renewable Water Resource
(m3/capita/year)"<BR> STATUS OFF<BR> DATA
"Basin_WAPP_v2"<BR> TYPE POLYGON<BR>
CLASSITEM "WAPP_1995"<BR> <BR>
CLASS<BR> NAME "No
Data"<BR> EXPRESSION ([WAPP_1995] =
-999)<BR>
STYLE<BR> COLOR 242 239
233<BR> END<BR>
END<BR> <BR> <BR>
CLASS<BR> NAME "Extreme Scarcity <
500"<BR> EXPRESSION ([WAPP_1995] =
1)<BR>
STYLE<BR> COLOR 255 0
0<BR> END<BR>
END</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=328585006-06032007><FONT face=Arial size=2>
CLASS<BR> NAME "Scarcity 500 -
1000"<BR> EXPRESSION ([WAPP_1995] =
2)<BR>
STYLE<BR> COLOR 255 153
0<BR> END<BR>
END<BR> CLASS<BR> NAME
"Stress 1000 - 1700"<BR> EXPRESSION
([WAPP_1995] = 3)<BR>
STYLE<BR> COLOR 255 255
0<BR> END<BR>
END<BR> CLASS<BR> NAME
"Sufficient 1700 - 4000"<BR> EXPRESSION
([WAPP_1995] = 4)<BR>
STYLE<BR> COLOR 153 204
0<BR> END<BR>
END<BR> CLASS<BR> NAME
"Abundant > 4000"<BR> EXPRESSION
([WAPP_1995] = 5)<BR>
STYLE<BR> COLOR 0 128
0<BR> END<BR>
END<BR> <BR> END #Layer<BR>
<BR>LAYER<BR> NAME "Mean Annual Relative Water Stress
Index"<BR> GROUP "Mean Annual Relative Water Stress
Index"<BR> STATUS OFF<BR> DATA
"i4_poly"<BR> TYPE POLYGON<BR> CLASSITEM
"GRIDCODE"<BR> <BR>
CLASS<BR> NAME "No
Data"<BR> EXPRESSION ([GRIDCODE] =
-999)<BR>
STYLE<BR> COLOR 242 239
233<BR> END<BR>
END<BR> <BR> <BR>
CLASS<BR> NAME " < 0.2
"<BR> EXPRESSION ([GRIDCODE] =
1)<BR>
STYLE<BR> COLOR 180 211
82<BR> END<BR>
END</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=328585006-06032007><FONT face=Arial size=2>
CLASS<BR> NAME " 0.2 - 0.4
"<BR> EXPRESSION ([GRIDCODE] >= 2 AND
[GRIDCODE] <= 4)<BR>
STYLE<BR> COLOR 254 237
60<BR> END<BR>
END<BR> CLASS<BR> NAME " 0.4 -
1.0 "<BR> EXPRESSION ([GRIDCODE] > 4 AND
[GRIDCODE] <= 10)<BR>
STYLE<BR> COLOR 250 4
5<BR> END<BR>
END<BR> CLASS<BR> NAME " >
1.0 "<BR> EXPRESSION ([GRIDCODE] >
10)<BR>
STYLE<BR> COLOR 181 26
0<BR> END<BR>
END</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=328585006-06032007><FONT face=Arial size=2>
<BR> END #Layer<BR> <BR> <BR>
LAYER<BR> NAME
"Borders"<BR> GROUP
"Borders"<BR> STATUS
ON<BR> DATA
"WBCSD_FAO_WHO"<BR> TYPE
POLYGON<BR>
CLASS<BR> NAME
"Borders"<BR>
STYLE<BR> COLOR 255 255
255<BR> OUTLINECOLOR 0 0
0<BR>
END<BR> END<BR> END<BR> <BR>END #Map
<BR></FONT></SPAN></DIV></BODY></HTML>