pgRouting / osm2pgrouting

Import tool for OpenStreetMap data to pgRouting database
https://pgrouting.org
GNU General Public License v2.0
289 stars 111 forks source link

Error when importing data. #204

Closed rvlander closed 6 years ago

rvlander commented 6 years ago

Hi have the following error when importing osm data.

ERREUR:  relation « configuration » does not exist
LINE 1: ...LECT a.*  FROM  __configuration30445 a LEFT JOIN  configurat...

Configuration:

Data can be fetched using:

CITY="Boston_MA"
wget -N --progress=dot:mega \
    "http://download.osgeo.org/livedvd/data/osm/$CITY/$CITY.osm.bz2"
bunzip2 $CITY.osm.bz2

I am following the pgrouting workshop.

cvvergara commented 6 years ago

The workshop uses an old version of osm2pgrouting. Add the --clean flag to your execution, otherwise is expecting to find configuration table I will tag as a bug, to fix on the next micro release

rvlander commented 6 years ago

@cvvergara, it works. Thanks.