Skip to content

Gap features have no length #34

Description

@MoritzStefaner

They carry only path, benefit, edge_list, source and target. FixBikeNet therefore
contributes 0 km to the site's length statistics, and the tooltip can't show a segment length, which
is usually the first number a planner wants from a proposed link.

Ask: add length in metres (see G1 for the one-liner).

gdf["length"] = gdf.to_crs(gdf.estimate_utm_crs()).length   # metres
# or, on the unprojected graph: ox.distance.add_edge_lengths(G)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status
Ready
Status
Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions