[Tile-serving] [openstreetmap/osm2pgsql] Large refactoring of the geometry code (PR #1624)
Jochen Topf
notifications at github.com
Fri Jan 21 18:16:01 UTC 2022
Pulls apart the different concerns:
* geometry generation from OSM data
* geometry processing (like merging and splitting lines)
* conversion to WKB
This also adds some code (in src/geom-boost-adaptor.hpp) that adapts our
data structures to boost::geometry. This is not used yet, but can in the
future be used for more complex geometry processing.
This is more or less ready, but should be merged only after the next bugfix release.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/osm2pgsql/pull/1624
-- Commit Summary --
* Switch to C++17 as minimum requirement
* Large refactoring of the geometry code
-- File Changes --
M .github/workflows/ci.yml (14)
M CMakeLists.txt (2)
M README.md (2)
M src/CMakeLists.txt (4)
M src/expire-tiles.cpp (7)
M src/flex-table.hpp (12)
A src/geom-boost-adaptor.hpp (84)
A src/geom-from-osm.cpp (150)
A src/geom-from-osm.hpp (85)
A src/geom-functions.cpp (511)
A src/geom-functions.hpp (82)
M src/geom-transform.cpp (85)
M src/geom-transform.hpp (57)
M src/geom.cpp (278)
M src/geom.hpp (296)
D src/osmium-builder.cpp (204)
D src/osmium-builder.hpp (71)
M src/output-flex.cpp (93)
M src/output-flex.hpp (24)
M src/output-gazetteer.cpp (32)
M src/output-gazetteer.hpp (9)
M src/output-pgsql.cpp (68)
M src/output-pgsql.hpp (4)
M src/reprojection-generic-proj4.cpp (19)
M src/reprojection-generic-proj6.cpp (24)
M src/reprojection.cpp (25)
M src/reprojection.hpp (8)
A src/wkb.cpp (203)
M src/wkb.hpp (291)
M tests/test-geom.cpp (452)
M tests/test-reprojection.cpp (20)
-- Patch Links --
https://github.com/openstreetmap/osm2pgsql/pull/1624.patch
https://github.com/openstreetmap/osm2pgsql/pull/1624.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1624
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/osm2pgsql/pull/1624 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20220121/b66f4fbd/attachment.htm>
More information about the Tile-serving
mailing list