line with arrows

David Fawcett David.Fawcett at STATE.MN.US
Fri Nov 19 10:53:48 EST 2004


Joerg or fx,

If this works for you, please post the example in the Symbol Examples
page of the Wiki

http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?SymbolExamples

Thanks,

David.



David J. Fawcett
MN Office of Environmental Assistance

>>> fx gamoy <fx.gamoy at MAPXPLORE.COM> 11/19/2004 6:23:42 AM >>>
Hello,
 you should use this
 SYMBOL
    NAME 'test'
    TYPE TRUETYPE
    FONT 'webdings'
    CHARACTER "&#61496;"
    FILLED true
      ANTIALIAS true
    GAP -25 # the negatation tells MapServer to honor the vector
direction
when computing the angle
  END
you need to get a webdings.ttf file in your fonts.txt

exemple of layer
LAYER
    NAME 'a line'
    TYPE LINE
    STATUS ON
    CLASS

      STYLE
            COLOR 0 0 0
            SYMBOL "circle"
            SIZE 1
      END

      STYLE
        SYMBOL 'test'
        COLOR 0 0 0

        SIZE 14
      END

    END
    FEATURE
      POINTS 10 10 50 100 100 300 300 300 10 490 END
    END
  END
this works with mapserver 4.0 & up
fx

----- Original Message -----
From: "joerg pfeiffer" <superbla3000 at GMX.NET>
To: <MAPSERVER-USERS at LISTS.UMN.EDU>
Sent: Friday, November 19, 2004 1:06 PM
Subject: [UMN_MAPSERVER-USERS] line with arrows


> hello,
>
> I would like to draw a line with an arrow in it.
> ---->----->----->----
>
> The arrow should always point in the line direction, so if the line
goes
> up 30 degrees or so, the arrow does the same.
>
> Joerg
>



More information about the mapserver-users mailing list