<div><br>Steven:</div>
<div>&nbsp;</div>
<div>You could try something like :</div>
<div><font size="2">
<p>EXPRESSION (&#39;[cabuty]&#39; = &#39;CL&#39;) </p>
<p>on your mipe file</p>
<p>Regards,</p>
<p>Luis</p></font></div>
<div><span class="gmail_quote">2007/4/21, Steven De Vriendt &lt;<a href="mailto:gisaalter@gmail.com">gisaalter@gmail.com</a>&gt;:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I have some trouble colouring by an attribute value i/c with a postgis<br>connection.<br>I want to colour the column cabuty by 3 unique values.
<br>For now I&#39;m trying to make a layer like this:<br><br>LAYER<br>&nbsp;&nbsp;NAME &quot;b_cabu_postgis&quot;<br>&nbsp;&nbsp;CONNECTIONTYPE postgis<br>&nbsp;&nbsp;CONNECTION &quot;host=localhost port=5432 dbname=globaalter<br>user=postgres_db password=
autodesk6.5&quot;<br>&nbsp;&nbsp;DATA &quot;the_geom from b_cabu&quot;<br>&nbsp;&nbsp;STATUS ON<br>&nbsp;&nbsp;TYPE POLYGON<br>&nbsp;&nbsp;DUMP TRUE<br>&nbsp;&nbsp;TEMPLATE &quot;ttt&quot;<br>&nbsp;&nbsp; CLASSITEM &quot;cabuty&quot;<br>&nbsp;&nbsp; CLASS<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EXPRESSION &quot;CL&quot;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STYLE OUTLINECOLOR 0 0 255<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EXPRESSION &quot;OO&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STYLE OUTLINECOLOR 255 0 255<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp;&nbsp;END<br>&nbsp;&nbsp; METADATA<br>&nbsp;&nbsp; &quot;wms_title&quot; &quot;gebouwen&quot;<br>
&nbsp;&nbsp; &quot;gml_include_items&quot; &quot;all&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;END<br>&nbsp;&nbsp;&nbsp;&nbsp;PROJECTION<br>&nbsp;&nbsp;&nbsp;&nbsp;&quot;init=epsg:31300&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;END<br>END<br><br>Only the expression &#39;OO&#39; is coloured, the objects corresponding with<br>&#39;CL&#39; in the cabuty are not showing up...what am I doing wrong ?
<br><br>Thanks for helping out !<br><br>Steven<br></blockquote></div><br>