Skip to content

Add a load_graph attribute to BasePartitioner #101

@csebastiao

Description

@csebastiao

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.

Metadata

Metadata

Assignees

Labels

activeBeing worked on right nowenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions