SegmentString::testInvariant(), Assertion `pts->size() leads to hangup.

24 views
Skip to first unread message

HowieBaldwin

unread,
Sep 24, 2012, 10:09:39 AM9/24/12
to imp...@googlegroups.com
Hello everyone
 
I've been trying to import openstreetmap data in pbf format into postgis. However imposm hangs up in the middle of the process of inserting the data into the database. Do you have any ideas for how this can be solved?
 
Some specifications about the computer:
Ubuntu 10.04 LTS
Python 2.6.5
Imposm 2.4.0
PostgreSQL 8.4 / PostGIS 1.4.0
(A bit dated perhaps but I have no possibility of upgrading unfortunately.)
 
Here's the output from imposm:
 
bufferOriginalPrecision failed (TopologyException: unable to assign hole to a shell), trying with reduced precision
recomputing with precision scale factor = 1e+12
Scaler: offsetX,Y: 0,0 scaleFactor: 1e+12
ReScaler: offsetX,Y: 0,0 scaleFactor: 1e+12
recomputing with precision scale factor = 1e+11
Scaler: offsetX,Y: 0,0 scaleFactor: 1e+11
ReScaler: offsetX,Y: 0,0 scaleFactor: 1e+11
recomputing with precision scale factor = 1e+10
Scaler: offsetX,Y: 0,0 scaleFactor: 1e+10
ReScaler: offsetX,Y: 0,0 scaleFactor: 1e+10
recomputing with precision scale factor = 1e+09
Scaler: offsetX,Y: 0,0 scaleFactor: 1e+09
ReScaler: offsetX,Y: 0,0 scaleFactor: 1e+09
recomputing with precision scale factor = 1e+08
Scaler: offsetX,Y: 0,0 scaleFactor: 1e+08
ReScaler: offsetX,Y: 0,0 scaleFactor: 1e+08
recomputing with precision scale factor = 1e+07
Scaler: offsetX,Y: 0,0 scaleFactor: 1e+07
ReScaler: offsetX,Y: 0,0 scaleFactor: 1e+07
recomputing with precision scale factor = 1e+06
Scaler: offsetX,Y: 0,0 scaleFactor: 1e+06
ReScaler: offsetX,Y: 0,0 scaleFactor: 1e+06
recomputing with precision scale factor = 100000
Scaler: offsetX,Y: 0,0 scaleFactor: 100000
ReScaler: offsetX,Y: 0,0 scaleFactor: 100000
recomputing with precision scale factor = 10000
Scaler: offsetX,Y: 0,0 scaleFactor: 10000
ReScaler: offsetX,Y: 0,0 scaleFactor: 10000
recomputing with precision scale factor = 1000
Scaler: offsetX,Y: 0,0 scaleFactor: 1000
ReScaler: offsetX,Y: 0,0 scaleFactor: 1000
recomputing with precision scale factor = 100
Scaler: offsetX,Y: 0,0 scaleFactor: 100
python: ../../source/headers/geos/noding/SegmentString.h:175: void geos::noding::SegmentString::testInvariant() const: Assertion `pts->size() > 1' failed.

Oliver Tonnhofer

unread,
Sep 24, 2012, 10:14:57 AM9/24/12
to imp...@googlegroups.com
Hi,

On 24.09.2012, at 16:09, HowieBaldwin wrote
> I've been trying to import openstreetmap data in pbf format into postgis. However imposm hangs up in the middle of the process of inserting the data into the database. Do you have any ideas for how this can be solved?
>
> Some specifications about the computer:
> Ubuntu 10.04 LTS
> Python 2.6.5
> Imposm 2.4.0
> PostgreSQL 8.4 / PostGIS 1.4.0
> (A bit dated perhaps but I have no possibility of upgrading unfortunately.)

Your GEOS version should be too old then. See the "Note" box here:
http://imposm.org/docs/imposm/latest/install.html


Regards,
Oliver

--
Oliver Tonnhofer | Omniscale GmbH & Co KG | http://omniscale.de
http://mapproxy.org | https://github.com/olt | @oltonn






Reply all
Reply to author
Forward
0 new messages