mapnik / python-mapnik

Python bindings for mapnik
GNU Lesser General Public License v2.1
157 stars 90 forks source link

Python 3: missing Map functions #254

Closed alexandervlpl closed 2 years ago

alexandervlpl commented 2 years ago

After I upgrading to Python 3, I found that the Map object has none of the functions I need: zoom_max(), set_center_and_zoom(), etc. Where did they all go? Are they simply not implemented? Any plans to do so? Is there any current documentation anywhere? :cry:

I tried using the python3-mapnik debian package as well as compiling from source.

Relates to #36

alexandervlpl commented 2 years ago

In case somebody else has this problem: I was using the old nik2img stuff and these methods actually come from its fancy metaclass injectors that fail silently in Python 3.