[OSM-dev] Relation is not loading to osm2pgsql

Parveen Arora parveenaroraosm at gmail.com
Sun Jan 30 14:07:57 GMT 2011


On Sun, Jan 30, 2011 at 5:54 PM, Parveen Arora
<parveenaroraosm at gmail.com> wrote:
> While loading the india.osm.bz2 file to database with osm2pgsql
> Node and ways are loading but relation is not loading.
> It has given error :
>
> Processing: Node(3170k) Way(198k) Relation(0)Segmentation fault

I have reinstalled the osm2pgsql and changed the planet file i ws
using and also created  new database but the problem is still same.
after giving command:
./osm2pgsql -S default.style --slim -d gis -C 2048 /home/parveen/india.osm.bz2

the error is:
osm2pgsql SVN version 0.70.5

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
Mid: pgsql, scale=100, cache=2048MB, maxblocks=262145*8192
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: /home/parveen/planet/indi.osm.bz2
Processing: Node(3170k) Way(198k) Relation(0)Segmentation fault

Please let me know what this problem actually is?

-- 
With Kind Regards
Parveen Arora



More information about the dev mailing list