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

Stephen Woodbridge woodbri at swoodbridge.com
Wed Feb 18 09:29:11 PST 2009


Paul,

Use GAP -7 to fix the problem.

-Steve W

Moen, Paul T. wrote:
>   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
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users




More information about the MapServer-users mailing list