Commit 3f1360b8 authored by Jean-Benoist Leger's avatar Jean-Benoist Leger

more informations in get_route doc

parent cc61e51b
......@@ -175,3 +175,28 @@ The keys are:
Warning: cumulated values (`distance`, `energy`, and `time`) are reinitalized to
0 at the beginning of each track.
Note also each track is printed as soon as possible.
Example
=======
For a trip in Poitou-Charentes (France). I see stderr, and I write stdout in a
file.
echo \
"mass 112.0
criterion energy
SCx .40
walk_penalty 2
points
0.044 45.661
0.169 45.648
0.240 45.737
0.335 46.599
route" \
| ./src/get_route SOMEWHERE/route_db > /tmp/pcroute.txt
After I look the file (-S to don't break line).
less -S /tmp/pcroute.txt
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment