walk_intersection_density: Compute Intersection Density and Street Network Morphology

View source: R/morphology.R

walk_intersection_densityR Documentation

Compute Intersection Density and Street Network Morphology

Description

Evaluates the structural morphology of a walkable street network by analyzing node valence (degrees), isolating cul-de-sacs (dead ends), counting 3-way (T-junctions) and 4-way+ (crossroads) intersections, and calculating density metrics.

Usage

walk_intersection_density(network, study_area = NULL)

Arguments

network

A walk_network object produced by walk_build_network().

study_area

Optional sf polygon defining the bounding study area. If NULL, the convex hull of the street network is used to compute area in km^2.

Value

A walk_morphology S3 object containing:

summary

A named list of summary morphological metrics.

nodes

sf points table augmented with node degree and junction_type.

network

The input walk_network.

Examples

data(streets_cusco)
net <- walk_build_network(streets_cusco, verbose = FALSE)
morph <- walk_intersection_density(net)
print(morph)

walkability documentation built on Nov. 17, 2026, 5:09 p.m.