[mapserver-users] Symbols at tile edges

Dave Barter dave.barter at gmail.com
Mon Mar 17 08:36:32 PDT 2014


Is there any way to prevent symbols being clipped/rendered at tile edges using just mapserver?

I have created direction arrows as a filled vector symbol and placed these as follows:-

SYMBOL
                NAME "arrow"
                TYPE vector
                FILLED true
                POINTS
                    0 0.4
                    1 0.4
                    1 0
                    2 0.8
                    1 1.6
                    1 1.2
                    0 1.2
                    0 0.4
                END
                ANCHORPOINT 1 0.8
 END 

 
STYLE
                          GAP -300.0
                          COLOR 128 128 128
                          OUTLINECOLOR 0 0 0
                          SYMBOL "arrow"
                          SIZE 12.0
                          ANGLE AUTO
                            OFFSET 10 -99
END

When viewed as a WMS layer in open layers I find that arrows placed on a line close to a tile edge are being clipped. The layer uses Request parameters and cannot be proxied through map cache. As you can see below it uses  %worker% to pick the right table.

DATA "wkb_geometry from (SELECT work_item_sequence as seq, count(work_item_sequence), (st_collect(route_line)) as wkb_geometry FROM ng_worker.worker_%worker%_route_table GROUP by work_item_sequence ORDER by work_item_sequence ASC ) AS FOO using unique seq using srid=27700"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140317/0540ae6b/attachment.html>


More information about the mapserver-users mailing list