You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say, you have a serie, with N values containing values from 0 to 3.
Passing the serie to geostats and calling getClassQuantile(4) will return an array such as array(0, 0.75, 1.5, 2.25, 3)see the code
you will, then choose / set radius size (in leaflet) related to the given item - see getRangeNum() method which will probably help you.
Your radius will have 4 different values in my example and 10 in yours.
Could you copy / paste, the content of factors array ?
@simogeo thank you so much!
If I could ask you a question about my use of Geostats that's probably not correct.
I wanted to get a classification in a given range of outpout values(for example from 3 to 30) that matches the radius of the circles in the map.
Do you think this is the best sort of classification?
https://github.com/Keplerjs/Kepler/blob/master/packages/keplerjs-stats/server/places.js#L34
the Leflet map client is here:
https://github.com/Keplerjs/keplerjs.github.io/blob/master/js/main.js#L54
But I'm forced to use Math.min()/max() methods... the result is not good because it does not show well my statistics.. :(
thank you for your time.
Stefano
The text was updated successfully, but these errors were encountered: