You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2011-07-11 15:51:37

Ices_Eyes
Member
Registered: 2011-04-20
Posts: 5

osm2pgrouting - Error during importing a map

Hi all.
I'm not sure this is the right place where to ask this kind of help...
I'm trying to import an italian osm file intopostgis with osm2pgrouting. I launch the script and all works till an error, this is the output og osm2pgr:

.....
Nodes table created
2create ways failed: 
Types table created
Way_tag table created
Relations table created
Relation_ways table created
Classes table created
Adding tag types and classes to database...
Adding relations to database...
Adding nodes to database...
Adding ways to database...
ERROR:  extra data after last expected column
CONTEXT:  COPY ways, line 681382: "934378       117     0.15808824934990467    11.1369311       45.8187991      11.1388487      45.818314100000002      37264295srid=432..."
Creating topology...
NOTICE:  CREATE TABLE will create implicit sequence "vertices_tmp_id_seq" for serial column "vertices_tmp.id"
CONTEXT:  SQL statement "CREATE TABLE vertices_tmp (id serial)"
PL/pgSQL function "assign_vertex_id" line 14 at EXECUTE statement
#########################
size of streets: 1072190
size of splitted ways : 2281124
finished

I used the italy.osm.bz2 file decompressed finded here http://download.geofabrik.de/osm/europe/ but have also tried with the one here: http://download.gfoss.it/osm/osm/

Thinking on a osm file problem I have tried different times, with different files (I'm trying from almost a month...), but nothing changed, always the same error... Any advice? smile

Thanks
Luca

Offline

Board footer

Powered by FluxBB