I try download OSM planet into PostgreSQL database.
I do all steps from instruction http://switch2osm.org/serving-tiles/manually-building-a-tile-server-12-04/
I also modify string "kernel.shmmax"
Now I try download:
osm2pgsql --slim -d gis -C 800 --number-processes 4 planet-latest.osm.pbf
But I have error:
Reading in file: planet-latest.osm.pbf
Processing: Node(2041920k 189.9k/s) Way(199297k 3.39k/s) Relation(47930 14.42/s)osm2pgsql: PolygonBuilder.cpp:261: geos::geomgraph::EdgeRing* geos::operation::overlay::PolygonBuilder::findShell(std::vector<geos::operation::overlay::MinimalEdgeRing*>*): Assertion `shellCount <= 1' failed.
Emergency stop(made a memory dump)
How can I solve this problem?
UPDATE
It is important to know, that the problem is in data. I use planet-latest.osm.pbf 10-Oct-2013 13:29 22G
When I download rostov.osm.bz2 there are no problem.
Which version of libgeos is usefull for me?
UPDATE 2
Well. It is interesting to know, that I try to download planet-131002.osm.pbf file. I verify md5. It is equal.
UPDATE 3
I instal the latest version of libgeos. It is 3.3.3-1. Then I try download planet-131002.osm.pbf, and then planet-130614.osm.pb
But I have the same problem.