Skip to content

Commit

Permalink
Illustrate interpolations. Fixes #16
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcw committed Jul 11, 2016
1 parent 9aa401d commit 5a13be4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
Binary file added img/heatmap.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/voronoi.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 10 additions & 2 deletions index.md
Expand Up @@ -206,10 +206,18 @@ Interpolation looks at the values around the 'blanks' and assumes that the missi

There are many ways to interpolate point data:

- **Heatmaps** assign each point a weight and represent density of point values in "hotter" colors.
![](img/voronoi.png)

**Voronoi diagrams** take a set of points and turn them into polygons of all of the area around them.
This example [is of airports](https://www.jasondavies.com/maps/voronoi/airports/).

![](img/heatmap.png)

**Heatmaps** assign each point a weight and represent density of point values in "hotter" colors.
This example is [from the Leaflet.heat plugin for web maps](https://github.com/Leaflet/Leaflet.heat).

- **Contour lines** take point sample data and draw lines around them that represent a continuous estimated value. Elevation maps often use this technique.
- A **TIN** (Triangulated Irregular Network) draws triangles between points that can be used to visualize terrains.
- **Voronoi diagrams** take a set of points and turn them into polygons of all of the area around them.

## Afterword

Expand Down

0 comments on commit 5a13be4

Please sign in to comment.