[mapserver-users] Re: lane presentation of highways

Stephen Woodbridge woodbri at swoodbridge.com
Sun Oct 16 14:40:11 EDT 2011


On 10/16/2011 2:13 PM, knasia wrote:
> Hi,
> My case is to draw road lines, but I do not have column "DRIVING_DIRECTION",
> but I have a grapf of lines where road from node a to b is of one direction
> and from b to a another.
>
> How should I comstruct mapfile than?
> Could you please help?

You might try something like this:

LAYER
   ....
   CLASS
     ...
     STYLE  # create a dark shoulder for the road
       COLOR '#000000'
       WIDTH 9
     END
     STYLE  # create a light colored road surface
       COLOR '#ffffff'
       WIDTH 7
     END
     STYLE  # create a centerline for the road
       COLOR '#000000'
       WIDTH 1
     END
   END
END


Hope this helps,
   -Steve W


More information about the mapserver-users mailing list