Hi,<br><br>This sounds like the style attribute binding would be a good option to achieve this. For more information see:<br><a href="http://mapserver.org/mapfile/style.html">http://mapserver.org/mapfile/style.html</a><br>
<br>I you mapfile you&#39;d do something loke<br> <br><pre><span class="k">STYLE</span><br>  <span class="k">COLOR</span> <span class="p">[</span><span class="err">MY</span><span class="k">COLORATTRIBUTE</span><span class="p">]</span><br>
  <span class="k">...</span><br><span class="k">END</span><br><br></pre><br>Best regards,<br><br>Tamas<br><br><br><br><br><br><div class="gmail_quote">2009/9/20 truongpm <span dir="ltr">&lt;<a href="mailto:truong_pham_minh@yahoo.com">truong_pham_minh@yahoo.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Hi list,<br>
<br>
Iam new with mapserver and i wondering is mapserver possible to dynamic<br>
layout<br>
The issue is:<br>
I have data store in MySql database (each row is a polygon, have a column to<br>
defined the value of this polygon). Now i can display this data as a map<br>
(polygon). But i want to rendering each polygon in another color base on the<br>
value of polygon.<br>
The step i done is: using mapfile for display map via file.ovf to connect to<br>
database.<br>
<br>
My question: Is this possible to layout each polygon in difference color<br>
base on value of this polygon (store in database)? If yes, could you suggest<br>
for me how?<br>
<br>
I have just find on this mail list and google after but had no ideal.<br>
<br>
Thanks for your attentions and sorry about my english skill.<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n2.nabble.com/Is-mapserver-possible-to-dynamic-layout-tp3680865p3680865.html" target="_blank">http://n2.nabble.com/Is-mapserver-possible-to-dynamic-layout-tp3680865p3680865.html</a><br>

Sent from the Mapserver - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</font></blockquote></div><br>