Geo IP is wonderful! Have any plans to add command for points clustering/aggregation depending on zoom or radius?

Comment From: antirez

Hello, thanks. Could you make an example of clustering/aggregation? I guess query by radius (which is supported) is an example of computation among N points, a particularly trivial one indeed (just return the set). Do you think at stuff like, find points in radius which have a short distance among them or similar algorithms?

Comment From: mlshvdv

Hello, @antirez! I mean like this:

Before clustering Redis Question: Will Geo API have command for points clustering/aggregation?

After: Redis Question: Will Geo API have command for points clustering/aggregation?

It's really hard to do it on client if you have millions of points. The great example: http://onemilliontweetmap.com/ The Elasticsearch and Maptimize Geo clustering plugin are used here. But this plugin is too expensive (€50k). I think, it will be great, if Redis Geo API will do the same.

Comment From: antirez

This looks like an interesting use case indeed... Most social apps showing points on a map need to do that in some way, so this is sure a fit feature for Redis Geo API. Taking the issue open in order to think more about it and check if there is some simple/valid design to address the problem. Thanks.

Comment From: mlshvdv

@antirez Thank you for care!

Comment From: hshinde

Hi Antirez,

I would like to work on this item. Whom can I talk with to discuss the requirements?

Comment From: ror6ax

Hi there! I'm interested in working on this as well. Can someone please ping back on whether it is still needed?

Comment From: vtortola

I am interested in this too 👍

Comment From: hugdubois

Me too, I am interested in this feature 👍

Comment From: ror6ax

Hi, can someone please give it a go\no go ? Almost a year has passed...

Comment From: itamarhaber

I'd like to see that in Redis as well. I think the best way to have it is implement it with the new modules API... which I sort of have, but in a very non efficient manner: https://github.com/redislabsmodules/redex/#geocluster-geoset-radius-unit-min-points-namespace - I hope to have the time to revisit it and do it properly, but that shouldn't stop anyone from taking the initiative... ;)

Comment From: dane-stevens

Looking for an update on this feature. It will be essential to a new app we have in development