Skip to content

Commit

Permalink
crs of the reprojected graph updated (#543)
Browse files Browse the repository at this point in the history
chore: crs of the reprojected graph updated
  • Loading branch information
sahand-asgarpour authored Jul 31, 2024
1 parent 53db3a2 commit 7208187
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ra2ce/network/networks_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1385,6 +1385,7 @@ def reproject_graph(original_graph: nx.Graph, crs_in: str, crs_out: str) -> nx.G
_reprojected_graph = original_graph.copy()
set_values = gdf_out.to_dict(orient="index")
nx.set_edge_attributes(_reprojected_graph, values=set_values)
_reprojected_graph.graph["crs"] = crs_out
return _reprojected_graph


Expand Down

0 comments on commit 7208187

Please sign in to comment.