<div>Hi Wim,</div><div><br></div><div>Did you try the BUFFER setting to increase the search area during the cluster creation?</div><div>For more information see: <a href="http://mapserver.org/mapfile/cluster.html">http://mapserver.org/mapfile/cluster.html</a></div>
<div><br></div><div>Best regards,</div><div><br></div><div>Tamas</div><div><br></div><div><br></div><br><br><div class="gmail_quote">2012/1/16 Wim Vanbelle <span dir="ltr"><<a href="mailto:wimvanbelle@gmail.com">wimvanbelle@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Does anyone have any working examples of how they implemented clustering without the tile clipping?<div><br></div><div>
<div>Thanks.</div><div><div></div><div class="h5"><div><br><div class="gmail_quote">On 11 January 2012 10:00, Wim Vanbelle <span dir="ltr"><<a href="mailto:wimvanbelle@gmail.com" target="_blank">wimvanbelle@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div><br></div><div>I'm very happy that mapserver is now capable of server side clustering. However I wonder if it's possible to completely get rid of the tile clipping.</div>
<div><br></div><div>Currently I've clustered a point layer with 44k points:</div>
<div><br></div><div><div> CLUSTER</div><div> MAXDISTANCE 100</div><div> REGION "ellipse"</div><div><br></div><div> END</div></div><div><br>
</div><div>It is displayed with a simple image:</div><div><div> STYLE</div><div> SYMBOL "small_shaded.png"</div><div> SIZE 21</div>
<div> OUTLINECOLOR 0 0 0</div><div> END</div></div><div><br></div><div>However, when viewing this on google maps, the images are often clipped at the tile edges.</div>
<div><br></div><div>I figured that I could solve this with mapcache:</div><div><br></div><div><div> <tileset name="ld"></div><div> <source>ld</source></div><div> <cache>disk</cache></div>
<div> <grid>g2</grid></div><div> <format>PNG</format></div><div> <metatile>2 2</metatile></div><div> <metabuffer>30</metabuffer></div><div> <expires>3600</expires></div>
<div> <auto_expire>2592000</auto_expire></div><div> </tileset></div></div><div><br></div><div>i've tried higher values for metatile and it helps a bit, but the problem simply shifts location. Also with higher values (eg 5 5 metatile) mapserver doesn't return the tiles on time for mapcache and I get gaps in my results.</div>
<div><br></div><div>Would preseeding the data help with the timeouts? Any other solutions that I may try? The metadata parameter for tile_edge buffer only works with labels as far as i know.</div><div><br></div><div>Thanks in advance, this issue has been troubling me for some time now :).</div>
<div><br></div><div>Best regards,</div><div>Wim</div><div><br></div>
</blockquote></div><br></div></div></div></div>
<br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br>