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

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


Changing the gap to a negative value fixed the problem.  Thank you Steve.

On 2/18/09 11:29 AM, "Stephen Woodbridge" <woodbri at swoodbridge.com> wrote:

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
>

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


More information about the mapserver-users mailing list