[mapserver-users] Is mapserver possible to dynamic layout
truongpm
truong_pham_minh at yahoo.com
Sun Sep 20 10:50:52 PDT 2009
But how could i get the value of polygon from database and set condition in
mapfile. As i image, in mapfile will folowing:
if(value==1){
//layout with another color
}
else if{}
...
I had just found some document about PHPMapscript but not success!
Thanks for your help!
Tamas Szekeres wrote:
>
> 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
>
>
--
View this message in context: http://n2.nabble.com/Is-mapserver-possible-to-dynamic-layout-tp3680865p3681037.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the MapServer-users
mailing list