kuanb / peartree

peartree: A library for converting transit data into a directed graph for sketch network analysis.
MIT License
201 stars 23 forks source link

Reproject in toolkit does not update reprojected network crs #114

Closed yiyange closed 5 years ago

yiyange commented 5 years ago

I used pt.reproject (https://github.com/kuanb/peartree/blob/master/peartree/toolkit.py#L162) to reproject a network from 4326 to default (2163). But the reprojected networks's crs is not updated.

screen shot 2018-10-20 at 1 05 29 am

which caused following pt.generate_plot() to fail: ValueError: 'box_aspect' and 'fig_aspect' must be positive

pt.generate_plot() worked fine after i set the reprojected network's crs to be 2163.