<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:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:D="DAV:" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" 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)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Lucida Handwriting";
panose-1:3 1 1 1 1 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
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 Section1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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-AU link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>Hi I am trying to change the value of a class expression
using the cgi command line in v5.0.2 and I cannot effect the change.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Layer Defn:<o:p></o:p></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'> LAYER<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'> NAME
"EOMapID"<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'> TYPE
POLYGON<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'> STATUS
OFF<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'> DATA
"..\ExplorOz\EO_Maps"<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'> CLASSITEM
"ID"<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'> CLASS<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'> NAME
"Area covered by map"<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'> STYLE<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'> SYMBOL
21<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>
SIZE 2<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>
OUTLINECOLOR 0 0 0<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'> COLOR
156 156 156<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'> END<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'> TEMPLATE
"..\Templates/EO_Treks.html"<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'> END
<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'> HEADER
"..\Templates\EO_Treks_header.html"<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'> FOOTER
"..\Templates\EO_Treks_footer.html"<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'> TOLERANCE
2<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'> END<o:p></o:p></span></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Using the following command all do not work:<o:p></o:p></p>
<p class=MsoNormal>&map.layer[EOMapID].class[0]=expression+'935’<o:p></o:p></p>
<p class=MsoNormal>&map.layer[EOMapID].class=expression+'935’<o:p></o:p></p>
<p class=MsoNormal>&map.layer[EOMapID].class[0].style[0]=expression+'935’<o:p></o:p></p>
<p class=MsoNormal>&map.layer[EOMapID]=class+expression+'935’<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Most of these return the following error:<o:p></o:p></p>
<p class=MsoNormal>loadClass(): Unknown identifier. Parsing error near
(expression):(line 1)<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I even added EXPRESSION /./ in the map file to ensure the
line existed and still the same errors. I then just to be sure added EXPRESSION
‘935’ and it worked perfectly.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Can someone point me in the right direction – this should
be simple…..<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>Regards<br>
</span><span style='font-size:16.0pt;font-family:"Lucida Handwriting";
color:navy'>David Martin</span><span style='font-size:10.0pt;font-family:"Lucida Handwriting";
color:navy'><br>
</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Managing Director<br>
I.T. Beyond Pty Ltd</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=228
style='width:171.0pt'>
<tr>
<td width=48 valign=top style='width:36.0pt;padding:0cm 0cm 0cm 0cm'>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:navy'>Postal:</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
</td>
<td width=180 style='width:135.0pt;padding:0cm 0cm 0cm 0cm'>
<p class=MsoNormal align=right style='mso-margin-top-alt:auto;margin-right:
9.0pt;mso-margin-bottom-alt:auto;text-align:right'><span style='font-size:
7.5pt;font-family:"Arial","sans-serif";color:navy'>PO BOX 967<br>
HILLARYS WA 6923</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td width=48 style='width:36.0pt;padding:0cm 0cm 0cm 0cm'>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:navy'>Ph:</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
</td>
<td width=180 style='width:135.0pt;padding:0cm 0cm 0cm 0cm'>
<p class=MsoNormal align=right style='mso-margin-top-alt:auto;margin-right:
9.0pt;mso-margin-bottom-alt:auto;text-align:right'><span style='font-size:
7.5pt;font-family:"Arial","sans-serif";color:navy'>(08) 9403 3737 </span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td width=48 style='width:36.0pt;padding:0cm 0cm 0cm 0cm'>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:navy'>Mobile:</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
</td>
<td width=180 style='width:135.0pt;padding:0cm 0cm 0cm 0cm'>
<p class=MsoNormal align=right style='mso-margin-top-alt:auto;margin-right:
9.0pt;mso-margin-bottom-alt:auto;text-align:right'><span style='font-size:
7.5pt;font-family:"Arial","sans-serif";color:navy'>0417 677 275 </span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td width=48 style='width:36.0pt;padding:0cm 0cm 0cm 0cm'>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:navy'>Fax:</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
</td>
<td width=180 style='width:135.0pt;padding:0cm 0cm 0cm 0cm'>
<p class=MsoNormal align=right style='mso-margin-top-alt:auto;margin-right:
9.0pt;mso-margin-bottom-alt:auto;text-align:right'><span style='font-size:
7.5pt;font-family:"Arial","sans-serif";color:navy'>(08) 9403 3738</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td width=48 style='width:36.0pt;padding:0cm 0cm 0cm 0cm'>
<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:navy'>Skype:</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
</td>
<td width=180 style='width:135.0pt;padding:0cm 0cm 0cm 0cm'>
<p class=MsoNormal align=right style='mso-margin-top-alt:auto;margin-right:
9.0pt;mso-margin-bottom-alt:auto;text-align:right'><span style='font-size:
7.5pt;font-family:"Arial","sans-serif";color:navy'>itbeyond_david</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
</td>
</tr>
</table>
<div class=MsoNormal align=center style='mso-margin-top-alt:4.5pt;margin-right:
0cm;margin-bottom:4.5pt;margin-left:0cm;text-align:center'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>
<hr size=2 width="80%" align=center>
</span></div>
<p class=MsoNormal align=center style='margin:4.5pt;text-align:center'><span
style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>Check out
our websites: <a href="http://www.exploroz.com/"
title="http://www.exploroz.com/"><span style='color:blue;text-decoration:none'>www.ExplorOz.com</span></a>
and <a href="http://www.itbeyond.com.au/" title="http://www.itbeyond.com.au/"><span
style='color:blue;text-decoration:none'>www.itbeyond.com.au</span></a></span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>
<hr size=2 width="100%" align=center>
</span></div>
</div>
</body>
</html>