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/[email protected]>
_______________________________________________
Tile-serving mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/tile-serving

Reply via email to