[mapserver-users] Is mapserver possible to dynamic layout

truongpm truong_pham_minh at yahoo.com
Sun Sep 20 13:50:52 EDT 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