[mapserver-users] dynamic line pattern

Carlos Ruiz boolean10001 at yahoo.com
Wed Mar 27 11:50:14 PDT 2019


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 <schroeter at 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 at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20190327/6c5a8735/attachment-0001.htm>


More information about the MapServer-users mailing list