<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3157" name=GENERATOR>
<STYLE>@font-face {
font-family: Verdana;
}
@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; COLOR: black; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; COLOR: black; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; COLOR: black; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: blue; TEXT-DECORATION: underline
}
PRE {
FONT-SIZE: 10pt; MARGIN: 0cm 0cm 0pt; COLOR: black; FONT-FAMILY: "Courier New"
}
SPAN.EmailStyle18 {
COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal
}
SPAN.EmailStyle19 {
COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply
}
DIV.Section1 {
page: Section1
}
</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 vLink=blue link=blue bgColor=white>
<DIV><SPAN class=620305913-15102007><FONT face=Arial color=#0000ff
size=2>Hayden, </FONT></SPAN></DIV>
<DIV><SPAN class=620305913-15102007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=620305913-15102007><FONT face=Arial color=#0000ff size=2>What
do you mean by 'it is not working'? It is a little tough to help you with
such general symptoms.</FONT></SPAN></DIV>
<DIV><SPAN class=620305913-15102007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=620305913-15102007><FONT face=Arial color=#0000ff
size=2>Another thing to try: If your column Assettype is a string, I don't
think that your expression is correctly formed. If it is a string, you
also need to quote the column name.</FONT></SPAN></DIV>
<DIV><SPAN class=620305913-15102007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=620305913-15102007><FONT face=Arial color=#0000ff><FONT
size=2>Try something like: <FONT color=#000000><FONT
face="Courier New">EXPRESSION
('[Assettype]'="Unknown")</FONT></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=620305913-15102007><FONT face=Arial color=#0000ff><FONT
size=2><FONT color=#000000><FONT
face="Courier New"></FONT></FONT></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=620305913-15102007><FONT face=Arial color=#0000ff><FONT
size=2><FONT color=#000000><FONT
face="Courier New">David.<o:p></o:p></FONT></FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=620305913-15102007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=620305913-15102007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> UMN MapServer
Users List [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <B>On Behalf Of </B>Hayden
Fisher<BR><B>Sent:</B> Thursday, October 11, 2007 11:12 PM<BR><B>To:</B>
MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> Re: [UMN_MAPSERVER-USERS]
[MI-L] Re: MapServer, IIS and ASP<BR><BR></FONT></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Hi
All,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Have MapServer
MapScript running! I have MapInfo tables with DBF data files. I am now trying
to place different symbology for each asset type. I have placed the layer
portion of my MapFile below. This is what I’ve tried so far, could someone
take a look, as it is not working.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Also polygons on top
of polygons, is there a way to make it so you can see
both?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
LAYER<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
NAME "wsregn"<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
STATUS default<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
TYPE polygon<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
MINSCALE 0.1<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
MAXSCALE 50000<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
CONNECTIONTYPE OGR<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
CONNECTION
"C:\Inetpub\wwwroot\biz_e_asset_new\AMS_Final\WS\REGIONS\CORE\wsregn.tab"<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
PROJECTION<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
auto<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
END<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
CLASSITEM "assettype"<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
CLASS<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
EXPRESSION ([Assettype]="Unknown")<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
STYLE<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
COLOR 100 0 100<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
OUTLINECOLOR 0 0 100<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
SYMBOL 0<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
END<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
END<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
CLASS<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
EXPRESSION ([Assettype]="Building")<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
STYLE<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
COLOR 0 100 100<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
OUTLINECOLOR 0 0 100<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
SYMBOL 0<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
END<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
END<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
CLASS<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
EXPRESSION ([Assettype]="Land")<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
STYLE<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
COLOR 100 100 0<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
OUTLINECOLOR 0 0 100<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
SYMBOL 0<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
END<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
END<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=black size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: windowtext; FONT-FAMILY: 'Courier New'">
END</SPAN></FONT><FONT face=Arial color=navy size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: navy; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT face=Verdana color=maroon size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: Verdana">Regards,</SPAN></FONT><o:p></o:p></P></DIV><PRE><FONT face=Verdana color=maroon size=2><SPAN style="FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: Verdana">Hayden Fisher</SPAN></FONT> <o:p></o:p></PRE><U5:P></U5:P></DIV></BLOCKQUOTE></BODY></HTML>