I want to create some heatmap style tiles to overlay on our base maps using Open Layers. Basically, I want to divide some bounding rectangle into a grid and display each grid square using a different color based on how many points of the pattern fall into this grid square.
Technologies include C #, OpenLayers, SQL Server 2008, and GeoServer.
My question mainly relates to the general approach, I'm not quite sure where to put the tip of the bit on this one.
My ultimate goal is to be able to use any arbitrary bounding box, calculate the x-mile from the x-mile grid that fits inside this bounding box, iterate over a set of individual points and assign them to one grid square or another so that I can calculate density of dots per square grid, then color the grid according to the densities, and then overlay it on the CloudMade base map using Open Layers.
Any help in general will be appreciated, in whole or in any part thereof.
source
share