Re: dynamic line pattern

Carlos Ruiz <[email protected]>
Newsgroups gmane.comp.gis.mapserver.user
Message-ID <[email protected]>
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 <[email protected]> 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
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.