Am trying to import a planet file (have done this many times before) however my last 4 attempts (with different planet files) result in the following error.
Any help would be much appreciated asked 22 Oct '13, 17:05 daveyp1234 SomeoneElse ♦ |
The planet-131017.osm.pbf (available as planet-latest.osm.pbf for awhile) was incomplete. Please try another release. answered 23 Oct '13, 09:39 Firefishy ♦♦ 1
Thanks, am already in the process of reading a file from 130814....I think the last 3 or 4 planet files (up to 131017) must have been incomplete as have tried a couple of those but got the same error.
(23 Oct '13, 15:50)
daveyp1234
1
Have now tried with planet file 130814 and three others. Same result same error.
(25 Oct '13, 08:20)
daveyp1234
1
Importing planet dumps are extremely taxing on any system, you may want to do a prime95 burnin-test to check the machine for hardware faults. Download mprime here: http://www.mersenne.org/freesoft/ and follow the test described here: https://wiki.archlinux.org/index.php/Stress_Test#Mprime_.28Prime95_for_Windows_and_MacOS.29
(25 Oct '13, 10:22)
Firefishy ♦♦
|
After several attempts over even more weeks finally managed to resolve the issue by using osm2pgsql 0.81 (version on github is 0.85). Have tried the this twice to confirm the resolution. answered 12 Dec '13, 07:57 daveyp1234 |
Assuming your hardware checks out, you may want to check your geos version as that's where the error message is arising from. You can also open a ticket on the issue tracker at https://github.com/openstreetmap/osm2pgsql/issues answered 26 Oct '13, 04:37 pnorman |
Were you able to resolve this issue? I am having similar trouble.
processing way (1213k) at 0.25k/s (done 0 of 1)osm2pgsql: PolygonBuilder.cpp:261: geos::geomgraph::EdgeRing geos::operation::overlay::PolygonBuilder::findShell(std::vector<geos::operation::overlay::minimaledgering*>): Assertion `shellCount <= 1' failed. Aborted (core dumped)
I am able to import small ammounts of data (Great Britian) but when I attempt to import other data such as europe or the planet I get the above error.
I have checked the version of geos that i am using, it is 3.4.2.
Any help would be appreciated.