[mapserver-users] Is mapserver possible to dynamic layout

Tamas Szekeres szekerest at gmail.com
Sun Sep 20 13:35:17 EDT 2009


Hi,

This sounds like the style attribute binding would be a good option to
achieve this. For more information see:
http://mapserver.org/mapfile/style.html

I you mapfile you'd do something loke


STYLE
  COLOR [MYCOLORATTRIBUTE]
  ...
END


Best regards,

Tamas





2009/9/20 truongpm <truong_pham_minh at yahoo.com>

>
> Hi list,
>
> Iam new with mapserver and i wondering is mapserver possible to dynamic
> layout
> The issue is:
> I have data store in MySql database (each row is a polygon, have a column
> to
> defined the value of this polygon). Now i can display this data as a map
> (polygon). But i want to rendering each polygon in another color base on
> the
> value of polygon.
> The step i done is: using mapfile for display map via file.ovf to connect
> to
> database.
>
> My question: Is this possible to layout each polygon in difference color
> base on value of this polygon (store in database)? If yes, could you
> suggest
> for me how?
>
> I have just find on this mail list and google after but had no ideal.
>
> Thanks for your attentions and sorry about my english skill.
> --
> View this message in context:
> http://n2.nabble.com/Is-mapserver-possible-to-dynamic-layout-tp3680865p3680865.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090920/907e0c5e/attachment.html


More information about the mapserver-users mailing list