'routestats' determines statistical data for a route which is available in the form of a CSV file.
The CSV file can be created via the following (OpenStreetMap based) web services:
- Variant 1: Manual creation of a route.
- Variant 2: Conversion of an existing track into a route.
- Use the pseudo routing profile 'Dummy' for this.
- Use as many track points as possible (justify function).
- This ensures that the calculated route is very close to the given track.
- Export the route as a CSV file.
% routestats lengerich-steinbrüche.csv
Program:
Name : routestats
Release : v1.0.0 - 2023/10/10
Purpose : simple route statistics
Info : Calculates route statistics based on CSV routing data.
Input file:
-----------------------------------------------
name = lengerich-steinbrüche.csv
size = 33400 byte
time = 2023-10-03T11:19:54+02:00
-----------------------------------------------
Highway types:
-----------------------------------------------
highway=footway 0.3 % 62 m
highway=path 30.9 % 7325 m
highway=residential 1.5 % 360 m
highway=service 3.7 % 869 m
highway=steps 0.6 % 144 m
highway=tertiary 0.6 % 144 m
highway=track 21.2 % 5032 m
highway=track (grade1) 0.5 % 117 m
highway=track (grade2) 16.5 % 3905 m
highway=track (grade3) 22.9 % 5426 m
highway=track (grade4) 0.4 % 94 m
highway=unclassified 1.0 % 238 m
-----------------------------------------------
total 100.0 % 23716 m
Altitude meters (approximately):
-----------------------------------------------
downhill -629 m
uphill +628 m
height min 96 m
height max 240 m
height difference 144 m
-----------------------------------------------
Highway surface types:
-----------------------------------------------
default=paved 3.3 % 776 m
default=unpaved 24.7 % 5866 m
surface=asphalt 4.7 % 1120 m
surface=compacted 5.6 % 1324 m
surface=dirt 3.1 % 731 m
surface=gravel 40.3 % 9569 m
surface=ground 14.6 % 3455 m
surface=paved 3.6 % 858 m
surface=paving_stones 0.1 % 17 m
-----------------------------------------------
total 100.0 % 23716 m
Paved and unpaved surfaces:
-----------------------------------------------
paved 11.7 % 2771 m
unpaved 88.3 % 20945 m
-----------------------------------------------
total 100.0 % 23716 m
Smoothness types:
-----------------------------------------------
default=unknown 100.0 % 23716 m
-----------------------------------------------
total 100.0 % 23716 m
Mountain bike difficulties (mtb:scale):
-----------------------------------------------
default=unknown 96.4 % 22871 m
mtb:scale:uphill=1 2.0 % 474 m
mtb:scale:uphill=3 0.6 % 137 m
mtb:scale:uphill=4 1.0 % 234 m
-----------------------------------------------
total 100.0 % 23716 m
Hiking difficulties (sac_scale):
---------------------------------------------------------
default=unknown 100.0 % 23716 m
---------------------------------------------------------
total 100.0 % 23716 m
% routestats
Program:
Name : routestats
Release : v1.0.0 - 2023/10/10
Purpose : simple route statistics
Info : Calculates route statistics based on CSV routing data.
Usage:
routestats csvfile
Example:
routestats riesenbeck.csv
Arguments:
csvfile = name of csv file (from brouter.m11n.de)
Link:
Screenshot: