Closed greenlion closed 10 years ago
Should have been fixed with de4ec76ed896ab14fbe27eaad17e2218f4ec8f26 :-)
It successfully parsed all the rings this time. Thanks.
Can someone update static packages for e.g. Debian systems? Can't compile on wheezy without using testing branch :-(
Binaries are updated at http://imposm.org/static/rel/ But they won't work on Debian 7 as far as I know (see #5).
They work when you update GLIBC :-)
Package: libc6
Status: install ok installed
Priority: required
Section: libs
Installed-Size: 10234
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Architecture: amd64
Multi-Arch: same
Source: eglibc
Version: 2.17-97
Replaces: libc6-amd64
Provides: glibc-2.17-1
Depends: libgcc1
Suggests: glibc-doc, debconf | debconf-2.0, locales
Breaks: hurd (<< 1:0.5.git20130928-2), locales (<< 2.17), locales-all (<< 2.17), lsb-core (<= 3.2-27), nscd (<< 2.17)
Conflicts: prelink (<= 0.0.20090311-1), tzdata (<< 2007k-1), tzdata-etch
Conffiles:
/etc/ld.so.conf.d/x86_64-linux-gnu.conf 593ad12389ab2b6f952e7ede67b8fbbf
Description: Embedded GNU C Library: Shared libraries
Homepage: http://www.eglibc.org
... [Jan 14 03:23:27] [21m53s] C: 0/s 0/s ( 0.0%) N: 0/s 0/s ( 0.0%) W: 0/s 0/s ( 0.0%) R: 560/s 390/s[Jan 14 03:23:27] [21m53s] C: 0/s 0/s ( 0.0%) N: 0/s 0/s ( 0.0%) W: 0/s 0/s ( 0.0%) R: 560/s 320/s
panic: runtime error: index out of range
goroutine 63 [running]: runtime.panic(0x7b2c60, 0xe8ed97) /home/os/go/src/pkg/runtime/panic.c:266 +0xb6 imposm3/geom.mergeRings(0xc213f4bf40, 0x5, 0x8, 0x4, 0x1, ...) /home/os/imposm/src/imposm3/geom/ring.go:85 +0x1b00 imposm3/geom.BuildRings(0xc2100b1360, 0x0, 0x0, 0x0, 0x0, ...) /home/os/imposm/src/imposm3/geom/multipolygon.go:97 +0x4bc imposm3/geom.PrepareRelation(0xc2100b1360, 0xf11, 0x0, 0x0, 0x0) /home/os/imposm/src/imposm3/geom/multipolygon.go:32 +0x27 imposm3/writer.(_RelationWriter).loop(0xc216d15d20) /home/os/imposm/src/imposm3/writer/relations.go:74 +0x2f1 created by imposm3/writer.(_OsmElemWriter).Start /home/os/imposm/src/imposm3/writer/writer.go:52 +0x8f
command line:
./imposm3 import -cachedir /ssd_cache -connection postgis://xyz:abc@localhost:5432/import -mapping "mapping.json" -read /osm.pbf -write -appendcache -srid 4326