Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Official Mapnik compatible version #270

Open
NasH5169 opened this issue May 15, 2023 · 5 comments
Open

Official Mapnik compatible version #270

NasH5169 opened this issue May 15, 2023 · 5 comments

Comments

@NasH5169
Copy link

Hi,

I'm trying to find a simple and important information:

What is the last Mapnik version compatible with the last Python-Mapnik bindings version?

Thank you.

@donno
Copy link

donno commented Jul 27, 2023

Based on the comment in the README about 3.0.x not compatible and use separate branch. It would seem the answer to the question is the Mapnik version required is 3.1.0.

I recently tried building master against a newer mapnik but there is an incompatible in src/mapnik_gamma_method.cpp. The reason being mapnik switched mapnik::gamma_method_enum from being an unscoped enumeration to scoped enumeration and that file isn't scoping it. That problem fixed on the enumerations and proj6 branch via 82b9173

@HotPepperDaddy
Copy link

Has anyone got python-mapnik master to build with mapnik 3.1.0? I'm personally getting:

src/mapnik_datasource.cpp:37:10: fatal error: mapnik/geometry/box2d.hpp: No such file or directory 37 | #include <mapnik/geometry/box2d.hpp> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~

Which I find super odd because src/mapnik_datasource.cpp was last changed 7 years ago and mapnik/geometry/box2d.hpp doesn't exist in the mapnik v3.1.x branch.

@cgmike
Copy link

cgmike commented Aug 18, 2023

I am having the same problem as HotPepperDaddy. Any help is appreciated.

@HotPepperDaddy
Copy link

I got past that by adjusting the path to box2d.hpp in src/mapnik_datasource.cpp. I had to do that in a few files, and also for a few different includes.

However, I still don't have a working combination of mapnik / proj / python-mapnik.

@david-perez
Copy link

What's the currently compatible mapnik version / commit SHA the Python bindings are compatible with now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants