1

I was just going through the following tutorial HERE.

I have extracted all the files succesfully using the below commands:

cd ~/Desktop/pgrouting-workshop/
tar -xvzf data.tar.

But when i run the following command:

osm2pgrouting -file "data/sampledata.osm" \
                          -conf "/usr/share/osm2pgrouting/mapconfig.xml" \
                          -dbname pgrouting-workshop \
                          -user user \
  -host localhost \
                          -clean

I get an error as follows:

unknown parameter:  -conf

What am i doing wrong ??

Alexander Solonik
  • 9,838
  • 18
  • 76
  • 174

1 Answers1

1

A problem with proper escaping? Try to run the command by writing all parameters into a single line and omitting the \. Still the same error?

scai
  • 20,297
  • 4
  • 56
  • 72