[mapserver-users] Symbols Don't Follow Lines.

Moen, Paul T. pmoen at nd.gov
Wed Feb 18 12:03:12 EST 2009


I have two symbols that are used in a railroad layer.  The railties symbol used to be aligned perpendicular to the line and therefore looked like railroad ties.  The symbol now only draws upright, i.e. horizontal.  The documentation at http://mapserver.org/mapfile/symbology/construction.html#sym-construction shows a layer and a symbol similar to what I have, except they use a T as the character, following the line.  What changed and how do I get the symbol to follow the line again?

SYMBOL
    NAME 'railties'
    TYPE TRUETYPE
    FONT "helvetica"
    CHARACTER "T"
    ANTIALIAS TRUE
    GAP 7
END
SYMBOL
    NAME 'circle'
    TYPE ELLIPSE
    POINTS 1 1 END
    FILLED TRUE
END

LAYER
    NAME "Railroads"
    DATA railroads
    GROUP "Transportation"
    TYPE LINE
    STATUS ON
    CLASS
        MAXSCALEDENOM 150000
        NAME "Railroads"
        STYLE
            SYMBOL 'circle'
            COLOR 0 0 0
            SIZE 2
        END
        OVERLAYSYMBOL 'railties'
        OVERLAYCOLOR 0 0 0
        OVERLAYSIZE 7
    END
END

Thanks,

Paul

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090218/b91bd43e/attachment.html


More information about the mapserver-users mailing list