Comments (4)
For the kmeans
method, this should be possible and is an interesting idea. One would have to calculate the number of visible cells and then get the number of clusters with k*cellcount
. After that, only one SELECT
would be needed, targeting the current (grid)bounds instead of each grid cell. Furthermore, this would reduce the amount of times the distance cluster has to be run. I will give that a try. Thank you for this input.
For the gridCluster
I currently don't know how the amount of SELECT
could be reduced, but that does not mean it is not possible. If you (or anyone else) knows a solution it would be highly appreciated.
from anycluster.
I might have found a way querying the database only once by using a grid calculated by a postgis function:
http://gis.stackexchange.com/questions/16374/how-to-create-a-regular-polygon-grid-in-postgis
Hopefully I will find the time to test this.
from anycluster.
query amount reduced using temporary tables
from anycluster.
Good job. I can't test because i am on travels but good job.
from anycluster.
Related Issues (20)
- Pin Images HOT 1
- request: Include demo app in repo HOT 1
- Possible Bug in kmeansCluster(self, clustercells, filters) HOT 7
- markerFinalClickFunction on single marker HOT 1
- Question - Markers in Viewport HOT 4
- clusterPopup.html override HOT 2
- Viewport and Pincount HOT 5
- Filter docs HOT 2
- Change separator in parseFilters method HOT 4
- csrf HOT 2
- ST_WITHIN HOT 5
- Reporting HOT 4
- Viewport as geojson HOT 2
- Compatibilty with mysql HOT 9
- Application integration with pip install HOT 1
- Demo is not running HOT 3
- Ambiguity with filters, array or dict. Suggestion HOT 5
- Demo doesn't work HOT 1
- Expose anycluster-client filter types HOT 1
- get_map_content_counts requires nested sql statement HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anycluster.