Closed yiyange closed 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.
pt.reproject
which caused following pt.generate_plot() to fail: ValueError: 'box_aspect' and 'fig_aspect' must be positive
pt.generate_plot()
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.
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.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.