[Tile-serving] [osm2pgsql-dev/osm2pgsql] Add support for node processing in second stage (PR #2252)
Jochen Topf
notifications at github.com
Tue Sep 17 15:27:24 UTC 2024
This is completely analog to how way processing happens in the second stage. So from the select_relation_member() function in the Lua config file you can now also return a list of nodes that you request to process again.
Note that this will only re-process the member nodes themselves, ways which have these nodes as members are not re-processed. Also there is no way to mark member nodes of ways, only member nodes of relations. So this will allow processing, say, stop positions in public transport route relations but not, say, barriers on roads.
This change is now possible because we removed support for the old middle format which didn't allow storing the complete nodes (with tags).
You can view, comment on, or merge this pull request online at:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252
-- Commit Summary --
* Add support for node processing in second stage
-- File Changes --
M flex-config/README.md (2)
A flex-config/public-transport.lua (226)
M src/init.lua (10)
M src/middle-pgsql.cpp (52)
M src/middle-pgsql.hpp (2)
M src/middle-ram.cpp (10)
M src/middle-ram.hpp (2)
M src/middle.hpp (17)
M src/osmdata.cpp (6)
M src/output-flex.cpp (134)
M src/output-flex.hpp (5)
M src/output.hpp (6)
-- Patch Links --
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252.patch
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252
You are receiving this because you are subscribed to this thread.
Message ID: <osm2pgsql-dev/osm2pgsql/pull/2252 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240917/5643d53a/attachment.htm>
More information about the Tile-serving
mailing list