[Tile-serving] [openstreetmap/osm2pgsql] Fiddling with the geometry_t type (PR #1732)

Jochen Topf notifications at github.com
Fri Aug 5 10:22:35 UTC 2022


* Use extra functions for each type to be moved into `geometry_t` to avoid a template matching in the wrong places.
* It turns out we actually need a modifiable iterator so that we can move members out of the collection.

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/1732

-- Commit Summary --

  * Use extra functions for each type to be moved into geometry_t
  * It turns out we actually need a modifiable iterator

-- File Changes --

    M src/geom.hpp (33)
    M tests/test-geom-linestrings.cpp (27)
    M tests/test-geom-multipoints.cpp (9)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/1732.patch
https://github.com/openstreetmap/osm2pgsql/pull/1732.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1732
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/pull/1732 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20220805/dd8de82f/attachment-0001.htm>


More information about the Tile-serving mailing list