I made a heatmap from points (with values) in QGIS, and now try to understand what the values in color scale are.
- Radius 300 map units (meters)
- Pixel size 10 map units (meters)
- Point values are 10-100.
In heatmap options, I see the kernel function is uniform.
Result values are 0-0.04 . How are they calculated? I want to recalculate it to some real life scales, sum(values)/area.
A test sample: same parameters (radius 300 meters, pixel 10 meters). All points fall within radius, their sum is 152. The result values are 0-0.04. I don't get where .04 came from.
Test calculation. If I assume radius in heatmap pixels, it's 30 px, then
In : 152. / (30 ** 2 * math.pi) Out: 0.05375900299992909
What is 0.04 then?