<!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). Something like:<br>
<blockquote>STYLE<br>
COLOR 0 0 0<br>
WIDTH 2<br>
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. Something like:<br>
<blockquote>STYLE<br>
SYMBOL "rail"<br>
GAP -3<br>
SIZE 5<br>
COLOR 0 0 0<br>
END<br>
</blockquote>
<br>
And in the symbol file:<br>
<blockquote>SYMBOL<br>
NAME "rail"<br>
TYPE TRUETYPE<br>
FONT sc<br>
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>