Inverse Distance Weighting
tmcw opened this issue · comments
See #2, basically the same jam http://en.wikipedia.org/wiki/Inverse_distance_weighting /cc @darrell
Looked at the two methods now — looks great, but the problem with implementing these is that they're interpolation methods, which is different from usual heatmap algorithms that reflect density rather than interpolated values between points.
For this to work as heatmaps, we would need to combine point clustering with interpolation, which is not as simple, and getting sane results from this might involve a lot of tweaking.
Hi Tom,
Were you able to find a solution to this one? I have the exact same need to render an IDW heatmap in javascript, something that looks akin to https://www.walkscore.com/choice/restaurants/NY/New_York.
By the way, I see you work / are involved with Mapbox. Does Mapbox offer any tools to implement a heatmap visualization like that, by now?
Thanks!
@fullofcaffeine I need the same solution too! Please let me know if you find any library that works like that on top of google maps or leaflet.
@JoranBeaufort this looks great, looking forward to it!
@mourner
I have now uploaded my progress. As of now the plugin seems to be working and produces subjectively correct results. There is still a lot to be done, but it seems like off to a good start:
https://github.com/JoranBeaufort/Leaflet.idw
Seeing that I have basically based the whole code on your Leaflet.heat plugin, there are still a number of things that could be changed to optimise performance (see ToDo section of readme).
Hope someone can use this :)
This sounds VERY interesting Joran! I'm very much looking forward to
testing it in our project... :)
Best,
Greg
On Fri, May 20, 2016 at 11:13 AM, JoranBeaufort notifications@github.com
wrote:
@mourner https://github.com/mourner
I have now uploaded my progress. As of now the plugin seems to be working
and produces subjectively correct results. There is still a lot to be done,
but it seems like off to a good start:
https://github.com/JoranBeaufort/Leaflet.idw
Seeing that I have basically based the whole code on your Leaflet.heat
plugin, there are still a number of things that could be changed to
optimise performance (see ToDo section of readme).
Hope someone can use this :)—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#3 (comment)
Health Information Systems Program - South Africa
- - - - - - - *- - - - - - - *- - - - - - - *- - - - - - - **- - - - - *
Mobile : 073 246 2992
Landline: 021 851 2216
Skype: gregory_rowles
@gregrowles Thank you for your interest. I have now added a (hopefully) working example: http://www.geonet.ch/leaflet-idw/
Feel free to download the plugin from https://github.com/JoranBeaufort/Leaflet.idw and play around with the options and number of points.
Cheers
Lol, now to figure out exactly how to apply IDW to the HIV/AIDS prevention
& turnaround strategy in South Africa!!
On Fri, May 20, 2016 at 12:21 PM, JoranBeaufort notifications@github.com
wrote:
@gregrowles https://github.com/gregrowles Thank you for your interest.
I have now added a (hopefully) working example:
http://www.geonet.ch/leaflet-idw/
Feel free to download the plugin from
https://github.com/JoranBeaufort/Leaflet.idw and play around with the
options and number of points.
Cheers—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#3 (comment)
Health Information Systems Program - South Africa
- - - - - - - *- - - - - - - *- - - - - - - *- - - - - - - **- - - - - *
Mobile : 073 246 2992
Landline: 021 851 2216
Skype: gregory_rowles