<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hi,<br>
    <br>
    For the "railfar" symbol, all you need is for the PATTERN to be in
    the style (no symbol required).&nbsp; Something like:<br>
    <blockquote>STYLE<br>
      &nbsp;&nbsp;&nbsp; COLOR 0 0 0<br>
      &nbsp;&nbsp;&nbsp; WIDTH 2<br>
      &nbsp;&nbsp;&nbsp; PATTERN 5 5 END<br>
      END<br>
    </blockquote>
    <br>
    For the "rail" symbol, you need to move the GAP parameter from the
    symbol into the style.&nbsp; Something like:<br>
    <blockquote>STYLE<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYMBOL "rail"<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GAP -3<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE 5<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 0<br>
      END<br>
    </blockquote>
    <br>
    And in the symbol file:<br>
    <blockquote>SYMBOL<br>
      &nbsp;&nbsp;&nbsp; NAME "rail"<br>
      &nbsp;&nbsp;&nbsp; TYPE TRUETYPE<br>
      &nbsp;&nbsp;&nbsp; FONT sc<br>
      &nbsp;&nbsp;&nbsp; CHARACTER '|'<br>
      END<br>
    </blockquote>
    <br>
    <br>
    <br>
    Christy<br>
    <br>
    On 04/27/2011 11:51 AM, Rahkonen Jukka wrote:
    <blockquote
      cite="mid:CC197224AC75CE4DB23F739B16891B86E34BC0@tikka.haapa.mmm.fi"
      type="cite">
      <pre wrap="">Hi,

My old OpenStreetMap mapfile does not work any more after update. I read that some SYMBOL stuff has been moved into STYLE. Could somebody tell how should I convert the following symbols which were used for styling railways into STYLE things giving the same appearence? 

SYMBOL
    NAME "rail"
    TYPE TRUETYPE
    FONT sc
    CHARACTER '|'
    GAP -3
END
SYMBOL
    NAME "railfar"
    TYPE SIMPLE
    PATTERN 5 5 END
END


-Jukka Rahkonen-
_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
    </blockquote>
  </body>
</html>