New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generating segments by process_pbf_planet.sh fails #691
Comments
I am facing the same issue and just stumbled across this issue. I tried to run the process_pbf_planet.sh directly in Ubuntu OS. Creating the fatJar worked fine. However, when running the segment creation process no segment files are generated. Looking forward for a short feedback. :) |
Please use only the short form;
The traffic is now done via the database generator, please see here and database generation And yes, we need an update for the documention and the script. |
Thank you for your reply. I am trying to continue based on the information on https://github.com/abrensch/brouter/blob/master/misc/scripts/mapcreation/readme_database.md. As someone who has never used postgres on Linux, I would like to know what kind of command-line tool is "postgres".
|
Ok, due to this: https://stackoverflow.com/questions/75687110/lua-config-throwing-error-in-metamethods , it seems a version 1.6.0 of osm2pgsql is required. |
For a first creation of segment data you can leave out the traffic estimations to get you started. @mjaschen also created a docker image which simplifies the creation of segment data. I already have some ideas how we could simplify the creation and will create a PR soon. |
Hi all,
I was trying to generate my own segments with just a subset of elements so that the size of segments is smaller.
For my initial attempts I downloaded a map of Germany from https://download.geofabrik.de/ and run the script with this.
Running the script fails with:
Exception occurred: we need one lat/lon point at least!
Inspecting the code a bit it seems to me that it has to fail on the following lines of the script:
${JAVA} -jar ${BROUTER_JAR} segments 16.917636 51.040949 seed 0 ${BROUTER_PROFILES}/car-traffic_analysis.brf
Lat and lon are provided as arg[2] and arg[3] with this line, while BRouter.java expectes a pair of lat and lon as a single arg[4].
Maybe I am missing something but I do not have a clue how this could ever work?
What is a purpose of those lines with car-traffic_analysis.brf?
Nevertheless, at the time of failure, after all the way-cutting, node-cutting and way-linking, all the generated subdirectories of the ./tmp directory are empty, with the exception of ./tmp/nodetiles.
The text was updated successfully, but these errors were encountered: