I ended up doing this, and it works pretty well I think:

   CLASS
     NAME "Railroad"
     STYLE
       COLOR 0 0 0
       SYMBOL "point"
       SIZE 4
     END
     STYLE
       COLOR 255 255 255
       SYMBOL "point"
       SIZE 2
     END
     STYLE
      COLOR 0 0 0
      SYMBOL 'railway'
      SIZE 6
     END
   END

where:

SYMBOL
    NAME 'railway'
    TYPE TRUETYPE
    FONT 'Tahoma'
    CHARACTER '|'
    GAP 4
END

SYMBOL
  NAME 'point'
  TYPE ELLIPSE
  POINTS
    1 1
  END
  FILLED TRUE
END

I'm playing with the colors, but so far, it's OK.

On 1/31/06, Jerl Simpson <[EMAIL PROTECTED]> wrote:
Hello,

I'm wondering if anyone has a good way to do rail roads.  I can't seem to work it out.  I've found a few examples, but nothing really quite what I'm looking for.
If someone has a good idea, please let me know.
Mine currently look like:

.........
    CLASS
      STYLE
        COLOR 255 0 0
        SYMBOL 'point'
        SIZE 4
      END
      STYLE
        COLOR 220 220 220
        SYMBOL 'rectangle-train'
        SIZE 2
      END
    END
.......

where

SYMBOL
  NAME 'point'
  TYPE ELLIPSE
  POINTS
    1 1
  END
  FILLED TRUE
END

and

SYMBOL
  NAME 'rectangle-train'
  TYPE VECTOR
  POINTS
    0 0
    0 0.6
    1 0.6
    1 0
    0 0
  END
  FILLED TRUE
  STYLE
    8 4 8 4
  END
END


thanks

Reply via email to