Closed laxopy closed 2 years ago
The error message is slightly confusing, sorry. The problem is not that no -m
option was specified, but that pfaedle
couldn't find a configuration file anywhere. The configuration file contains information on how to translate the OSM data into a graph for each MOT (which ways and nodes to use/keep, etc.).
A default configuration file pfaedle.cfg
can be found in this repo and will be installed with make install
. Custom configuration files can be specified with the -c flag. If no -c flag is set, pfaedle will parse and merge the following cfg files in the given order (if present): <install prefix>/etc/pfaedle/pfaedle.cfg
, $HOME/.config/pfaedle/pfaedle.cfg
, <CWD>/pfaedle.cfg
. Values given in later files will overwrite earlier defined values.
Should the -m option be required? As per the documentation this seems not to be mandatory, but I've been trying to run the code unsuccessfully without it. Also, when I add it, it does not look clear to me which values this option can get assigned.
If the option is mandatory it would really help updating the documentation with some examples.