[OpenLayers-Users] Cluster strategy but on the server side

Kris Geusebroek kgeusebroek at xebia.com
Wed Apr 1 15:15:27 EDT 2009


Hi Nils,

I didn't try this myself but i could imagine that you could cluster a
bit in your database.
I'm using oracle and have functionality to show only features within a
certain boundary of a province.
I create a view which calculates the distance and stores that in a
column.

You could use the spatial distance of your database to group features in
your view I guess.
Don't know if that would take too much resources on your database side
though?

Cheers Kris

-----Original Message-----
From: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org]
On Behalf Of Nils Weinander
Sent: Wednesday, April 01, 2009 7:46 PM
To: OpenLayers Users
Subject: [OpenLayers-Users] Cluster strategy but on the server side

Hi all

This is a bit peripheral, sorry about that.

I have tried the cluster strategy on a WFS layer and it
works excellently. But, when zoomed out, there are simply
too many features to run the clustering on the client (I
tried with 10,000 which the browser wasn't too happy about
and in the final system the numbers may be ten times that).

So, has anyone tried clustering features on the server
side, and if so how did you do it?

-- 
Nils Weinander  |  Systems Designer
Phone +46 (0)8 4100 6456
Mobile +46 (0)709 78 28 37
--
Curalia AB  |  www.curalia.se
Hudiksvallsgatan 4, 113 30 Stockholm, Sweden
--
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users



More information about the Users mailing list