Perhaps you should define different classes in the LAYER section and draw the 
right one through the CLASSITEM tag.


Carlos Ruiz
 

    On Wednesday, March 27, 2019, 11:10:33 AM CST, Sven Schroeter 
<schroe...@netgis.de> wrote:  
 
   Hi,
 
 I have a line Layer and want to change the pattern dynamicly from the 
attribute table.
 Is it possible?
 
 
 e.g. I have this working:
 
     CLASS
      NAME "buslines"
         STYLE
             COLOR [linecolor]
             WIDTH 4
             PATTERN 40 10 END
         END
      END  # CLASS
 
 
 and I want to get the pattern from an attribute:
 
 
     CLASS
      NAME "buslines"
         STYLE
             COLOR [linecolor]
             WIDTH 4
             PATTERN [pattern] END
         END
      END  # CLASS
 
 but this dont work. Any hint?
 
 Thanks
 Sven  
  _______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users  
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to