Hi, just to be sure, you mean more than 1,000 points/markers (not polygons or lines)? In the only experience I had with that many points I wasn't loading the KML through OpenLayers.Layer.Vector (as in http://openlayers.org/dev/examples/kml-layer.html, for example). We had a 'upload' dialog, so that the user could choose a file from his machine. We then used the KML Parser to extract the features and then added to a layer. This way we were able to display around 20,000 markers (before things started to get slow). If what you're doing is something similar I could give you some hints.
2013/7/28 Phil Scadden <p.scad...@gns.cri.nz> > > What is the best practice to plot more than 1,000 itens from a KML file? >> >> I have tried cluster strategy, but it still takes too much time. >> >> Any clue is welcome! >> > I would say best practise is dont use any vector format for more than 500 > points of geometry, period. And KML can be considerably more verbose than > say GML. You are up against limitations of the browser, network transfer > speeds and especially the execution speed of js. Have a long look at the > application and see how you move rendering to the server (WMS). If you are > stuck with KML, then look at the KML module in geoserver for example. > > Notice: This email and any attachments are confidential. > If received in error please destroy and immediately notify us. > Do not copy or disclose the contents. > > ______________________________**_________________ > Users mailing list > us...@lists.osgeo.org > http://lists.osgeo.org/**mailman/listinfo/openlayers-**users<http://lists.osgeo.org/mailman/listinfo/openlayers-users> >
_______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users