0

When I use the osm2pgrouting I only get emtpy tables.

I got my .osm file from this Wien.os.gz and use the mapconfig.xml from Github.

I run the follwing command:

./osm2pgrouting -f path/Wien.osm -c path/conf.xml -d osm2 -h 127.0.0.1 -U postgres -W user --clean

I added the

 -h 127.0.0.1

according to this post, but it didn´t help.

This is the output I get: enter image description here

Any ideas why this doesn´t work..

  • I was able to import the .osm-extract from the Wien.osm.bz file with osm2pgrouting and the mapconfig.xml file that came both shipped with OSGeo PostgreSQL/PostGIS installation. could you add your PostGIS and osm2pgrouting versions? – ThingumaBob Mar 19 '18 at 13:59
  • I work with OSGeo Live 11.0 , osm2pgrouting version 2.2; PostGIS 2.3.2 – K_Man Mar 19 '18 at 14:09
  • do you have pgRouting enabled on the DB? – ThingumaBob Mar 19 '18 at 14:10
  • Yes, version 2.4.1 – K_Man Mar 19 '18 at 14:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.