It sounds like the file you have is incomplete, check the md5 hash against http://planet.openstreetmap.org/planet-090909.osm.bz2.md5
2009/9/13 Richard Ive <[email protected]>: > Hey all, > > Has anyone had any issue with this weeks planet dump? 090909 > > I've tried to rum an osm2pgsql import twice now and it's falled over at > Relation 198k both times: > > 1st: > > Processing: Node(428597k) Way(32778k) Relation(198k) > Reading in file: - > Entity: line 3: parser error : Document is empty > top > ^ > > > 2nd I added -u just to make sure > > [postg...@maps osm2pgsql]$ time ./osm2pgsql -C 2000 --slim -c -m -d gis > ../planet-latest.osm.bz2 -u -S /tmp/osm2pgsql/default.style - > osm2pgsql SVN version 0.66-17041 > Using projection SRS 900913 (Spherical Mercator) > Setting up table: planet_osm_point > Setting up table: planet_osm_line > Setting up table: planet_osm_polygon > Setting up table: planet_osm_roads > Mid: pgsql, scale=100, cache=2000MB, maxblocks=256001*8192 > Setting up table: planet_osm_nodes > NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index > "planet_osm_nodes > _pkey" for table "planet_osm_nodes" > Setting up table: planet_osm_ways > NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index > "planet_osm_ways_ > pkey" for table "planet_osm_ways" > Setting up table: planet_osm_rels > NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index > "planet_osm_rels_ > pkey" for table "planet_osm_rels" > Reading in file: ../planet-latest.osm.bz2 > Processing: Node(428597k) Way(32778k) Relation(198k) > Reading in file: - > > > - : failed to parse > Error occurred, cleaning up > > > > Has anyone else had an issue at all? > -- > Regards, > Richard Ive. > > _______________________________________________ > dev mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/dev > > -- Regards, Thomas Wood (Edgemaster) _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

