<div dir="ltr">Hi All<br><br>I&#39;ve got a MapFile that used to work fine in v4.10 but now fails in v5.0<br><br>Basically the CLASSITEM field has double quote in field value and this is then returning an error - msEvalExpression: Expression parser error. Failed to parse expression<br>
<br>The CLASS EXPRESSION looks like this<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CLASSITEM &#39;TRAFFIC_TYPE&#39;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CLASS<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; EXPRESSION (&#39;[TRAFFIC_TYPE]&#39; = &#39;Lane Closure&#39; OR &#39;[TRAFFIC_TYPE]&#39; = &#39;Multi-Way Signals&#39; OR &#39;[TRAFFIC_TYPE]&#39; = &#39;Road Closure&#39; OR &#39;[TRAFFIC_TYPE]&#39; = &#39;Stop/Go Boards&#39; OR &#39;[TRAFFIC_TYPE]&#39; = &#39;Two-Way Signals&#39;)<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; STYLE # Severe (RED)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; SYMBOL &#39;triangle&#39;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; SIZE 9<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; COLOR 255 0 0<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 0 0<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END<br><br>I&#39;ve tried double quote vs. single quotes in the map file but to no avail<br>
<br>Anyone any thoughts?<br><br>Kind regards<br>Mike<br></div>