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 (
GeoDataFrameofLineString) – 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:
See also
detect_branching_crossroadsDetect branching crossroads inside the road network.
collapse_branching_crossroadsCollapse branching crossroads to a point.
collapse_roundaboutsCollapse roundabouts to a point.
References