cartagen.detect_roundabouts

cartagen.detect_roundabouts#

detect_roundabouts(roads, area_threshold=40000, miller_index=0.95)#

Detect roundabouts based on geometric properties.

This algorithm proposed by Touya [1] detects roundabouts inside a road network.

Parameters:
  • network (GeoDataFrame of LineString) – Road network to analyze.

  • area_threshold (int, optional) – The area (in square meters) above which the object is not considered a roundabout.

  • miller_index (float, optional) – Index of compactess that determines if the shape is round or not.

Returns:

GeoDataFrame of Polygon

See also

detect_branching_crossroads

Detect branching crossroads inside the road network.

collapse_branching_crossroads

Collapse branching crossroads to a point.

collapse_roundabouts

Collapse roundabouts to a point.

References

(Source code)

../_images/detect_roundabouts.png