[Tile-serving] [osm2pgsql-dev/osm2pgsql] Fix inner/outer ring accessor boost::geometry adaptor types/functions (PR #2319)
Jochen Topf
notifications at github.com
Sat Apr 19 15:02:23 UTC 2025
These types/functions are used to let boost functions access our polygon/ring types. They are supposed to return (const) references.
I found the bug while doing more complicated geometry processing, working on some future code for osm2pgsql. It seems the buggy code does not produce any problems in current code, but I can not guarantee it. Theoretically it could lead to crashes. It might make some code slower, though, because of unnecessary copying.
You can view, comment on, or merge this pull request online at:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2319
-- Commit Summary --
* Fix inner/outer ring accessor boost::geometry adaptor types/functions
-- File Changes --
M src/geom-boost-adaptor.hpp (11)
-- Patch Links --
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2319.patch
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2319.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2319
You are receiving this because you are subscribed to this thread.
Message ID: <osm2pgsql-dev/osm2pgsql/pull/2319 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20250419/73362e83/attachment.htm>
More information about the Tile-serving
mailing list