Rail Roads

Jerl Simpson jerl.simpso at GMAIL.COM
Tue Jan 31 16:48:53 EST 2006


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 <jerl.simpso at gmail.com> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060131/195b9841/attachment.html


More information about the mapserver-users mailing list