[Tile-serving] [openstreetmap/osm2pgsql] multi-output: reintroduce line spliting (#755)

Paul Norman notifications at github.com
Tue Jul 25 00:17:37 UTC 2017


I get a segfault with this, but it's not the fault of any code here. Instead, the import progresses farther and reveals a bug that occurs elsewhere. The patch I used to test master for the segfault was

```patch
diff --git a/table.cpp b/table.cpp
index 87ccf7d..152075c 100644
--- a/table.cpp
+++ b/table.cpp
@@ -137,7 +137,7 @@ void table_t::start()
             sql += "\"tags\" hstore,";
         }

-        sql += (fmt("way geometry(%1%,%2%) )") % type % srid).str();
+        sql += (fmt("way geometry(Geometry,%1%) )") % srid).str();

         // The final tables are created with CREATE TABLE AS ... SELECT * FROM ...
         // This means that they won't get this autovacuum setting, so it doesn't
```

-- 
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/755#issuecomment-317591464
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20170725/ceebd9e9/attachment-0001.html>


More information about the Tile-serving mailing list