Skip to content

Commit

Permalink
Limit +to_meter workaround to Proj < 6.3.0.
Browse files Browse the repository at this point in the history
It has been fixed upstream in OSGeo/PROJ#1783
and will be in Proj 6.3.0.
  • Loading branch information
QuLogic committed Dec 27, 2019
1 parent 79d6339 commit beb2d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cartopy/_crs.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def _safe_pj_transform_pre_611(CRS src_crs not None, CRS tgt_crs not None,
&x[0], &y[0], NULL)


if (6, 1, 1) <= PROJ4_VERSION:
if (6, 1, 1) <= PROJ4_VERSION < (6, 3, 0):
_safe_pj_transform = _safe_pj_transform_611
else:
_safe_pj_transform = _safe_pj_transform_pre_611
Expand Down

0 comments on commit beb2d6f

Please sign in to comment.