Shortest path problem #511
|
I am struggling with a momepy-problem, and I have two questions. The network I am using is a street network shapefile and all the streets have a certain ID and cost of distribution. When I use momepy’s gdf_to_nx I don’t have a clue how the streets are named and I seem not to be able to find a certain street or line, and that is very important to make a calculation from source to sink. Secondly, as I mentioned, I have a cost per street segment what is would cost to create a heat distribution network, is it |
All attributes shall be preserved in the Graph, including ID and the cost. Those will be stored as edge attributes and be directly used as weight in a computation. I believe this answers both questions.