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

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


I forgot to mention the version.

The output type is AGG and I see there was a problem with this.  Does anybody if the version I am using has this problem?

MapServer version 5.2.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=GEOS INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE


On 2/18/09 11:03 AM, "Paul Moen" <pmoen at nd.gov> wrote:

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



Paul T. Moen
pmoen at nd.gov
701-328-2434
701-328-3696 (fax)
ND State Water Commission
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090218/2456c874/attachment.html


More information about the mapserver-users mailing list