You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reprojecting a straight line (or a rectangle) to a different projection will almost always bend the line into a curve. However, GeoVector.reproject does not have this notion:
In this particular case, it's only reprojecting the two end points, therefore producing the wrong result when plotting. On the contrary, Cartopy knows how to do it properly:
I think we would need some "resolution" parameter (like Shapely buffer) that inserts intermediate points in straight lines and reprojects each of those to produce a proper curve.
The text was updated successfully, but these errors were encountered:
Reprojecting a straight line (or a rectangle) to a different projection will almost always bend the line into a curve. However,
GeoVector.reproject
does not have this notion:In this particular case, it's only reprojecting the two end points, therefore producing the wrong result when plotting. On the contrary, Cartopy knows how to do it properly:
https://gist.github.com/Juanlu001/a01e396e2364274a4a50af61eb15f6ce
I think we would need some "resolution" parameter (like Shapely
buffer
) that inserts intermediate points in straight lines and reprojects each of those to produce a proper curve.The text was updated successfully, but these errors were encountered: