[mapnik-polylabel] Replacement for mapbox-polylabel - #53409
SunBlack (SunBlack) wants to merge 2 commits into
Conversation
dcdef73 to
2fd8143
Compare
|
GPT 5.6 Sol reports:
[...]
I have not dug into the guts of the failures here because builds are broken. Drafting due to build failures, I am not making a concrete statement that all of the above need be addressed to merge. |
13e9f8c to
453970a
Compare
| "input-gdal": { | ||
| "description": "GDAL input plugin", | ||
| "dependencies": [ | ||
| "gdal" | ||
| ] | ||
| }, | ||
| "input-gdal-ogr": { | ||
| "description": "GDAL+OGR input plugin", | ||
| "dependencies": [ | ||
| "gdal" | ||
| ] | ||
| }, |
There was a problem hiding this comment.
I suggest we keep this combined in input-gdal. I believe that wanting one without the other will be very unlikely. (It could still be achieved via triplet settings.)
There was a problem hiding this comment.
That was my first thought, too. But, as you've seen yourself, there's another OGR feature further down. So for now, I've decided to stay with the existing structure. I think we could look into merging some things there when the PR is ready, since the CI time for this port is really quite long. Right now, though, the PR is failing anyway because I still don't have any idea what the issue is with the Linux CI, and when I give the log to AI, the solution it suggests seems a bit strange to me (even though I haven't tested it yet).
| "input-ogr": { | ||
| "description": "OGR input plugin", | ||
| "dependencies": [ | ||
| "gdal" | ||
| ] | ||
| }, |
There was a problem hiding this comment.
Oh, another ogr?
45ab757 to
9a4f27b
Compare
9a4f27b to
090ede0
Compare
090ede0 to
46493e5
Compare
Note that this isn't like "we removed the nice C++ wrappers around some C thing", this is a library where they had a C++ port of a Java thing in the same repo and they removed the C++ port. So there is no reason for C++ customers to expect support from the "original" implementation going forward, so we shouldn't fear the usual forms of conflict that come from forks. (EDIT: To clarify, this is me confirming that I believe swapping in the fork is the correct thing to do) |
|
Drafting due to build failures, SunBlack#95 may fix. Additionally, GPT 6 Sol reports:
|
|
(I didn't ask it to try to fix the features report because you and Kai Pastor (@dg0yt) were discussing above and as not a user of this myself it's not clear what the correct change is) |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Looks like build is fixed but I'm still not sure what the right feature fix is. |
./vcpkg x-add-version --alland committing the result.mapbox-polylabel removed the C++ code in mapbox/polylabel#124. As mapnik requires it, they created a fork of it (see mapnik/mapnik#4567), therefore replace the port.
We could also move mapnik-polylabel into the source code of mapnik, similar to mapnik-vector-tile