I guess it shouldnt be too hard to do it with geoserver<br><br>cheers<br><br><div class="gmail_quote">2009/3/18 Heidt, Christopher M. <span dir="ltr"><<a href="mailto:CHRISTOPHER.M.HEIDT@saic.com">CHRISTOPHER.M.HEIDT@saic.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">If your just pointing directly to a large kml file
then you are right,</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">but most systems have a handler that generates kml based on
parameters.</font></span></div><br>
<div dir="ltr" align="left" lang="en-us">
<hr>
<font size="2" face="Tahoma"><b>From:</b> <a href="mailto:users-bounces@openlayers.org" target="_blank">users-bounces@openlayers.org</a>
[mailto:<a href="mailto:users-bounces@openlayers.org" target="_blank">users-bounces@openlayers.org</a>] <b>On Behalf Of </b>Tiemens,
Gerben<br><b>Sent:</b> Wednesday, March 18, 2009 5:15 AM<br><b>To:</b> Ivan
Grcic<br><b>Cc:</b> <a href="mailto:users@openlayers.org" target="_blank">users@openlayers.org</a><br><b>Subject:</b> Re:
[OpenLayers-Users] Strategy cluster and slow map behavior.<br></font><br></div><div><div></div><div class="h5">
<div></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span>Thanks for your answer.</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span>I already searched in the way of WFS, but wanted it
first to work with a simple KML. As searching in the mailinglist and other
resources didn't give a solution, I will have to move to a WFS
solution.</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span>BBOX strategy will not work on KML so that is nog the
right way to go.</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span>Maybe there might be an idea to leave out the
clusterfeatures that are out of view when using strategy cluster? Some sort of
BBOX idea within the clustering, but then for not attaching all the available
features in a KML to the layer, when features are out of view.(out of
viewport bbox). </span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span></span></font> </div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span>Greets</span></font></div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"><span><br>Gerben</span></font></div>
<div><font color="#0000ff" size="2" face="Arial"></font> </div>
<div><font color="#0000ff" size="2" face="Arial"></font> </div><br>
<div dir="ltr" align="left" lang="nl">
<hr>
<font size="2" face="Tahoma"><b>Van:</b> Ivan Grcic [mailto:<a href="mailto:igrcic@gmail.com" target="_blank">igrcic@gmail.com</a>]
<br><b>Verzonden:</b> Tuesday, March 17, 2009 5:07 PM<br><b>Aan:</b> Tiemens,
Gerben<br><b>CC:</b> <a href="mailto:users@openlayers.org" target="_blank">users@openlayers.org</a><br><b>Onderwerp:</b> Re:
[OpenLayers-Users] Strategy cluster and slow map behavior.<br></font><br></div>
<div></div>Hi Tiemens,<br><br>the problem is that the more you zoom in, more and
more clusters are created. So at the first several levels, you only have several
clusters, thats why it takes relativly small amount of time. The more you zoom
in, it takes lots of time to calculate clusters.<br><br>This is happening
because you are working with all the features all the time, regardless of the
bbox of the map (not good solution if you have more then 50-100
features)<br><br>I suggest: using BBOX strategy that filters out the features
depending on map extents, together with wfs protocol. Then it should work pretty
fast.<br><br>HINT: check ratio parametar and <a href="http://trac.openlayers.org/ticket/1830" target="_blank">http://trac.openlayers.org/ticket/1830</a><br><br>Cheers<br><br><br>
<div class="gmail_quote">2009/3/17 Tiemens, Gerben <span dir="ltr"><<a href="mailto:Gerben.Tiemens@grontmij.nl" target="_blank">Gerben.Tiemens@grontmij.nl</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><font color="#0000ff" size="2" face="Arial"></font> </div>
<div><span><font color="#0000ff" size="2" face="Arial">Hello OpenLayers List
users,</font></span></div>
<div><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div><span><font color="#0000ff" size="2" face="Arial">I'm implementing the cluster
strategy and im facing a problem. I have a 500 features on the map from a
KML file, with google layer as baselayer. </font></span></div>
<div><span><font color="#0000ff" size="2" face="Arial">With clustering on the KML
layer, the map acts really slow. When zooming in, the map acts slower and
slower. Every zoom step, the next zoomstep will be slower.</font></span></div>
<div><span><font color="#0000ff" size="2" face="Arial">When clustering is off, the
map acts fast again, even it has more features on it.</font></span></div>
<div><span><font color="#0000ff" size="2" face="Arial">I turned of the special
styling, but even that does not help in this case. The map keeps acting slow
with each zoom action.</font></span></div>
<div><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div><span><font color="#0000ff" size="2" face="Arial">My site is: <a href="http://www.getiem.nl/mineralmap/mineralmap.html" target="_blank">http://www.getiem.nl/mineralmap/mineralmap.html</a></font></span></div>
<div><span><font color="#0000ff" size="2" face="Arial">The javascript is on <a href="http://www.getiem.nl/mineralmap/strahlen.js" target="_blank">http://www.getiem.nl/mineralmap/strahlen.js</a></font></span></div>
<div><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div><span><font color="#0000ff" size="2" face="Arial">Does anyone have an idea why
clustering is slowing down on the zoomed in map?</font></span></div>
<div><span><font color="#0000ff" size="2" face="Arial">Is this a bug or issue to
resolve?</font></span></div>
<div><span><font color="#0000ff" size="2" face="Arial">Maybe you see a flaw in my
code.</font></span></div>
<div><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<ol>
<li><span><font color="#0000ff" size="2" face="Arial">Steps to
reproduce: </font></span>
</li><li><span><font color="#0000ff" size="2" face="Arial">Zoom in on the map.
</font></span>
</li><li><span><font color="#0000ff" size="2" face="Arial">When zoomed in to lets say
the Netherlands, its slowed down to seconds, </font></span>
</li><li><span><font color="#0000ff" size="2" face="Arial">when zooming further, each
step takes longer.</font></span></li></ol>
<div><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div><span><font color="#0000ff" size="2" face="Arial">My first insights are:
all features are drawn in memory (also features outside map), and thats why it
is taking longer when zoomed in: it draws all 500 features. But thats
not satisfying, since loading all features at once and then zooming in is
faster.</font></span></div>
<div><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div><span><font color="#0000ff" size="2" face="Arial">Greetings</font></span></div>
<div><span><font color="#0000ff" size="2" face="Arial"><br>Gerben</font></span></div>
<p><font face="Times New Roman"></font> </p><br><font color="gray" size="1" face="Verdana"><< Please read our E-mail Disclaimer at the Grontmij
Corporate website
>><br></font></div><br>_______________________________________________<br>Users
mailing list<br><a href="mailto:Users@openlayers.org" target="_blank">Users@openlayers.org</a><br><a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Ivan Grcic<br><br><font color="gray" size="1" face="Verdana"><< Please read our E-mail Disclaimer at the Grontmij Corporate
website >><br></font></div></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Ivan Grcic<br>