[mapserver-users] How do I draw railroads with Mapserver?

Stepan Kafka stepan.kafka at centrum.cz
Wed Mar 27 00:24:35 PST 2002


You can use the truetype symbols for overlaysymbol.

in your symbol file define something like:

SYMBOL
  NAME "mysymbol"
  TYPE "truetype"
  FONT "tahoma" # or what do you have defined in your fontset.txt
  CHARACTER "|"
  GAP 10
END

In the class definition of your layer define something like:

OVERLAYSYMBOL "mysymbol"
OVERLAYCOLOR 0 0 0
OVERLAYSIZE 8

Stepan Kafka


> -----Pùvodní zpráva-----
> Od: owner-mapserver-users at lists.gis.umn.edu
> [mailto:owner-mapserver-users at lists.gis.umn.edu]za uživatele Dan Keith
> Odesláno: 25. bøezna 2002 22:31
> Komu: mapserver-users at lists.gis.umn.edu
> Pøedmìt: [mapserver-users] How do I draw railroads with Mapserver?
>
>
> I'm trying to draw railroads using mapserver. I want to create a
> single line that follows the path of the railway, with small
> crosshatches every 10-15 pixels or so.
>
> Is this possible?
>
> So far, I found a message from Stephen Lime last December 13, which
> indicated that the rules had changed for version 3.5 and that he
> would post some example of how to do railroads. I couldn't find any
> followup, though.
>
> thanks
> dan keith bud at otsys.com
> --
> Dan "Bud" Keith - bud at otsys.com
>
>




More information about the MapServer-users mailing list