OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

#1 2013-02-19 01:19:54

errox
Member
Registered: 2012-11-26
Posts: 14

Import Europe.osm.pbf error?! Others OK?!

Hello everybody.

I have a Big Problem

I want to Import europe.osm.pbf. But i cant!

asmar@asmar-VirtualBox:~$ osm2pgsql --slim -C 500 europe.osm.pbf
osm2pgsql SVN version 0.81.0 (64bit id space)

Using projection SRS 900913 (Spherical Mercator)
Setting up table: planet_osm_point
NOTICE:  table "planet_osm_point" does not exist, skipping
NOTICE:  table "planet_osm_point_tmp" does not exist, skipping
Setting up table: planet_osm_line
NOTICE:  table "planet_osm_line" does not exist, skipping
NOTICE:  table "planet_osm_line_tmp" does not exist, skipping
Setting up table: planet_osm_polygon
NOTICE:  table "planet_osm_polygon" does not exist, skipping
NOTICE:  table "planet_osm_polygon_tmp" does not exist, skipping
Setting up table: planet_osm_roads
NOTICE:  table "planet_osm_roads" does not exist, skipping
NOTICE:  table "planet_osm_roads_tmp" does not exist, skipping
Allocating memory for dense node cache
Allocating dense node cache in block sized chunks
Node-cache: cache=500MB, maxblocks=0*64001, allocation method=8192
Mid: pgsql, scale=100 cache=500
Setting up table: planet_osm_nodes
NOTICE:  table "planet_osm_nodes" does not exist, skipping
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:  table "planet_osm_ways" does not exist, skipping
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:  table "planet_osm_rels" does not exist, skipping
NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "planet_osm_rels_pkey" for table "planet_osm_rels"

Reading in file: europe.osm.pbf
Unable to open europe.osm.pbf
Error occurred, cleaning up
asmar@asmar-VirtualBox:~$ 

Also with 8500 it does not work.

But if i want to Import (for example) germany it works with 500 or with 8500, too.

I Have Physical Ram (It is an Ubuntu VM) 5,5 GB and 4 GB Swap. 4 Cores.

Why? :-(

Offline

Board footer

Powered by FluxBB