<div dir="ltr"><div><div><div>Dear all,<br><br></div>I've imported several OSM datasets successfully to pgRouting but recently there's one I can't get around. There are no errors reported, no warning messages, but no tables are created in the database (I'm attaching a log at the end of the message). Is there any way I can check if something is going wrong, e.g. log file or similar?<br>
<br></div>Thank you,<br><br></div>Luís<br><br>--------------------------------------------<br><br>$ osm2pgrouting -file "Luxembourg.osm" -conf "/usr/share/osm2pgrouting/mapconfig.xml" -dbname routing -user postgres -host localhost -passwd XXXXX<br>
host=localhost user=postgres dbname=routing port=5432 password=system<br>connection success<br>Trying to load config file /usr/share/osm2pgrouting/mapconfig.xml<br>Trying to parse config<br>SE for <configuration><br>
SE for <type><br>SE for <class><br>class name = motorway<br>class id = 101<br>class id = 101 name = motorway added to type name=highway<br>SE for <class><br>class name = motorway_link<br>class id = 102<br>
class id = 102 name = motorway_link added to type name=highway<br>SE for <class><br>class name = motorway_junction<br>class id = 103<br>class id = 103 name = motorway_junction added to type name=highway<br>SE for <class><br>
class name = trunk<br>class id = 104<br>class id = 104 name = trunk added to type name=highway<br>SE for <class><br>class name = trunk_link<br>class id = 105<br>class id = 105 name = trunk_link added to type name=highway<br>
SE for <class><br>class name = primary<br>class id = 106<br>class id = 106 name = primary added to type name=highway<br>SE for <class><br>class name = primary_link<br>class id = 107<br>class id = 107 name = primary_link added to type name=highway<br>
SE for <class><br>class name = secondary<br>class id = 108<br>class id = 108 name = secondary added to type name=highway<br>SE for <class><br>class name = tertiary<br>class id = 109<br>class id = 109 name = tertiary added to type name=highway<br>
SE for <class><br>class name = residential<br>class id = 110<br>class id = 110 name = residential added to type name=highway<br>SE for <class><br>class name = living_street<br>class id = 111<br>class id = 111 name = living_street added to type name=highway<br>
SE for <class><br>class name = service<br>class id = 112<br>class id = 112 name = service added to type name=highway<br>SE for <class><br>class name = track<br>class id = 113<br>class id = 113 name = track added to type name=highway<br>
SE for <class><br>class name = pedestrian<br>class id = 114<br>class id = 114 name = pedestrian added to type name=highway<br>SE for <class><br>class name = services<br>class id = 115<br>class id = 115 name = services added to type name=highway<br>
SE for <class><br>class name = bus_guideway<br>class id = 116<br>class id = 116 name = bus_guideway added to type name=highway<br>SE for <class><br>class name = path<br>class id = 117<br>class id = 117 name = path added to type name=highway<br>
SE for <class><br>class name = cicleway<br>class id = 118<br>class id = 118 name = cicleway added to type name=highway<br>SE for <class><br>class name = footway<br>class id = 119<br>class id = 119 name = footway added to type name=highway<br>
SE for <class><br>class name = bridleway<br>class id = 120<br>class id = 120 name = bridleway added to type name=highway<br>SE for <class><br>class name = byway<br>class id = 121<br>class id = 121 name = byway added to type name=highway<br>
SE for <class><br>class name = steps<br>class id = 122<br>class id = 122 name = steps added to type name=highway<br>SE for <class><br>class name = unclassified<br>class id = 100<br>class id = 100 name = unclassified added to type name=highway<br>
SE for <class><br>class name = road<br>class id = 100<br>class id = 100 name = road added to type name=highway<br>SE for <type><br>SE for <class><br>class name = lane<br>class id = 201<br>class id = 201 name = lane added to type name=cycleway<br>
SE for <class><br>class name = track<br>class id = 202<br>class id = 202 name = track added to type name=cycleway<br>SE for <class><br>class name = opposite_lane<br>class id = 203<br>class id = 203 name = opposite_lane added to type name=cycleway<br>
SE for <class><br>class name = opposite<br>class id = 204<br>class id = 204 name = opposite added to type name=cycleway<br>SE for <type><br>SE for <class><br>class name = grade1<br>class id = 301<br>class id = 301 name = grade1 added to type name=tracktype<br>
SE for <class><br>class name = grade2<br>class id = 302<br>class id = 302 name = grade2 added to type name=tracktype<br>SE for <class><br>class name = grade3<br>class id = 303<br>class id = 303 name = grade3 added to type name=tracktype<br>
SE for <class><br>class name = grade4<br>class id = 304<br>class id = 304 name = grade4 added to type name=tracktype<br>SE for <class><br>class name = grade5<br>class id = 305<br>class id = 305 name = grade5 added to type name=tracktype<br>
SE for <type><br>SE for <class><br>class name = roundabout<br>class id = 401<br>class id = 401 name = roundabout added to type name=junction<br>Trying to load data<br>Trying to parse data<br><br>$ psql -h localhost -U postgres -W -d routing -c "\d"<br>
Password for user postgres: <br> List of relations<br> Schema | Name | Type | Owner <br>--------+-------------------+-------+----------<br> public | geography_columns | view | postgres<br> public | geometry_columns | view | postgres<br>
public | spatial_ref_sys | table | postgres<br>(3 rows)<br><br><br></div>