[OpenLayers-Users] Recommendation for large number of points?

Amos Hayes ahayes at gcrc.carleton.ca
Tue Sep 29 17:59:16 EDT 2009


I feel your pain. You might want to have a look at the Cluster  
Strategy. See an example here:

http://openlayers.org/dev/examples/strategy-cluster.html

This would allow you to lump features within a certain display radius  
together into a single feature. As you zoom in, points that were  
originally clustered would split out.

The other approach would be to classify your points and filter them  
with an SLD based on zoom level such that you didn't wind up with too  
many shown at any given zoom level/extent.

--
Amos Hayes
Geomatics and Cartographic Research Centre
Carleton University

On 2009-09-29, at 5:48 PM, MattL wrote:

>
> I'm working with a large site that contains somewhere in the area of  
> 18,000
> points of interest. I have tried two setup scenarios - the first  
> using a WFS
> Layer and Vectors, and the second using a GML Layer (text input) with
> Markers.
>
> Both setups resulted in giving browsers (most noticeably IE6) a huge
> workout, causing full CPU load and wait times to process the points.  
> I have
> lessened the rendering load by restricting the maxResolution to more
> manageable zoom levels, but this can be hit or miss where some areas  
> have
> more clusters of data points.
>
> What options do I have for managing this set of data? What are normal
> recommendations when it comes to plotting large sets of data with OL?
> -- 
> View this message in context: http://n2.nabble.com/Recommendation-for-large-number-of-points-tp3739187p3739187.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users




More information about the Users mailing list