Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Concave hull and alpha shapes

Motivation

Suppose we want to calculate an area using OpenStreetMap (OSM) elements you downloaded. Take proving grounds for example.

In OSM provings grounds are often represented as Ways (e.g. Segula Test Center). But it can also be a relation, like the Mercedes proving ground in Immendingen. In this case the relation does not cover the whole premises. So we need a way to calculate the are from the relation.

Challenge

There is not a unique way to get from a bunch of points to a convex hull.

https://alastaira.wordpress.com/2011/03/22/alpha-shapes-and-concave-hulls/ has a good illustration of the problem.

Resources