Drive space is a likely problem - the planet may require an additional 60-70 GB to populate the Postgres DB. You may be able to make it work by first compressing the planet as a .bz2 file; that will free up about 110 GB of space. osm2pgsql can read from this compressed file.
From: Quy phan Sent: Wednesday, December 16, 2009 2:18 PM To: dev@openstreetmap.org Subject: [OSM-dev] Osm2pgsql - Planet.osm fail - "Unknown Element name :changeset" Hey guys, I really need some help, I been trying to debug this problem for days but still no luck, I am sure there are people on this forum who have the knowledge to help out. My setup: Window xp, P4, 3.0Gigs, 4 gigs of ram. Only 12 gigs of hard drive space available - Is hard drive space a problem because the planet.osm is 120gigs when I unzipped it. - I also turned off autovaccum for postgres, I am on postgres 8.3 - Postgis is on 1.3.6 - My osm2pgsql might be old, any links to the latest windows binary version? Here is the problem: When I did osm2pgsql --slim -C 1536 -d geoserver planet.osm It sets up table correctly (no errors) It fails when it tries to read in planet.osm A series of StartElement: Unknown element name: changeset EndElement: Unknown element name: changeset StartElement: Unknown element name: changeset EndElement: Unknown element name: changeset StartElement: Unknown element name: changeset EndElement: Unknown element name: changeset and so on repeatedly forever pops out, then i Control C to cancel. Note: Other OSM data such as, california.osm or asia.osm works, osm2pgsql is able to read the data... I believe the planet.osm is corrupted while unzipping/downloading? Any suggestions or ideas? Thank you! -------------------------------------------------------------------------------- Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up now. -------------------------------------------------------------------------------- _______________________________________________ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
_______________________________________________ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev