[Tile-serving] [osm2pgsql-dev/osm2pgsql] Add callbacks for delete actions (PR #2344)

Sarah Hoffmann notifications at github.com
Wed Jun 25 19:18:41 UTC 2025


@lonvia commented on this pull request.



> +
+void output_flex_t::way_delete(osmium::Way *way)
+{
+    if (m_delete_way) {
+        m_way_cache.init(way);
+        get_mutex_and_call_lua_function(m_delete_way, m_way_cache.get());
+    }
+
+    way_delete(way->id());
+}
+
+void output_flex_t::relation_delete(osmium::Relation const &rel)
+{
+    if (m_delete_relation) {
+        m_relation_cache.init(rel);
+        select_relation_members();

Removed.

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

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


More information about the Tile-serving mailing list