<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<STYLE><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></STYLE>
<META name=GENERATOR content="MSHTML 8.00.6001.18854"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px"
id=MailContainerBody class=hmmessage leftMargin=0 topMargin=0
CanvasTabStop="true" name="Compose message area">
<DIV><FONT size=3 face=Arial>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.</FONT></DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=quyminhphan@hotmail.com
href="mailto:quyminhphan@hotmail.com">Quy phan</A> </DIV>
<DIV><B>Sent:</B> Wednesday, December 16, 2009 2:18 PM</DIV>
<DIV><B>To:</B> <A title=dev@openstreetmap.org
href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</A> </DIV>
<DIV><B>Subject:</B> [OSM-dev] Osm2pgsql - Planet.osm fail - "Unknown Element
name :changeset"</DIV></DIV></DIV>
<DIV><BR></DIV>Hey guys,<BR><BR>I really need some help, I been trying to debug
this problem for days but still no luck,<BR>I am sure there are people on this
forum who have the knowledge to help out.<BR><BR>My setup: Window xp, P4,
3.0Gigs, 4 gigs of ram. Only 12 gigs of hard drive space available<BR>- Is hard
drive space a problem because the planet.osm is 120gigs when I unzipped it.<BR>-
I also turned off autovaccum for postgres, I am on postgres 8.3<BR>- Postgis is
on 1.3.6<BR>- My osm2pgsql might be old, any links to the latest windows binary
version?<BR><BR>Here is the problem:<BR><BR>When I did osm2pgsql --slim -C 1536
-d geoserver planet.osm<BR>It sets up table correctly (no errors)<BR>It fails
when it tries to read in planet.osm<BR>A series of StartElement: Unknown element
name: changeset<BR>EndElement: Unknown element name: changeset<BR>StartElement:
Unknown element name: changeset<BR>EndElement: Unknown element name:
changeset<BR>StartElement: Unknown element name: changeset<BR>EndElement:
Unknown element name: changeset<BR>and so on repeatedly forever pops out, then i
Control C to cancel.<BR><BR>Note: Other OSM data such as, california.osm or
asia.osm works, osm2pgsql is able to<BR>read the data... I believe the
planet.osm is corrupted while unzipping/downloading?<BR>Any suggestions or
ideas?<BR><BR>Thank you!<BR><BR>
<HR>
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. <A
href="http://clk.atdmt.com/GBL/go/171222985/direct/01/" target=_new>Sign up
now.</A>
<P>
<HR>
<P></P>_______________________________________________<BR>dev mailing
list<BR>dev@openstreetmap.org<BR>http://lists.openstreetmap.org/listinfo/dev<BR></BODY></HTML>