Hi,

For the "railfar" symbol, all you need is for the PATTERN to be in the style (no symbol required). Something like:

   STYLE
        COLOR 0 0 0
        WIDTH 2
        PATTERN 5 5 END
   END


For the "rail" symbol, you need to move the GAP parameter from the symbol into the style. Something like:

   STYLE
          SYMBOL "rail"
          GAP -3
          SIZE 5
          COLOR 0 0 0
   END


And in the symbol file:

   SYMBOL
        NAME "rail"
        TYPE TRUETYPE
        FONT sc
        CHARACTER '|'
   END




Christy

On 04/27/2011 11:51 AM, Rahkonen Jukka wrote:
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
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to