artemp/tickets2issues — Issue #212: Class Projection
Author: artemp
Created: 2011-10-11 15:02:39+00:00
State: open
Labels: Boost_Python_Binding

I used "forward" and "inverse" method to projection class but i have a problem. The data are in WGS84, so the 2 methods should not change.

>>> from mapnik import *
>>> p = Projection('+init=epsg:4326')
>>> p.inverse(Coord(3.01331418311,43.3333092669))
Coord(172.650185039,2482.81573333)
>>> p.forward(Coord(3.01331418311,43.3333092669))
Coord(0.0525922538923,0.756308922492)

why this changnement ?