routino-router-slim(1)
๐ routino-router-slim(1) ๐
okay bestie, welcome to the manual page for routino-router-slim(1) โ it's giving route-calculator, it's giving main character, and yes we're gonna read the whole thing together. no skimming, no cap. ๐ซถ
โจ NAME โจ
routino-router-slim โ calculate routes using the routino database ๐บ๏ธ๐
๐ธ SYNOPSIS ๐ธ
routino-router-slim [--version] [--help | --help-profile-xml |
--help-profile-json | --help-profile-perl]
[--dir=dirname] [--prefix=name]
[--profiles=filename] [--translations=filename]
[--exact-nodes-only] [--quiet] [--loggable]
[--logtime] [--logmemory] [--language=lang]
[--output-html] [--output-gpx-track]
[--output-gpx-route] [--output-text]
[--output-text-all] [--output-none]
[--output-stdout] [--profile=name]
[--transport=transport] [--shortest | --quickest]
--lon1=longitude --lat1=latitude --lon2=longitude
--lat2=latitude [... --lon99=longitude
--lat99=latitude] [--reverse] [--loop]
[--highway-<highway>=preference ...]
[--speed-<highway>=speed ...]
[--property-<property>=preference ...]
[--oneway=0|1] [--turns=0|1] [--weight=weight]
[--height=height] [--width=width] [--length=length]
๐ DESCRIPTION ๐
So like, routino-router-slim is the one that actually does the math and figures out the optimum routes, using the database that the planetsplitter(1) program already built for you. it literally vibes off that database, no notes. ๐ฅ
๐ฅ OPTIONS ๐ฅ
--versionโ prints out the version of Routino. iconic, short, slays. โจ--helpโ prints out the help information. bestie behaviour honestly. ๐ซถ--help-profileโ prints out the selected transport profile โ that's the type, the speed limits, the highway preferences, all of it. the whole โจ dossier โจ.--help-profile-xmlโ dumps every loaded profile as an XML file, in the exact same format it can be loaded back in. round trip, no data lost, queen shit. ๐--help-profile-jsonโ dumps all the loaded profiles in JavaScript Object Notation (JSON) format, for using in the interactive webpage. ๐--help-profile-perlโ dumps all the loaded profiles as a Perl object, for using in the router CGI. we love a cross-language moment. ๐--dir=dirnameโ sets the directory name to read the local database from. defaults to the current directory. (so like, if you don't say anything, it just looks right where you're standing ๐ )--prefix=nameโ sets the filename prefix for the files in the local database. defaults to no prefix.--profiles=filenameโ sets the filename containing the list of routing profiles in XML format. if the file doesn't exist then--dirname,--prefixand"profiles.xml"get combined and used instead; and if that doesn't exist then the file/usr/share/routino/profiles.xml(or wherever your custom installation lives) gets used. it's a whole fallback chain, she's prepared. ๐--translations=filenameโ sets the filename containing the list of translations in XML format for the output files. if the file doesn't exist then--dirname,--prefixand"translations.xml"get combined and used; and if that doesn't exist either, then/usr/share/routino/translations.xml(or your custom installation location) is used. same energy, different file. ๐--exact-nodes-onlyโ when processing the latitude and longitude points you specified, it only picks the nearest node instead of hunting for the nearest point within a segment. quicker, yeah, but less accurate โ unless your points are already chilling right near nodes. ๐ญ--quietโ don't generate any screen output while running. super useful for running inside a script, where nobody wants your chatter. ๐คซ--loggableโ prints progress messages that are actually suitable for logging to a file. normally you'd get an incrementing counter instead, which is better suited to real-time display than to logging. iykyk. ๐--logtimeโ prints the elapsed time for each processing step, in minutes, seconds and milliseconds. โฑ๏ธ--logmemoryโ prints the maximum allocated and mapped memory for each processing step, in MBytes. ๐ง--language=langโ selects the language you name from the file of translations. if you don't pass this option but the file does exist, the first language in the file gets used. if you don't pass it and no file exists at all, the compiled-in default language (English) gets used. ๐ฌ๐ง--output-html,--output-gpx-track,--output-gpx-route,--output-text,--output-text-allโ generate the selected output file formats: HTML, GPX track file, GPX route file, plain text route, and/or plain text with all nodes. if you don't specify any output at all, then all of them get generated; and specifying any of them automatically disables the ones you didn't name. it's giving all-or-specify. ๐--output-noneโ do not generate any output, and do not read in any translations files. nothing. zero. void. ๐--output-stdoutโ write to stdout instead of to a file. this one needs exactly one output format option, and it implies--quiet. โก--profile=nameโ specifies the name of the profile you want to use. ๐ชช--transport=transportโ selects the type of transport to use.transportcan be set to:foot= Foothorse= Horsewheelchair= Wheelchairbicycle= Bicyclemoped= Moped (Small motorcycle, limited speed)motorcycle= Motorcyclemotorcar= Motorcargoods= Goods (Small lorry, van)hgv= HGV (Heavy Goods Vehicle - large lorry)psv= PSV (Public Service Vehicle - bus, coach)
Defaults to 'motorcar'. also, this option picks the default profile information if you didn't pass --profile โ as long as a profile matching the transport name is actually found. ๐๐ฒ๐
--shortestโ find the shortest route between the waypoints. distance girlie. ๐--quickestโ find the quickest route between the waypoints. time girlie. โฐ--lon1=longitude,--lat1=latitude,--lon2=longitude,--lat2=latitude, โฆ--lon99=longitude,--lat99=latitudeโ the location of the waypoints that make up the start, the middle and the end points of the route. you can specify up to 99 waypoints, and the route will pass through each of the ones you specified, in sequence. the algorithm uses the closest node, or the closest point within a segment, that allows the traffic type you asked for. ๐--reverseโ find a route between the waypoints, but in reverse order. ๐--loopโ find a route that returns to the first waypoint after the last one. come back home bestie ๐ก--heading=bearingโ specifies the initial direction of travel at the start of the route (from the lowest numbered waypoint), as a compass bearing from0to360degrees. ๐งญ--highway-<highway>=preferenceโ selects the percentage preference for using each particular type of highway.highwaycan be selected from:motorway= Motorwaytrunk= Trunkprimary= Primarysecondary= Secondarytertiary= Tertiaryunclassified= Unclassifiedresidential= Residentialservice= Servicetrack= Trackcycleway= Cyclewaypath= Pathsteps= Stepsferry= Ferry
The default value depends on the profile selected by the --transport option. ๐ฃ๏ธ
--speed-<highway>=speedโ selects the speed limit in km/hour for each type of highway. the default value depends on the profile selected by the--transportoption. ๐๏ธ--property-<property>=preferenceโ selects the percentage preference for using each particular highway property.propertycan be selected from:paved= Paved (suitable for normal wheels)multilane= Multiple lanesbridge= Bridgetunnel= Tunnelfootroute= A route marked for foot travelbicycleroute= A route marked for bicycle travel
The default value depends on the profile selected by the --transport option. ๐
--oneway==0|1โ selects whether the direction of oneway streets is to be obeyed. (handy when you don't wanna obey them, like when you're walking.) the default value depends on the profile selected by the--transportoption. ๐ซโก๏ธ--turns==0|1โ selects whether turn restrictions are to be obeyed. (again, super handy when you don't wanna obey them and you're just walking.) the default value depends on the profile selected by the--transportoption. โฉ๏ธ--weight=weightโ specifies the weight of the mode of transport in tonnes; this makes sure the weight limit on the highway isn't exceeded. the default value depends on the profile selected by the--transportoption. โ๏ธ--height=heightโ specifies the height of the mode of transport in metres; this makes sure the height limit on the highway isn't exceeded. the default value depends on the profile selected by the--transportoption. ๐--width=widthโ specifies the width of the mode of transport in metres; this makes sure the width limit on the highway isn't exceeded. the default value depends on the profile selected by the--transportoption. โ๏ธ--length=lengthโ specifies the length of the mode of transport in metres; this makes sure the length limit on the highway isn't exceeded. the default value depends on the profile selected by the--transportoption. ๐
okay so the meaning of that preference parameter in the command line options is slightly different depending on whether we're talking highway preferences or property preferences, and this is the part where you gotta lock in bestie ๐โจ
For the highway preference, imagine you're choosing between two possible highways between the start and the finish while looking for the shortest route. If highway A has a preference of 100% and highway B has a preference of 90%, then highway A will be chosen even if it's up to 11% longer (100/90 = 111%). she's worth the detour. ๐
For the highway properties, each highway either has a particular property or it doesn't. If the preference for the property is 60%, then a highway with the property has a preference of 77% (sqrt(60%)) and one without it has a preference of 63% (sqrt(100-60%)). A highway with the property will be chosen even if it's up to 22% longer than one without the property (77/63 = 122%). ๐งฎ
And the overall preference for each highway segment? That's the product of the preference for the highway type and all of the preferences for the highway properties. stack 'em, multiply 'em, done. ๐ฅ
โจ EXAMPLES โจ
okay bestie let's actually do the thing ๐ here's a real example โ a motorcycle journey, scenic route vibes, not very fast:
routino-router-slim --dir=data --prefix=gb --transport=motorcycle \
--highway-motorway=0 --highway-trunk=0 \
--speed-primary=80 --speed-secondary=80 \
--quickest
so what's going on here?? let me break it down for you ๐ซถ
this is gonna pull from the files data/gb-nodes.mem, data/gb-segments.mem and data/gb-ways.mem to find the quickest route by ๐๏ธ motorcycle that's not using motorways or trunk roads, and not exceeding 80 km/hr. scenic queen behavior fr fr, no cap. it's giving "vibes over velocity" โจ
like, look at the flags doing their lil jobs:
--dir=data+--prefix=gbโ that's where those.memfiles come from ๐--transport=motorcycleโ bestie is on two wheels ๐๏ธ--highway-motorway=0and--highway-trunk=0โ nope, not touching those roads ๐--speed-primary=80and--speed-secondary=80โ capping it at 80 km/hr ๐--quickestโ fastest route pls, main character energy only โญ
and that's the whole page, gorgeous ๐ธ go route something iconic, and remember: read the docs, slay the day, periodt ๐
this lil manual page is from the Routino router-slim source and its version, dated 03 December 2025 โ she's serving routino-router-slim(1) and honestly?? iconic. mwah ๐
๐ฆ where this page comes from
- ubuntu resolute: routino 3.4.3-3 ยท AGPL-3.0-or-later
- ubuntu stonking: routino 3.4.3-3 ยท AGPL-3.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms