[Tile-serving] [osm2pgsql-dev/osm2pgsql] Add support for node processing in second stage (PR #2252)

Jochen Topf notifications at github.com
Wed Sep 18 15:48:27 UTC 2024


@joto commented on this pull request.



> +
+    local refs = {}
+    local ids = {}
+    for rel_id, rel_ref in pairs(d) do
+        refs[#refs + 1] = rel_ref
+        ids[#ids + 1] = rel_id
+    end
+    table.sort(refs)
+    table.sort(ids)
+
+    row.rel_refs = table.concat(unique_array(refs), separator)
+    row.rel_ids = '{' .. table.concat(unique_array(ids), ',') .. '}'
+end
+
+function osm2pgsql.process_node(object)
+    -- Wer are only interested in public transport stops here, and they are

fixed

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

Message ID: <osm2pgsql-dev/osm2pgsql/pull/2252/review/2313124387 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240918/c8962f89/attachment.htm>


More information about the Tile-serving mailing list