| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> |
| 3 | <refentry id='routino-router'> |
| 4 | |
| 5 | <refmeta> |
| 6 | <refentrytitle>routino-router</refentrytitle> |
| 7 | <manvolnum>1</manvolnum> |
| 8 | </refmeta> |
| 9 | |
| 10 | <refnamediv> |
| 11 | <refname>routino-router</refname> |
| 12 | <refpurpose>calculate routes using the routino database</refpurpose> |
| 13 | </refnamediv> |
| 14 | |
| 15 | <refsynopsisdiv id='synopsis'> |
| 16 | <cmdsynopsis> |
| 17 | <command>routino-router</command> |
| 18 | <arg choice='opt'><option>--version</option></arg> |
| 19 | <group> |
| 20 | <arg choice='opt'><option>--help</option></arg> |
| 21 | <arg choice='opt'><option>--help-profile-xml</option></arg> |
| 22 | <arg choice='opt'><option>--help-profile-json</option></arg> |
| 23 | <arg choice='opt'><option>--help-profile-perl</option></arg> |
| 24 | </group> |
| 25 | <arg choice='opt'><option>--dir=<replaceable>dirname</replaceable></option></arg> |
| 26 | <arg choice='opt'><option>--prefix=<replaceable>name</replaceable></option></arg> |
| 27 | <arg choice='opt'><option>--profiles=<replaceable>filename</replaceable></option></arg> |
| 28 | <arg choice='opt'><option>--translations=<replaceable>filename</replaceable></option></arg> |
| 29 | <arg choice='opt'><option>--exact-nodes-only</option></arg> |
| 30 | <arg choice='opt'><option>--quiet</option></arg> |
| 31 | <arg choice='opt'><option>--loggable</option></arg> |
| 32 | <arg choice='opt'><option>--logtime</option></arg> |
| 33 | <arg choice='opt'><option>--logmemory</option></arg> |
| 34 | <arg choice='opt'><option>--language=<replaceable>lang</replaceable></option></arg> |
| 35 | <arg choice='opt'><option>--output-html</option></arg> |
| 36 | <arg choice='opt'><option>--output-gpx-track</option></arg> |
| 37 | <arg choice='opt'><option>--output-gpx-route</option></arg> |
| 38 | <arg choice='opt'><option>--output-text</option></arg> |
| 39 | <arg choice='opt'><option>--output-text-all</option></arg> |
| 40 | <arg choice='opt'><option>--output-none</option></arg> |
| 41 | <arg choice='opt'><option>--output-stdout</option></arg> |
| 42 | <arg choice='opt'><option>--profile=<replaceable>name</replaceable></option></arg> |
| 43 | <arg choice='opt'><option>--transport=<replaceable>transport</replaceable></option></arg> |
| 44 | <group> |
| 45 | <arg choice='opt'><option>--shortest</option></arg> |
| 46 | <arg choice='opt'><option>--quickest</option></arg> |
| 47 | </group> |
| 48 | <arg choice='plain'><option>--lon1=<replaceable>longitude</replaceable></option> <option>--lat1=<replaceable>latitude</replaceable></option></arg> |
| 49 | <arg choice='plain'><option>--lon2=<replaceable>longitude</replaceable></option> <option>--lat2=<replaceable>latitude</replaceable></option></arg> |
| 50 | <arg choice='opt'>... <option>--lon99=<replaceable>longitude</replaceable></option> <option>--lat99=<replaceable>latitude</replaceable></option></arg> |
| 51 | <arg choice='opt'><option>--reverse</option></arg> |
| 52 | <arg choice='opt'><option>--loop</option></arg> |
| 53 | <arg choice='opt'><option>--highway-<highway>=<replaceable>preference</replaceable></option> ...</arg> |
| 54 | <arg choice='opt'><option>--speed-<highway>=<replaceable>speed</replaceable></option> ...</arg> |
| 55 | <arg choice='opt'><option>--property-<property>=<replaceable>preference</replaceable></option> ...</arg> |
| 56 | <arg choice='opt'><option>--oneway=<replaceable>0|1</replaceable></option></arg> |
| 57 | <arg choice='opt'><option>--turns=<replaceable>0|1</replaceable></option></arg> |
| 58 | <arg choice='opt'><option>--weight=<replaceable>weight</replaceable></option></arg> |
| 59 | <arg choice='opt'><option>--height=<replaceable>height</replaceable></option></arg> |
| 60 | <arg choice='opt'><option>--width=<replaceable>width</replaceable></option></arg> |
| 61 | <arg choice='opt'><option>--length=<replaceable>length</replaceable></option></arg> |
| 62 | </cmdsynopsis> |
| 63 | </refsynopsisdiv> |
| 64 | |
| 65 | <refsect1 id='description'> |
| 66 | <title>DESCRIPTION</title> |
| 67 | <para> |
| 68 | <command>routino-router</command> performs the calculation of the |
| 69 | optimum routes using the database generated by the |
| 70 | <citerefentry> |
| 71 | <refentrytitle>planetsplitter</refentrytitle> |
| 72 | <manvolnum>1</manvolnum> |
| 73 | </citerefentry> |
| 74 | program. |
| 75 | </para> |
| 76 | </refsect1> |
| 77 | |
| 78 | <refsect1 id='options'> |
| 79 | <title>OPTIONS</title> |
| 80 | <variablelist> |
| 81 | |
| 82 | <varlistentry> |
| 83 | <term><option>--version</option></term> |
| 84 | <listitem> |
| 85 | <para> |
| 86 | Print the version of Routino. |
| 87 | </para> |
| 88 | </listitem> |
| 89 | </varlistentry> |
| 90 | |
| 91 | <varlistentry> |
| 92 | <term><option>--help</option></term> |
| 93 | <listitem> |
| 94 | <para> |
| 95 | Prints out the help information. |
| 96 | </para> |
| 97 | </listitem> |
| 98 | </varlistentry> |
| 99 | |
| 100 | <varlistentry> |
| 101 | <term><option>--help-profile</option></term> |
| 102 | <listitem> |
| 103 | <para> |
| 104 | Prints out the selected transport profile |
| 105 | (type, speed limits, highway preferences etc.) |
| 106 | </para> |
| 107 | </listitem> |
| 108 | </varlistentry> |
| 109 | |
| 110 | <varlistentry> |
| 111 | <term><option>--help-profile-xml</option></term> |
| 112 | <listitem> |
| 113 | <para> |
| 114 | Prints out all the loaded profiles as an XML file in the same |
| 115 | format that can be loaded in. |
| 116 | </para> |
| 117 | </listitem> |
| 118 | </varlistentry> |
| 119 | |
| 120 | <varlistentry> |
| 121 | <term><option>--help-profile-json</option></term> |
| 122 | <listitem> |
| 123 | <para> |
| 124 | Prints out all the loaded profiles in JavaScript Object Notation |
| 125 | (JSON) format for use in the interactive webpage. |
| 126 | </para> |
| 127 | </listitem> |
| 128 | </varlistentry> |
| 129 | |
| 130 | <varlistentry> |
| 131 | <term><option>--help-profile-perl</option></term> |
| 132 | <listitem> |
| 133 | <para> |
| 134 | Prints out all the loaded profiles as a Perl object for use in |
| 135 | the router CGI. |
| 136 | </para> |
| 137 | </listitem> |
| 138 | </varlistentry> |
| 139 | |
| 140 | <varlistentry> |
| 141 | <term><option>--dir</option>=<replaceable>dirname</replaceable></term> |
| 142 | <listitem> |
| 143 | <para> |
| 144 | Sets the directory name in which to read the local database. |
| 145 | Defaults to the current directory. |
| 146 | </para> |
| 147 | </listitem> |
| 148 | </varlistentry> |
| 149 | |
| 150 | <varlistentry> |
| 151 | <term><option>--prefix</option>=<replaceable>name</replaceable></term> |
| 152 | <listitem> |
| 153 | <para> |
| 154 | Sets the filename prefix for the files in the local database. |
| 155 | Defaults to no prefix. |
| 156 | </para> |
| 157 | </listitem> |
| 158 | </varlistentry> |
| 159 | |
| 160 | <varlistentry> |
| 161 | <term><option>--profiles</option>=<replaceable>filename</replaceable></term> |
| 162 | <listitem> |
| 163 | <para> |
| 164 | Sets the filename containing the list of routing profiles in XML |
| 165 | format. |
| 166 | If the file doesn't exist then <option>--dirname</option>, |
| 167 | <option>--prefix</option> and "profiles.xml" will be combined and |
| 168 | used, if that doesn't exist then the file |
| 169 | <filename>/usr/share/routino/profiles.xml</filename> |
| 170 | (or custom installation location) will be used. |
| 171 | </para> |
| 172 | </listitem> |
| 173 | </varlistentry> |
| 174 | |
| 175 | <varlistentry> |
| 176 | <term><option>--translations</option>=<replaceable>filename</replaceable></term> |
| 177 | <listitem> |
| 178 | <para> |
| 179 | Sets the filename containing the list of translations in XML |
| 180 | format for the output files. |
| 181 | If the file doesn't exist then <option>--dirname</option>, |
| 182 | <option>--prefix</option> and "translations.xml" will be combined |
| 183 | and used, if that doesn't exist then the file |
| 184 | <filename>/usr/share/routino/translations.xml</filename> |
| 185 | (or custom installation location) will be used. |
| 186 | </para> |
| 187 | </listitem> |
| 188 | </varlistentry> |
| 189 | |
| 190 | <varlistentry> |
| 191 | <term><option>--exact-nodes-only</option></term> |
| 192 | <listitem> |
| 193 | <para> |
| 194 | When processing the specified latitude and longitude points only |
| 195 | select the nearest node instead of finding the nearest point |
| 196 | within a segment (quicker but less accurate unless the points are |
| 197 | already near nodes). |
| 198 | </para> |
| 199 | </listitem> |
| 200 | </varlistentry> |
| 201 | |
| 202 | <varlistentry> |
| 203 | <term><option>--quiet</option></term> |
| 204 | <listitem> |
| 205 | <para> |
| 206 | Don't generate any screen output while running |
| 207 | (useful for running in a script). |
| 208 | </para> |
| 209 | </listitem> |
| 210 | </varlistentry> |
| 211 | |
| 212 | <varlistentry> |
| 213 | <term><option>--loggable</option></term> |
| 214 | <listitem> |
| 215 | <para> |
| 216 | Print progress messages that are suitable for logging to a file; |
| 217 | normally an incrementing counter is printed which is more suitable |
| 218 | for real-time display than logging. |
| 219 | </para> |
| 220 | </listitem> |
| 221 | </varlistentry> |
| 222 | |
| 223 | <varlistentry> |
| 224 | <term><option>--logtime</option></term> |
| 225 | <listitem> |
| 226 | <para> |
| 227 | Print the elapsed time for each processing step |
| 228 | (minutes, seconds and milliseconds). |
| 229 | </para> |
| 230 | </listitem> |
| 231 | </varlistentry> |
| 232 | |
| 233 | <varlistentry> |
| 234 | <term><option>--logmemory</option></term> |
| 235 | <listitem> |
| 236 | <para> |
| 237 | Print the maximum allocated and mapped memory for each processing |
| 238 | step (MBytes). |
| 239 | </para> |
| 240 | </listitem> |
| 241 | </varlistentry> |
| 242 | |
| 243 | <varlistentry> |
| 244 | <term><option>--language</option>=<replaceable>lang</replaceable></term> |
| 245 | <listitem> |
| 246 | <para> |
| 247 | Select the language specified from the file of translations. |
| 248 | If this option is not given and the file exists then the first |
| 249 | language in the file will be used. |
| 250 | If this option is not given and no file exists the compiled-in |
| 251 | default language (English) will be used. |
| 252 | </para> |
| 253 | </listitem> |
| 254 | </varlistentry> |
| 255 | |
| 256 | <varlistentry> |
| 257 | <term><option>--output-html</option></term> |
| 258 | <term><option>--output-gpx-track</option></term> |
| 259 | <term><option>--output-gpx-route</option></term> |
| 260 | <term><option>--output-text</option></term> |
| 261 | <term><option>--output-text-all</option></term> |
| 262 | <listitem> |
| 263 | <para> |
| 264 | Generate the selected output file formats (HTML, GPX track file, |
| 265 | GPX route file, plain text route and/or plain text with all nodes). |
| 266 | If no output is specified then all are generated, specifying any |
| 267 | automatically disables those not specified. |
| 268 | </para> |
| 269 | </listitem> |
| 270 | </varlistentry> |
| 271 | |
| 272 | <varlistentry> |
| 273 | <term><option>--output-none</option></term> |
| 274 | <listitem> |
| 275 | <para> |
| 276 | Do not generate any output or read in any translations files. |
| 277 | </para> |
| 278 | </listitem> |
| 279 | </varlistentry> |
| 280 | |
| 281 | <varlistentry> |
| 282 | <term><option>--output-stdout</option></term> |
| 283 | <listitem> |
| 284 | <para> |
| 285 | Write to stdout instead of a file (requires exactly one output |
| 286 | format option, implies <option>--quiet</option>). |
| 287 | </para> |
| 288 | </listitem> |
| 289 | </varlistentry> |
| 290 | |
| 291 | <varlistentry> |
| 292 | <term><option>--profile</option>=<replaceable>name</replaceable></term> |
| 293 | <listitem> |
| 294 | <para> |
| 295 | Specifies the name of the profile to use. |
| 296 | </para> |
| 297 | </listitem> |
| 298 | </varlistentry> |
| 299 | |
| 300 | <varlistentry> |
| 301 | <term><option>--transport</option>=<replaceable>transport</replaceable></term> |
| 302 | <listitem> |
| 303 | <para> |
| 304 | Select the type of transport to use, <replaceable>transport</replaceable> can be set to: |
| 305 | <informaltable frame='none' colsep='0' rowsep='0'> |
| 306 | <tgroup cols='3'> |
| 307 | <tbody> |
| 308 | <row> |
| 309 | <entry>foot</entry> |
| 310 | <entry>=</entry> |
| 311 | <entry>Foot</entry> |
| 312 | </row> |
| 313 | <row> |
| 314 | <entry>horse</entry> |
| 315 | <entry>=</entry> |
| 316 | <entry>Horse</entry> |
| 317 | </row> |
| 318 | <row> |
| 319 | <entry>wheelchair</entry> |
| 320 | <entry>=</entry> |
| 321 | <entry>Wheelchair</entry> |
| 322 | </row> |
| 323 | <row> |
| 324 | <entry>bicycle</entry> |
| 325 | <entry>=</entry> |
| 326 | <entry>Bicycle</entry> |
| 327 | </row> |
| 328 | <row> |
| 329 | <entry>moped</entry> |
| 330 | <entry>=</entry> |
| 331 | <entry>Moped (Small motorcycle, limited speed)</entry> |
| 332 | </row> |
| 333 | <row> |
| 334 | <entry>motorcycle</entry> |
| 335 | <entry>=</entry> |
| 336 | <entry>Motorcycle</entry> |
| 337 | </row> |
| 338 | <row> |
| 339 | <entry>motorcar</entry> |
| 340 | <entry>=</entry> |
| 341 | <entry>Motorcar</entry> |
| 342 | </row> |
| 343 | <row> |
| 344 | <entry>goods</entry> |
| 345 | <entry>=</entry> |
| 346 | <entry>Goods (Small lorry, van)</entry> |
| 347 | </row> |
| 348 | <row> |
| 349 | <entry>hgv</entry> |
| 350 | <entry>=</entry> |
| 351 | <entry>HGV (Heavy Goods Vehicle \- large lorry)</entry> |
| 352 | </row> |
| 353 | <row> |
| 354 | <entry>psv</entry> |
| 355 | <entry>=</entry> |
| 356 | <entry>PSV (Public Service Vehicle \- bus, coach)</entry> |
| 357 | </row> |
| 358 | </tbody> |
| 359 | </tgroup> |
| 360 | </informaltable> |
| 361 | </para> |
| 362 | <para> |
| 363 | Defaults to 'motorcar', this option also selects the default |
| 364 | profile information if the <option>--profile</option> option is |
| 365 | not given and a profile matching the transport name is found. |
| 366 | </para> |
| 367 | </listitem> |
| 368 | </varlistentry> |
| 369 | |
| 370 | <varlistentry> |
| 371 | <term><option>--shortest</option></term> |
| 372 | <listitem> |
| 373 | <para> |
| 374 | Find the shortest route between the waypoints. |
| 375 | </para> |
| 376 | </listitem> |
| 377 | </varlistentry> |
| 378 | |
| 379 | <varlistentry> |
| 380 | <term><option>--quickest</option></term> |
| 381 | <listitem> |
| 382 | <para> |
| 383 | Find the quickest route between the waypoints. |
| 384 | </para> |
| 385 | </listitem> |
| 386 | </varlistentry> |
| 387 | |
| 388 | <varlistentry> |
| 389 | <term><option>--lon1</option>=<replaceable>longitude</replaceable></term> |
| 390 | <term><option>--lat1</option>=<replaceable>latitude</replaceable></term> |
| 391 | <term><option>--lon2</option>=<replaceable>longitude</replaceable></term> |
| 392 | <term><option>--lat2</option>=<replaceable>latitude</replaceable></term> |
| 393 | <term>... <option>--lon99</option>=<replaceable>longitude</replaceable></term> |
| 394 | <term><option>--lat99</option>=<replaceable>latitude</replaceable></term> |
| 395 | <listitem> |
| 396 | <para> |
| 397 | The location of the waypoints that make up the start, middle and |
| 398 | end points of the route. Up to 99 waypoints can be specified and |
| 399 | the route will pass through each of the specified ones in sequence. |
| 400 | The algorithm will use the closest node or point within a segment |
| 401 | that allows the specified traffic type. |
| 402 | </para> |
| 403 | </listitem> |
| 404 | </varlistentry> |
| 405 | |
| 406 | <varlistentry> |
| 407 | <term><option>--reverse</option></term> |
| 408 | <listitem> |
| 409 | <para> |
| 410 | Find a route between the waypoints in reverse order. |
| 411 | </para> |
| 412 | </listitem> |
| 413 | </varlistentry> |
| 414 | |
| 415 | <varlistentry> |
| 416 | <term><option>--loop</option></term> |
| 417 | <listitem> |
| 418 | <para> |
| 419 | Find a route that returns to the first waypoint after the last one. |
| 420 | </para> |
| 421 | </listitem> |
| 422 | </varlistentry> |
| 423 | |
| 424 | <varlistentry> |
| 425 | <term><option>--heading</option>=<replaceable>bearing</replaceable></term> |
| 426 | <listitem> |
| 427 | <para> |
| 428 | Specifies the initial direction of travel at the start of the |
| 429 | route (from the lowest numbered waypoint) as a compass bearing |
| 430 | from 0 to 360 degrees. |
| 431 | </para> |
| 432 | </listitem> |
| 433 | </varlistentry> |
| 434 | |
| 435 | <varlistentry> |
| 436 | <term><option>--highway-<highway></option>=<replaceable>preference</replaceable></term> |
| 437 | <listitem> |
| 438 | <para> |
| 439 | Selects the percentage preference for using each particular type |
| 440 | of highway. |
| 441 | The value of <replaceable>highway</replaceable> can be selected |
| 442 | from: |
| 443 | <informaltable frame='none' colsep='0' rowsep='0'> |
| 444 | <tgroup cols='3'> |
| 445 | <tbody> |
| 446 | <row> |
| 447 | <entry>motorway</entry> |
| 448 | <entry>=</entry> |
| 449 | <entry>Motorway</entry> |
| 450 | </row> |
| 451 | <row> |
| 452 | <entry>trunk</entry> |
| 453 | <entry>=</entry> |
| 454 | <entry>Trunk</entry> |
| 455 | </row> |
| 456 | <row> |
| 457 | <entry>primary</entry> |
| 458 | <entry>=</entry> |
| 459 | <entry>Primary</entry> |
| 460 | </row> |
| 461 | <row> |
| 462 | <entry>secondary</entry> |
| 463 | <entry>=</entry> |
| 464 | <entry>Secondary</entry> |
| 465 | </row> |
| 466 | <row> |
| 467 | <entry>tertiary</entry> |
| 468 | <entry>=</entry> |
| 469 | <entry>Tertiary</entry> |
| 470 | </row> |
| 471 | <row> |
| 472 | <entry>unclassified</entry> |
| 473 | <entry>=</entry> |
| 474 | <entry>Unclassified</entry> |
| 475 | </row> |
| 476 | <row> |
| 477 | <entry>residential</entry> |
| 478 | <entry>=</entry> |
| 479 | <entry>Residential</entry> |
| 480 | </row> |
| 481 | <row> |
| 482 | <entry>service</entry> |
| 483 | <entry>=</entry> |
| 484 | <entry>Service</entry> |
| 485 | </row> |
| 486 | <row> |
| 487 | <entry>track</entry> |
| 488 | <entry>=</entry> |
| 489 | <entry>Track</entry> |
| 490 | </row> |
| 491 | <row> |
| 492 | <entry>cycleway</entry> |
| 493 | <entry>=</entry> |
| 494 | <entry>Cycleway</entry> |
| 495 | </row> |
| 496 | <row> |
| 497 | <entry>path</entry> |
| 498 | <entry>=</entry> |
| 499 | <entry>Path</entry> |
| 500 | </row> |
| 501 | <row> |
| 502 | <entry>steps</entry> |
| 503 | <entry>=</entry> |
| 504 | <entry>Steps</entry> |
| 505 | </row> |
| 506 | <row> |
| 507 | <entry>ferry</entry> |
| 508 | <entry>=</entry> |
| 509 | <entry>Ferry</entry> |
| 510 | </row> |
| 511 | </tbody> |
| 512 | </tgroup> |
| 513 | </informaltable> |
| 514 | </para> |
| 515 | <para> |
| 516 | Default value depends on the profile selected by the |
| 517 | <option>--transport</option> option. |
| 518 | </para> |
| 519 | </listitem> |
| 520 | </varlistentry> |
| 521 | |
| 522 | <varlistentry> |
| 523 | <term><option>--speed-<highway></option>=<replaceable>speed</replaceable></term> |
| 524 | <listitem> |
| 525 | <para> |
| 526 | Selects the speed limit in km/hour for each type of highway. |
| 527 | Default value depends on the profile selected by the |
| 528 | <option>--transport</option> option. |
| 529 | </para> |
| 530 | </listitem> |
| 531 | </varlistentry> |
| 532 | |
| 533 | <varlistentry> |
| 534 | <term><option>--property-<property></option>=<replaceable>preference</replaceable></term> |
| 535 | <listitem> |
| 536 | <para> |
| 537 | Selects the percentage preference for using each particular |
| 538 | highway property. |
| 539 | The value of <replaceable>property</replaceable> can be selected |
| 540 | from: |
| 541 | <informaltable frame='none' colsep='0' rowsep='0'> |
| 542 | <tgroup cols='3'> |
| 543 | <tbody> |
| 544 | <row> |
| 545 | <entry>paved</entry> |
| 546 | <entry>=</entry> |
| 547 | <entry>Paved (suitable for normal wheels)</entry> |
| 548 | </row> |
| 549 | <row> |
| 550 | <entry>multilane</entry> |
| 551 | <entry>=</entry> |
| 552 | <entry>Multiple lanes</entry> |
| 553 | </row> |
| 554 | <row> |
| 555 | <entry>bridge</entry> |
| 556 | <entry>=</entry> |
| 557 | <entry>Bridge</entry> |
| 558 | </row> |
| 559 | <row> |
| 560 | <entry>tunnel</entry> |
| 561 | <entry>=</entry> |
| 562 | <entry>Tunnel</entry> |
| 563 | </row> |
| 564 | <row> |
| 565 | <entry>footroute</entry> |
| 566 | <entry>=</entry> |
| 567 | <entry>A route marked for foot travel</entry> |
| 568 | </row> |
| 569 | <row> |
| 570 | <entry>bicycleroute</entry> |
| 571 | <entry>=</entry> |
| 572 | <entry>A route marked for bicycle travel</entry> |
| 573 | </row> |
| 574 | </tbody> |
| 575 | </tgroup> |
| 576 | </informaltable> |
| 577 | </para> |
| 578 | <para> |
| 579 | Default value depends on the profile selected by the |
| 580 | <option>--transport</option> option. |
| 581 | </para> |
| 582 | </listitem> |
| 583 | </varlistentry> |
| 584 | |
| 585 | <varlistentry> |
| 586 | <term><option>--oneway=</option>=<replaceable>0|1</replaceable></term> |
| 587 | <listitem> |
| 588 | <para> |
| 589 | Selects if the direction of oneway streets are to be obeyed |
| 590 | (useful to not obey them when walking). |
| 591 | Default value depends on the profile selected by the |
| 592 | <option>--transport</option> option. |
| 593 | </para> |
| 594 | </listitem> |
| 595 | </varlistentry> |
| 596 | |
| 597 | <varlistentry> |
| 598 | <term><option>--turns=</option>=<replaceable>0|1</replaceable></term> |
| 599 | <listitem> |
| 600 | <para> |
| 601 | Selects if turn restrictions are to be obeyed (useful to not obey |
| 602 | them when walking). |
| 603 | Default value depends on the profile selected by the |
| 604 | <option>--transport</option> option. |
| 605 | </para> |
| 606 | </listitem> |
| 607 | </varlistentry> |
| 608 | |
| 609 | <varlistentry> |
| 610 | <term><option>--weight</option>=<replaceable>weight</replaceable></term> |
| 611 | <listitem> |
| 612 | <para> |
| 613 | Specifies the weight of the mode of transport in tonnes; ensures |
| 614 | that the weight limit on the highway is not exceeded. |
| 615 | Default value depends on the profile selected by the |
| 616 | <option>--transport</option> option. |
| 617 | </para> |
| 618 | </listitem> |
| 619 | </varlistentry> |
| 620 | |
| 621 | <varlistentry> |
| 622 | <term><option>--height</option>=<replaceable>height</replaceable></term> |
| 623 | <listitem> |
| 624 | <para> |
| 625 | Specifies the height of the mode of transport in metres; ensures |
| 626 | that the height limit on the highway is not exceeded. |
| 627 | Default value depends on the profile selected by the |
| 628 | <option>--transport</option> option. |
| 629 | </para> |
| 630 | </listitem> |
| 631 | </varlistentry> |
| 632 | |
| 633 | <varlistentry> |
| 634 | <term><option>--width</option>=<replaceable>width</replaceable></term> |
| 635 | <listitem> |
| 636 | <para> |
| 637 | Specifies the width of the mode of transport in metres; ensures |
| 638 | that the width limit on the highway is not exceeded. |
| 639 | Default value depends on the profile selected by the |
| 640 | <option>--transport</option> option. |
| 641 | </para> |
| 642 | </listitem> |
| 643 | </varlistentry> |
| 644 | |
| 645 | <varlistentry> |
| 646 | <term><option>--length</option>=<replaceable>length</replaceable></term> |
| 647 | <listitem> |
| 648 | <para> |
| 649 | Specifies the length of the mode of transport in metres; ensures |
| 650 | that the length limit on the highway is not exceeded. |
| 651 | Default value depends on the profile selected by the |
| 652 | <option>--transport</option> option. |
| 653 | </para> |
| 654 | </listitem> |
| 655 | </varlistentry> |
| 656 | |
| 657 | </variablelist> |
| 658 | |
| 659 | <para> |
| 660 | The meaning of the <replaceable>preference</replaceable> parameter in |
| 661 | the command line options is slightly different for the highway |
| 662 | preferences and the property preferences. |
| 663 | For the highway preference consider the choice between two possible |
| 664 | highways between the start and finish when looking for the shortest |
| 665 | route. |
| 666 | If highway A has a preference of 100% and highway B has a preference of |
| 667 | 90% then highway A will be chosen even if it is up to 11% longer |
| 668 | (100/90 = 111%). |
| 669 | For the highway properties each highway either has a particular property |
| 670 | or not. |
| 671 | If the preference for the property is 60% then a highway with the |
| 672 | property has a preference of 77% (sqrt(60%)) and one without has a |
| 673 | preference of 63% (sqrt(100-60%)). |
| 674 | A highway with the property will be chosen even if it is up to 22% |
| 675 | longer than one without the property (77/63 = 122%). |
| 676 | The overall preference for each highway segment is the product of the |
| 677 | preference for the highway type and all of the preferences for the |
| 678 | highway properties. |
| 679 | </para> |
| 680 | |
| 681 | </refsect1> |
| 682 | |
| 683 | <refsect1 id='examples'> |
| 684 | <title>EXAMPLES</title> |
| 685 | |
| 686 | <example> |
| 687 | <para> |
| 688 | Example usage (motorcycle journey, scenic route, not very fast): |
| 689 | </para> |
| 690 | <screen> |
| 691 | <command>routino-router</command> <option>--dir</option>=<filename>data</filename> <option>--prefix</option>=gb <option>--transport</option>=motorcycle \ |
| 692 | <option>--highway-motorway</option>=0 <option>--highway-trunk</option>=0 \ |
| 693 | <option>--speed-primary</option>=80 <option>--speed-secondary</option>=80 \ |
| 694 | <option>--quickest</option> |
| 695 | </screen> |
| 696 | <para> |
| 697 | This will use the files |
| 698 | <filename>data/gb-nodes.mem</filename>, |
| 699 | <filename>data/gb-segments.mem</filename> and |
| 700 | <filename>data/gb-ways.mem</filename> to find the quickest route by |
| 701 | motorcycle not using motorways or trunk roads and not exceeding 80 |
| 702 | km/hr. |
| 703 | </para> |
| 704 | </example> |
| 705 | |
| 706 | </refsect1> |
| 707 | |
| 708 | </refentry> |