[mapserver-users] Mapserver 7.0.2

pe_lord pe_lord at yahoo.ca
Wed Mar 22 13:01:53 PDT 2017


There is a way to add arrows at the end of a label leader.

At this time, my leaders are working properly ( Leader
<http://mapserver.gis.umn.edu/mapfile/leader.html>  ). At the moment I try
to add another style by geotransform as explained here ( Geotransform
<http://mapserver.org/fr/mapfile/geomtransform.html#end-and-start>  )

Here my result
<http://osgeo-org.1560.x6.nabble.com/file/n5313718/leader.png> 

Now a part of my mapfile:

   LEADER
      GRIDSTEP 10 # number of pixels between positions that are tested
      MAXDISTANCE 100 # distance in pixels that leader text can be drawn

          STYLE
            GEOMTRANSFORM "start"
            SYMBOL "circle"
            COLOR 255 0 0
            SIZE 20
          END # STYLE
          STYLE
            COLOR 0 0 0
            WIDTH 4
          END # STYLE
          STYLE
            GEOMTRANSFORM "end"
            SYMBOL "circle"
            COLOR 0 255 0
            SIZE 20
          END # STYLE

    END




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Mapserver-7-0-2-tp5313718.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list