Skip to content

Commit

Permalink
backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
martinfleis committed Oct 15, 2024
1 parent 2361df7 commit 2b11dbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion momepy/streetscape.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def __init__(
]

streets = streets.copy()
streets.geometry = streets.force_2d()
streets.geometry = shapely.force_2d(streets)

nodes, edges = momepy.nx_to_gdf(
momepy.node_degree(momepy.gdf_to_nx(streets, preserve_index=True))
Expand Down

0 comments on commit 2b11dbf

Please sign in to comment.