[mapserver-dev] [mapserver-users] RFC-108 : heatmap generation

thomas bonfort thomas.bonfort at gmail.com
Fri Feb 7 02:49:15 PST 2014


Jukka,
Imho this suggestion is too high-level to be added to the RFC. If/when
someone comes up with a formula to create an ideal heatmap, we can
start thinking about adding formula-based parameters. Right now, we
have neither the formula, nor the actual parameters that can/should be
affected by such a formula.

regards,
thomas

On 5 February 2014 13:10, Rahkonen Jukka  (Tike)
<jukka.rahkonen at mmmtike.fi> wrote:
> Thomas Bonfort wrote:
>>
>> The underlying problem I think is that heatmaps aren't designed to represent
>> your data passed a given scale. We could however ease the task of generating
>> consistent outputs by specifying the kernel radius in geographical units rather
>> than in pixels. I'm a bit weary to implement that though, as it would be very easy
>> to specify a radius that results in a huge raster buffer being allocated, and could
>> easily lead to denials of service. Another shortcut that would avoid having to
>> define multiple scale-dependant layers would be to use the RFC86 scaletoken
>> mechanism to define multiple kernel radiuses and/or normalization values.
>
> I have a third suggestion which is a variation of your second one. What affect the heatmap appearance are two factors, radius and weight which are both obviously numeric. Scale is numeric too, so perhaps the rest could be handled with mathematics?  You implement HM:RADIUS_FORMULA and HM:WEIGHT_FORMULA processing options and perhaps some clever people will discover what kind  of formulas will yield a nice smooth good looking transitions for all scales with only one single layer. Obviously Mapserver should pass the scale or scaledenominator as a variable so it could be utilized in the formula. HM stands for heatmap namespace and leaves field open for utilizing the same idea for other processes.
>
> -Jukka Rahkonen-
>
>
>
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev


More information about the mapserver-dev mailing list