Hi Pradeep,
I'm not an OL expert, but you are right: adding a huge number of features
via javascript is not the right way, because OL is a javascript
environment and works locally on browser; managing too much features it
charge the local ram.
OpenLayer accept wms and mapserver layers
(http://www.openlayers.org/dev/examples/). Set up a server and add a OL
layer from it.
bye
pg
On Gio, Aprile 2, 2009 01:42, new2ms4w wrote:
Hi All,
I used Mapserver along with OpenLayers to generate moving objects and
display them on roads in Minnesota map. I was using the OL to show the
objects on the map and to move them to the next coordinate. (I update
coordinates of point every 1 second.)
We want to make this functionality scalable. Right now, if I add more than
1000 objects the map display slows down and the web-browser starts
consuming a lot of memory. ( I think this is because of the Javascript
code)
We want to generate up to 100,000 moving objects onto the map. Can you
please suggest me how I go about this.
I searched the forum archives and found this useful. From what I can
understand from it, I have to migrate to WMS to make this scalable.
I have no clue as to what a WMS is. Before reading upon it, I just want to
take your opinion if this is the right way to go.
Thank you for your time.
-Pradeep
--
View this message in context:
http://n2.nabble.com/display-%22huge%22-number-of-moving-objects-tp2572268p2572268.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users