<div><br>Steven:</div>
<div> </div>
<div>You could try something like :</div>
<div><font size="2">
<p>EXPRESSION ('[cabuty]' = 'CL') </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 <<a href="mailto:gisaalter@gmail.com">gisaalter@gmail.com</a>>:</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'm trying to make a layer like this:<br><br>LAYER<br> NAME "b_cabu_postgis"<br> CONNECTIONTYPE postgis<br> CONNECTION "host=localhost port=5432 dbname=globaalter<br>user=postgres_db password=
autodesk6.5"<br> DATA "the_geom from b_cabu"<br> STATUS ON<br> TYPE POLYGON<br> DUMP TRUE<br> TEMPLATE "ttt"<br> CLASSITEM "cabuty"<br> CLASS<br> EXPRESSION "CL"
<br> STYLE OUTLINECOLOR 0 0 255<br> END<br> EXPRESSION "OO"<br> STYLE OUTLINECOLOR 255 0 255<br> END<br> END<br> METADATA<br> "wms_title" "gebouwen"<br>
"gml_include_items" "all"<br> END<br> PROJECTION<br> "init=epsg:31300"<br> END<br>END<br><br>Only the expression 'OO' is coloured, the objects corresponding with<br>'CL' 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>