[Tile-serving] [osm2pgsql-dev/osm2pgsql] Fix problem in slim mode with two-state processing of nodes (PR #2300)

Jochen Topf notifications at github.com
Tue Jan 28 17:11:55 UTC 2025


In two-stage processing when getting nodes from the middle we are running the same SQL query as when getting the node locations. But that doesn't work. We need more information, the tags (and possibly the attributes). This fixes this by running a different prepared query in this case.

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

  https://github.com/osm2pgsql-dev/osm2pgsql/pull/2300

-- Commit Summary --

  * Fix problem in slim mode with two-state processing of nodes

-- File Changes --

    M src/middle-pgsql.cpp (18)
    A tests/bdd/flex/node-add.feature (164)
    A tests/data/test_output_flex_node.lua (86)

-- Patch Links --

https://github.com/osm2pgsql-dev/osm2pgsql/pull/2300.patch
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2300.diff

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

Message ID: <osm2pgsql-dev/osm2pgsql/pull/2300 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20250128/03f628a0/attachment.htm>


More information about the Tile-serving mailing list