Closed Darioda closed 6 years ago
@Darioda To replicate your problem, the osm data is needed. can you send the:
./osm2pgrouting -f ~/Downloads/turkey-latest.osm/turkey-latest.osm -c ~/Downloads/osm2pgrouting-master/mapconfig.xml -h localhost -d postgis --user postgres --schema turkey --clean
was my command, and the data is from https://download.geofabrik.de/europe.html, Turkey dataset. I get the same error, "Division by zero". It is still running, so not sure what will show up in the final tables. Attaching some screenshots.
To reproduce, we need a much smaller sample than a whole country, can you use osmium to try to determine the smallest area possible withing the Turkey data that has the problem.
cc: @Darioda @dulljester @cvvergara I have finally found where this recurring error occurs. This error is fixed by PR #226
Hello,
I have an issue when I execute this command :
/osm/osm2pgrouting/usr/bin/osm2pgrouting --file=/osm/osmconvert/rhone-alpes-latest.osm --conf=/osm/osm2pgrouting/osm2pgrouting/mapconfig.xml --dbname=ralpes-routing --username=postgres --password=postgres --clean
Here is the output :
I have tried and have got this issue with the branch master and the tag v2.3.2
Thanks for your help !