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.