[Tile-serving] [openstreetmap/osm2pgsql] Multilinestrings built for relations with multi backend (#726)
Paul Norman
notifications at github.com
Sat Mar 25 10:12:27 UTC 2017
I had to apply #725, but with a much simplified cleartables I get
```
pnorman at pippin:~/osm/ClearTables/ClearTables$ ~/osm/osm2pgsql/build/osm2pgsql -d osm2pgsql_test --number-processes 1 --output multi --style cleartables.json --flat-nodes nodes.bin ~/osm/osm2pgsql/tests/liechtenstein-2013-08-03.osm.pbf
osm2pgsql version 0.93.0-dev (64 bit id space)
Using lua based tag processing pipeline with script admin.lua
Using lua based tag processing pipeline with script admin.lua
Using lua based tag processing pipeline with script place.lua
Using projection SRS 3857 (Spherical Mercator)
Setting up table: admin_area
Setting up table: admin_line
Setting up table: place_point
Allocating memory for dense node cache
Allocating dense node cache in one big chunk
Allocating memory for sparse node cache
Sharing dense sparse
Node-cache: cache=800MB, maxblocks=12800*65536, allocation method=3
Reading in file: /home/pnorman/osm/osm2pgsql/tests/liechtenstein-2013-08-03.osm.pbf
Using PBF parser.
parse time: 0s
Node stats: total(65733), max(65733) in 0s
Way stats: total(7121), max(7121) in 0s
Relation stats: total(113), max(113) in 0s
Committing transaction for admin_area
node cache: stored: 65733(100.00%), storage efficiency: 89.16% (dense blocks: 9, sparse nodes: 0), hit rate: 100.00%
Osm2pgsql failed due to ERROR: result COPY_END for admin_line failed: ERROR: Geometry type (MultiLineString) does not match column type (LineString)
CONTEXT: COPY admin_line, line 1, column way: "0105000020110F0000010000000102000020110F000045020000AD5AF7DB5E5E3041601BDF590DB35641F5C905C4385E3041..."
```
Looking at it with gdb, I *think* it's entering `get_wkb_multiline` from https://github.com/openstreetmap/osm2pgsql/commit/e1b75a5775d410b4e66cdef76d20c335b43706b3?diff=unified#diff-84169822394671b5c318a60145ba54dfR22, while before it used to call build_both
--
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/issues/726
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20170325/27f2f29b/attachment.html>
More information about the Tile-serving
mailing list