BikeNetKit / BikeNetKit/superblockify

Add a load_graph attribute to BasePartitioner

Open
#101 5 comments 1 reaction 2 assignees Claimed by @juanfonsecaLS1 View on GitHub
active enhancement
Dominant language
Python
Stars
33
Forks
4
Avg merge
3h 15m
Merged PRs (30d)
1

Description

Add an attribute `load_graph=None` where we can load a networkX graph (or a graphml) into the `BasePartitioner`. As of now, can only either download it straight from OSM, or need to already have the graph inside the `Config.GRAPH_DIR` folder with the name `{city_name}.graphml` who need to have already some metrics computed on.

Necessary for any graph not coming from a simple Nominatim call.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.