[Tile-serving] [openstreetmap/osm2pgsql] Fix multistage processing (#1208)

Jochen Topf notifications at github.com
Sun Jun 14 13:34:21 UTC 2020


@joto commented on this pull request.



>  
-        proc.process_ways(m_dependency_manager->get_pending_way_ids());
+    // stage 1c processing
+    for (auto &out : m_outs) {
+        if (out->has_stage1c_pending()) {
+            for (auto const id : out->get_stage1c_way_ids()) {
+                m_dependency_manager->way_changed(id);
+            }
+        }
+    }
+
+    if (m_dependency_manager->has_pending()) {

We not only should disable `add_rows()`, we shouldn't even call `process_relation()`, but only do the member way marking. I forgot about that here, but it will be in the next version of the PR.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1208#discussion_r439830566
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200614/705c1397/attachment.htm>


More information about the Tile-serving mailing list