<p>I use a method for emergency vehicles that does a json diff to:</p>
<p>- move objects that have really moved<br>
- change attributes and thus symbology that really changed<br>
- a combination of both</p>
<p>Every 3 sec. without trouble</p>
<p>Currently only for points. It requires jquery. Would it be of any help?</p>
<div class="gmail_quote">Op 24 feb. 2012 02:21 schreef &quot;Jon Oxtoby&quot; &lt;<a href="mailto:joxtoby27@gmail.com">joxtoby27@gmail.com</a>&gt; het volgende:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I&#39;m working on a project which displays radar data on a map of the US.  This data is currently stored in KML format with one file per radar snapshot.  Snapshots are taken every 5 minutes, therefore to display one hours worth of data requires 12 files.  The method I&#39;m currently using is to create a new vector layer for each data file consisting of polygons from the KML files.  I then use setVisibility(false) to hide the layer and add it to the map.  Once all layers are created I use a timer to loop through the layers making the current layer visible and the previous layer invisible every 100ms to animate the radar display.  This works but consumes an awful lot of memory (3 hours worth of data, or 36 layers, consumes almost 300MB).  I&#39;m trying to find a solution which uses much less memory as the end goal is to be able to load up 24 hours worth of data at a time for display.<div>

<br></div><div>I do not need to use KML - I can reformat the data files into whatever format is best suited to the task.  I tried a similar approach using WMS layers and a shapefile format served by MapServer but the redrawing of the layers couldn&#39;t really keep up and the memory footprint wasn&#39;t much better than the vector layers.  Also when I zoom in using the WMS format it makes things even worse as the new tiles need to be loaded in for each zoom level, whereas the vectors are drawn immediately.</div>

<div><br></div><div>Does anyone have any suggestions for improving this setup?  I was originally going to post this to the dev list but thought I&#39;d first see if there was any native functionality that I&#39;m overlooking.</div>

<div><br></div><div>Thanks for any help</div><div>Jon</div><div><br></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
<br></blockquote></div>