Open
Description
On mapnik 3.0.24 and proj 4.x I can do this:
>>> from mapnik import Projection, Coord
>>> proj.inverse(Coord(1172741.5121814408, 4999945.322510758))
Coord(167.57662616547188,-45.02500691788448)
However, on mapnik master with proj 7.0 and our fork of python-mapnik with the proj6 branch merged in, I only get infinities:
ipdb> proj = Projection('EPSG:2193')
ipdb> proj.inverse(Coord(4999945.322510758, 1172741.5121814408))
Coord(inf,inf)
We thought this might be an axis order issue (EPSG:2193 is y,x) but reversing the order doesn't help:
ipdb> proj.inverse(Coord(1172741.5121814408, 4999945.322510758))
Coord(inf,inf)
Thanks
Metadata
Metadata
Assignees
Labels
No labels