Skip to content

Commit 6d03069

Browse files
Update README.md (#184)
fix: include proper projection for railways extension example
1 parent fffad0c commit 6d03069

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ except:
354354

355355
# Then plot before roads:
356356
if railways is not None and not railways.empty:
357+
railways = railways.to_crs(g_proj.graph["crs"])
357358
railways.plot(ax=ax, color=THEME['railway'], linewidth=0.5, zorder=2.5)
358359
```
359360

0 commit comments

Comments
 (0)