Skip to content

Official Mapnik compatible version #270

Open

Description

@NasH5169

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.

Activity

  1. donno commented on Jul 27, 2023

    @donno

    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

  2. TacoTakumi commented on Aug 9, 2023

    @TacoTakumi

    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.

  3. cgmike commented on Aug 18, 2023

    @cgmike

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

  4. TacoTakumi commented on Aug 18, 2023

    @TacoTakumi

    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.

  5. david-perez commented on Sep 4, 2024

    @david-perez

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions