Skip to content

[Feat] Heatmap interpolation (continous map with heat defined by points) #9891

@mvorisek

Description

@mvorisek

Target Use Case

Currently it seems there is a no way to render a continous heatmap. Currently the HeatmapLayer can render individual points with optional weight only.

That is great for individual points like paying customers. Each customer has some "point" location with some weigh like spending.

But for "sampled area data" like temperature or population density, the values must be represented using interpolation.

Proposal

  1. compute "convex hull" [1]
  2. for each point in the hull (render pixel) calculate the heat using interpolation based on the nearest neighborhoods

[1] https://en.wikipedia.org/wiki/Convex_hull

Examples:

Point heatmap (already possible):

Image

Continous heatmap (this feature request):

Image Image

(in both cases the "heat" must stay between the points no matter the zoom level)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions