[mapserver-users] clipping symbols at tile boundary?

BrainDrain paulborodaev at gmail.com
Sun Jun 21 23:00:43 PDT 2009


OL gutter helps with symbols but breaks labels. PARTIALS false doesn't help
in this case. I didn't find solution how to avoid breaking labels while
using gutter. I suppose the only one is to turn off gutter (prebuild OL map
clone with no gutter) on scales when symbols are turned off (if symbols are
visible in large scales then labels uses large font size and gutter works
fine with labels).

Aaron Racicot wrote:
> 
> Wendell,
> 
> Look at 'gutter' in OpenLayers.  It will allow you to get tiles slightly
> larger from your Mapserver WMS to get rid of some of the artifacts:
> 
> http://dev.openlayers.org/docs/files/OpenLayers/Layer-js.html#OpenLayers.Lay
> er.gutter
> 
> Hope that helps...
> 
> Aaron
> 
> --------------------------
> Aaron Racicot
> Z-Pulley Inc.
> 
> 
> -----Original Message-----
> From: mapserver-users-bounces at lists.osgeo.org
> [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Wendell
> Turner
> Sent: Thursday, June 18, 2009 4:59 PM
> To: mapserver-users at lists.osgeo.org
> Subject: [mapserver-users] clipping symbols at tile boundary?
> 
> (this must be basic, but here goes anyway...)
> 
> I'm using Mapserver 5.2 with OpenLayers 2.7.  I have a
> vector mapserver layer with point objects (shown with circle
> symbols) on it.  The vector layer referenced via
> OpenLayers.Layer.WMS and is tiled.
> 
> The circles are displayed in the tile that the center is on,
> but not the adjacent tiles.   That is, if a circle is near
> the edge, part of the circle is chopped off.
> 
> Is that what 'BUFFER 10' fixes?  What about 'PARTIALS
> FALSE'?  That seems to be just for labels, but that only
> shows the label when it completely lies within the tile.
> Do I need to turn off tiling completely?
> 
> Thanks,
> 
> Wendell
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
> 

-- 
View this message in context: http://n2.nabble.com/clipping-symbols-at-tile-boundary--tp3116673p3131305.html
Sent from the Mapserver - User mailing list archive at Nabble.com.




More information about the MapServer-users mailing list