Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add heatmap visualisation of active fire points #5

Open
ajgeers opened this issue May 23, 2018 · 1 comment
Open

Add heatmap visualisation of active fire points #5

ajgeers opened this issue May 23, 2018 · 1 comment
Assignees

Comments

@ajgeers
Copy link

ajgeers commented May 23, 2018

When displaying many points close together on a map - for example when zooming out to view the active fire data of a whole continent - point markers might start overlapping and it can sometimes be difficult to correctly interpret how points are distributed. Heatmaps are an alternative visualisation technique that better highlight the overall distribution rather than showing individual points.

Use the Leaflet.heat plugin to visualise the active fire points with a heatmap. Add a layer control to switch between point marker and heatmap visualisations.

Here is an example heatmap showing the distribution of earthquakes (source):

image

@ajgeers
Copy link
Author

ajgeers commented May 25, 2018

The Leaflet.heat library requires the point data to be in the following format:

[
	[50.5, 30.5, 0.2], // lat, lng, intensity
	[50.6, 30.4, 0.5],
	...
]

This issue discusses how to convert a GeoJSON to this format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants