<html><head></head><body><div class="ydp82ef433byahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><div><div>Perhaps you should define different classes in the LAYER section and draw the right one through the CLASSITEM tag.<br></div><div><br></div><div><br></div><div class="ydp82ef433bsignature"><font style="font-weight:bold;color:rgb(0, 96, 191);font-family:verdana, helvetica, sans-serif;" size="2">Carlos Ruiz</font><br></div></div>
        <div><br></div><div><br></div>
        
        </div><div id="ydp57f8aefcyahoo_quoted_4647316770" class="ydp57f8aefcyahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Wednesday, March 27, 2019, 11:10:33 AM CST, Sven Schroeter <schroeter@netgis.de> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="ydp57f8aefcyiv7164373745">
  

    
  
  <div>
    <font face="Arial">Hi,<br>
      <br>
      I have a line Layer and want to change the pattern dynamicly from
      the attribute table.<br>
      Is it possible?<br>
      <br>
      <br>
      e.g. I have this working:<br>
      <br>
          CLASS<br>
           NAME "buslines"<br>
              STYLE<br>
                  COLOR [linecolor]<br>
                  WIDTH 4<br>
                  PATTERN 40 10 END<br>
              END<br>
           END  # CLASS<br>
      <br>
      <br>
      and I want to get the pattern from an attribute:<br>
      <br>
    </font><br>
    <font face="Arial"><font face="Arial">    CLASS<br>
             NAME "buslines"<br>
                STYLE<br>
                    COLOR [linecolor]<br>
                    WIDTH 4<br>
                    PATTERN </font></font><font face="Arial"><font face="Arial"><font face="Arial">[pattern]</font> END<br>
                END<br>
             END  # CLASS<br>
        <br>
        but this dont work. Any hint?<br>
        <br>
        Thanks</font></font><br>
    Sven
    <div class="ydp57f8aefcyiv7164373745moz-signature">
      <br>
    </div>
  </div>

</div>_______________________________________________<br>mapserver-users mailing list<br><a href="mailto:mapserver-users@lists.osgeo.org" rel="nofollow" target="_blank">mapserver-users@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="nofollow" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a></div>
            </div>
        </div></body></html>