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

Reply via email to