Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Contents of /branches/destination-access/doc/html/usage.html
Parent Directory
|
Revision Log
Revision 1807 -
(show annotations)
(download)
(as text)
Wed Sep 23 18:20:13 2015 UTC (9 years, 6 months ago) by amb
File MIME type: text/html
File size: 28106 byte(s)
Wed Sep 23 18:20:13 2015 UTC (9 years, 6 months ago) by amb
File MIME type: text/html
File size: 28106 byte(s)
Merge the trunk changes back into the destination-access branch.
1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
2 | <html> |
3 | |
4 | <head> |
5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
6 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
7 | |
8 | <title>Routino : Usage</title> |
9 | |
10 | <!-- |
11 | Routino documentation - usage |
12 | |
13 | Part of the Routino routing software. |
14 | |
15 | This file Copyright 2008-2015 Andrew M. Bishop |
16 | |
17 | This program is free software: you can redistribute it and/or modify |
18 | it under the terms of the GNU Affero General Public License as published by |
19 | the Free Software Foundation, either version 3 of the License, or |
20 | (at your option) any later version. |
21 | |
22 | This program is distributed in the hope that it will be useful, |
23 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
24 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
25 | GNU Affero General Public License for more details. |
26 | |
27 | You should have received a copy of the GNU Affero General Public License |
28 | along with this program. If not, see http://www.gnu.org/licenses/. |
29 | --> |
30 | |
31 | <link href="style.css" type="text/css" rel="stylesheet"> |
32 | </head> |
33 | |
34 | <body> |
35 | |
36 | <!-- Header Start --> |
37 | |
38 | <div class="header"> |
39 | |
40 | <h1>Routino : Usage</h1> |
41 | |
42 | </div> |
43 | |
44 | <!-- Header End --> |
45 | |
46 | <!-- Content Start --> |
47 | |
48 | <div class="content"> |
49 | |
50 | <h2 id="H_1_1">Program Usage</h2> |
51 | |
52 | There are five programs that make up this software. The first one takes the |
53 | planet.osm datafile from OpenStreetMap (or other source of data using the same |
54 | formats) and converts it into a local database. The second program uses the |
55 | database to determine an optimum route between two points. The third program |
56 | allows visualisation of the data and statistics to be extracted. The fourth |
57 | program allows dumping the raw parsed data for test purposes and the fifth is a |
58 | test program for the tag transformations. |
59 | |
60 | <h3 id="H_1_1_1">planetsplitter</h3> |
61 | |
62 | This program reads in the OSM format XML file and splits it up to create the |
63 | database that is used for routing. |
64 | |
65 | <pre class="boxed"> |
66 | Usage: planetsplitter [--version] |
67 | [--help] |
68 | [--dir=<dirname>] [--prefix=<name>] |
69 | [--sort-ram-size=<size>] [--sort-threads=<number>] |
70 | [--tmpdir=<dirname>] |
71 | [--tagging=<filename>] |
72 | [--loggable] [--logtime] [--logmemory] |
73 | [--errorlog[=<name>]] |
74 | [--parse-only | --process-only] |
75 | [--append] [--keep] [--changes] |
76 | [--max-iterations=<number>] |
77 | [--prune-none] |
78 | [--prune-isolated=<len>] |
79 | [--prune-short=<len>] |
80 | [--prune-straight=<len>] |
81 | [<filename.osm> ... | <filename.osc> ... |
82 | | <filename.pbf> ... |
83 | | <filename.o5m> ... | <filename.o5c> ... |
84 | | <filename.(osm|osc|o5m|o5c).bz2> ... |
85 | | <filename.(osm|osc|o5m|o5c).gz> ... |
86 | | <filename.(osm|osc|o5m|o5c).xz> ...] |
87 | </pre> |
88 | |
89 | <dl> |
90 | <dt>--version |
91 | <dd>Print the version of Routino. |
92 | <dt>--help |
93 | <dd>Prints out the help information. |
94 | <dt>--dir=<dirname> |
95 | <dd>Sets the directory name in which to save the results. |
96 | Defaults to the current directory. |
97 | <dt>--prefix=<name> |
98 | <dd>Sets the filename prefix for the files that are created. |
99 | Defaults to no prefix. |
100 | <dt>--sort-ram-size=<size> |
101 | <dd>Specifies the amount of RAM (in MB) to use for sorting the data. If not |
102 | specified then 64 MB will be used in slim mode or 256 MB otherwise. |
103 | <dt>--sort-threads=<number> |
104 | <dd>The number of threads to use for data sorting (the sorting memory is |
105 | shared between the threads - too many threads and not enough memory will |
106 | reduce the performance). |
107 | <dt>--tmpdir=<dirname> |
108 | <dd>Specifies the name of the directory to store the temporary disk files. If |
109 | not specified then it defaults to either the value of the --dir option or the |
110 | current directory. |
111 | <dt>--tagging=<filename> |
112 | <dd>Sets the filename containing the list of tagging rules in XML format for |
113 | the parsing the input files. If the file doesn't exist then dirname, prefix |
114 | and "profiles.xml" will be combined and used, if that doesn't exist then the |
115 | file '/usr/local/share/routino/profiles.xml' (or custom installation |
116 | location) will be used. |
117 | <dt>--loggable |
118 | <dd>Print progress messages that are suitable for logging to a file; normally |
119 | an incrementing counter is printed which is more suitable for real-time |
120 | display than logging. |
121 | <dt>--logtime |
122 | <dd>Print the elapsed time for each processing step (minutes, seconds and milliseconds). |
123 | <dt>--logmemory |
124 | <dd>Print the maximum allocated and mapped memory for each processing step (MBytes). |
125 | <dt>--errorlog[=<name>] |
126 | <dd>Log OSM parsing and processing errors to 'error.log' or the specified file |
127 | name (the '--dir' and '--prefix' options are applied). If the --append |
128 | option is used then the existing log file will be appended, otherwise a new |
129 | one will be created. If the --keep option is also used a geographically |
130 | searchable database of error logs is created for use in the visualiser. |
131 | <dt>--parse-only |
132 | <dd>Parse the input files and store the data in intermediate files but don't |
133 | process the data into a routing database. This option must be used with the |
134 | --append option for all except the first file. |
135 | <dt>--process-only |
136 | <dd>Don't read in any files but process the existing intermediate files |
137 | created by using the --parse-only option. |
138 | <dt>--append |
139 | <dd>Parse the input file and append the result to the existing intermediate |
140 | files; the appended file can be either an OSM file or an OSC change file. |
141 | <dt>--keep |
142 | <dd>Store a set of intermediate files after parsing the OSM files, sorting and |
143 | removing duplicates; this allows appending an OSC file and re-processing |
144 | later. |
145 | <dt>--changes |
146 | <dd>This option indicates that the data being processed contains one or more |
147 | OSC (OSM changes) files, they must be applied in time sequence if more than |
148 | one is used. This option implies --append when parsing data files and |
149 | --keep when processing data. |
150 | <dt>--max-iterations=<number> |
151 | <dd>The maximum number of iterations to use when generating super-nodes and |
152 | super-segments. Defaults to 5 which is normally enough. |
153 | <dt>--prune-none |
154 | <dd>Disable the prune options below, they can be re-enabled by adding them to |
155 | the command line after this option. |
156 | <dt>--prune-isolated=<length> |
157 | <dd>Remove the access permissions for a transport type from small disconnected |
158 | groups of segments and remove the segments if they end up with no access |
159 | permission (defaults to removing groups under 500m). |
160 | <dt>--prune-short=<length> |
161 | <dd>Remove short segments (defaults to removing segments up to a maximum |
162 | length of 5m). |
163 | <dt>--prune-straight=<length> |
164 | <dd>Remove nodes in almost straight highways (defaults to removing nodes up to |
165 | 3m offset from a straight line). |
166 | <dt><filename.osm>, <filename.osc>, <filename.pbf>, <filename.o5m>, <filename.o5c> |
167 | <dd>Specifies the filename(s) to read data from. Filenames ending '.pbf' will |
168 | be read as PBF, filenames ending in '.o5m' or '.o5c' will be read as |
169 | O5M/O5C, otherwise as XML. Filenames ending '.bz2' will be bzip2 |
170 | uncompressed (if bzip2 support compiled in). Filenames ending '.gz' will be |
171 | gzip uncompressed (if gzip support compiled in). Filenames ending '.xz' |
172 | will be xz uncompressed (if xz support compiled in). |
173 | </dl> |
174 | |
175 | <p> |
176 | <i>Note: In version 2.5 of Routino the ability to read data from the standard |
177 | input has been removed. This is because there is now the ability to read |
178 | compressed files (bzip2, gzip, xz) and PBF files directly. Also using standard |
179 | input the file type cannot be auto-detected from the filename.</i> |
180 | |
181 | <p> |
182 | Example usage 1: |
183 | |
184 | <pre class="boxed"> |
185 | planetsplitter --dir=data --prefix=gb great_britain.osm |
186 | </pre> |
187 | |
188 | This will generate the output files 'data/gb-nodes.mem', 'data/gb-segments.mem' |
189 | and 'data/gb-ways.mem'. Multiple filenames can be specified on the command |
190 | line and they will all be read in, combined and processed together. |
191 | |
192 | <p> |
193 | Example usage 2: |
194 | |
195 | <pre class="boxed"> |
196 | planetsplitter --dir=data --prefix=gb --parse-only great_britain_part1.osm |
197 | planetsplitter --dir=data --prefix=gb --parse-only --append great_britain_part2.osm |
198 | planetsplitter --dir=data --prefix=gb --parse-only --append ... |
199 | planetsplitter --dir=data --prefix=gb --process-only |
200 | </pre> |
201 | |
202 | This will generate the same output files as the first example but parsing the |
203 | input files is performed separately from the data processing. The first file |
204 | read in must not use the --append option but the later ones must. |
205 | |
206 | <p> |
207 | Example usage 3: |
208 | |
209 | <pre class="boxed"> |
210 | planetsplitter --dir=data --prefix=gb --keep great_britain.osm |
211 | |
212 | planetsplitter --dir=data --prefix=gb --changes great_britain.osc |
213 | </pre> |
214 | |
215 | This will generate the same output files as the first example. The first |
216 | command will process the complete file and keep some intermediate data for |
217 | later. The second command will apply a set of changes to the stored |
218 | intermediate data and keep the updated intermediate files for repeating this |
219 | step later with more change data. |
220 | <p> |
221 | The parsing and processing can be split into multiple commands as it was in |
222 | example 2 with the --keep option used with --process-only for the initial OSM |
223 | file(s) and the --changes option used with --parse-only or --process-only for |
224 | every OSC file. |
225 | |
226 | |
227 | <h3 id="H_1_1_2">router</h3> |
228 | |
229 | This program performs the calculation of the optimum routes using the database |
230 | generated by the planetsplitter program. |
231 | |
232 | <pre class="boxed"> |
233 | Usage: router [--version] |
234 | [--help | --help-profile | --help-profile-xml | |
235 | --help-profile-json | --help-profile-perl ] |
236 | [--dir=<dirname>] [--prefix=<name>] |
237 | [--profiles=<filename>] [--translations=<filename>] |
238 | [--exact-nodes-only] |
239 | [--quiet | [--loggable] [--logtime] [--logmemory]] |
240 | [--output-html] |
241 | [--output-gpx-track] [--output-gpx-route] |
242 | [--output-text] [--output-text-all] |
243 | [--output-none] [--output-stdout] |
244 | [--profile=<name>] |
245 | [--transport=<transport>] |
246 | [--shortest | --quickest] |
247 | --lon1=<longitude> --lat1=<latitude> |
248 | --lon2=<longitude> --lon2=<latitude> |
249 | [ ... --lon99=<longitude> --lon99=<latitude>] |
250 | [--reverse] [--loop] |
251 | [--heading=<bearing>] |
252 | [--highway-<highway>=<preference> ...] |
253 | [--speed-<highway>=<speed> ...] |
254 | [--property-<property>=<preference> ...] |
255 | [--oneway=(0|1)] [--turns=(0|1)] |
256 | [--weight=<weight>] |
257 | [--height=<height>] [--width=<width>] [--length=<length>] |
258 | </pre> |
259 | |
260 | <dl> |
261 | <dt>--version |
262 | <dd>Print the version of Routino. |
263 | <dt>--help |
264 | <dd>Prints out the help information. |
265 | <dt>--help-profile |
266 | <dd>Prints out the selected transport profile (type, speed limits, highway |
267 | preferences etc.) |
268 | <dt>--help-profile-xml |
269 | <dd>Prints out all the loaded profiles as an XML file in the same format that |
270 | can be loaded in. |
271 | <dt>--help-profile-json |
272 | <dd>Prints out all the loaded profiles in JavaScript Object Notation (JSON) |
273 | format for use in the interactive webpage. |
274 | <dt>--help-profile-perl |
275 | <dd>Prints out all the loaded profiles as a Perl object for use in the router |
276 | CGI. |
277 | <dt>--dir=<dirname> |
278 | <dd>Sets the directory name in which to read the local database. |
279 | Defaults to the current directory. |
280 | <dt>--prefix=<name> |
281 | <dd>Sets the filename prefix for the files in the local database. |
282 | Defaults to no prefix. |
283 | <dt>--profiles=<filename> |
284 | <dd>Sets the filename containing the list of routing profiles in XML format. |
285 | If the file doesn't exist then dirname, prefix and "profiles.xml" will be |
286 | combined and used, if that doesn't exist then the file |
287 | '/usr/local/share/routino/profiles.xml' (or custom installation location) |
288 | will be used. |
289 | <dt>--translations=<filename> |
290 | <dd>Sets the filename containing the list of translations in XML format for |
291 | the output files. If the file doesn't exist then dirname, prefix and |
292 | "translations.xml" will be combined and used, if that doesn't exist then the |
293 | file '/usr/local/share/routino/translations.xml' (or custom installation |
294 | location) will be used. |
295 | <dt>--exact-nodes-only |
296 | <dd>When processing the specified latitude and longitude points only select |
297 | the nearest node instead of finding the nearest point within a segment |
298 | (quicker but less accurate unless the points are already near nodes). |
299 | <dt>--quiet |
300 | <dd>Don't generate any screen output while running (useful for running in a script). |
301 | <dt>--loggable |
302 | <dd>Print progress messages that are suitable for logging to a file; normally |
303 | an incrementing counter is printed which is more suitable for real-time |
304 | display than logging. |
305 | <dt>--logtime |
306 | <dd>Print the elapsed time for each processing step (minutes, seconds and milliseconds). |
307 | <dt>--logmemory |
308 | <dd>Print the maximum allocated and mapped memory for each processing step (MBytes). |
309 | <dt>--language=<lang> |
310 | <dd>Select the language specified from the file of translations. If this |
311 | option is not given and the file exists then the first language in the file |
312 | will be used. If this option is not given and no file exists the |
313 | compiled-in default language (English) will be used. |
314 | <dt>--output-html |
315 | <dt>--output-gpx-track |
316 | <dt>--output-gpx-route |
317 | <dt>--output-text |
318 | <dt>--output-text-all |
319 | <dd>Generate the selected output file formats (HTML, GPX track file, GPX route |
320 | file, plain text route and/or plain text with all nodes). If no output is |
321 | specified then all are generated, specifying any automatically disables those |
322 | not specified. |
323 | <dt>--output-none |
324 | <dd>Do not generate any output or read in any translations files. |
325 | <dt>--output-stdout |
326 | <dd>Write to stdout instead of a file (requires exactly one output format |
327 | option, implies '--quiet'). |
328 | <dt>--profile=<name> |
329 | <dd>Specifies the name of the profile to use. |
330 | <dt>--transport=<transport> |
331 | <dd>Select the type of transport to use, <transport> can be set to: |
332 | <ul> |
333 | <li>foot = Foot |
334 | <li>horse = Horse |
335 | <li>wheelchair = Wheelchair |
336 | <li>bicycle = Bicycle |
337 | <li>moped = Moped (Small motorcycle, limited speed) |
338 | <li>motorcycle = Motorcycle |
339 | <li>motorcar = Motorcar |
340 | <li>goods = Goods (Small lorry, van) |
341 | <li>hgv = HGV (Heavy Goods Vehicle - large lorry) |
342 | <li>psv = PSV (Public Service Vehicle - bus, coach) |
343 | </ul> |
344 | Defaults to 'motorcar', this option also selects the default profile |
345 | information if the '--profile' option is not given and a profile matching |
346 | the transport name is found. |
347 | <dt>--shortest |
348 | <dd>Find the shortest route between the waypoints. |
349 | <dt>--quickest |
350 | <dd>Find the quickest route between the waypoints. |
351 | <dt>--lon1=<longitude>, --lat1=<latitude> |
352 | <dt>--lon2=<longitude>, --lat2=<latitude> |
353 | <dt>... --lon99=<longitude>, --lat99=<latitude> |
354 | <dd>The location of the waypoints that make up the start, middle and end |
355 | points of the route. Up to 99 waypoints can be specified and the route will |
356 | pass through each of the specified ones in sequence. The algorithm will use |
357 | the closest node or point within a segment that allows the specified traffic |
358 | type. |
359 | <dt>--reverse |
360 | <dd>Find a route between the waypoints in reverse order. |
361 | <dt>--loop |
362 | <dd>Find a route that returns to the first waypoint after the last one. |
363 | <dt>--heading=<bearing> |
364 | <dd>Specifies the initial direction of travel at the start of the route (from |
365 | the lowest numbered waypoint) as a compass bearing from 0 to 360 degrees. |
366 | <dt>--highway-<highway>=<preference> |
367 | <dd>Selects the percentage preference for using each particular type of |
368 | highway. The value of <highway> can be selected from: |
369 | <ul> |
370 | <li>motorway = Motorway |
371 | <li>trunk = Trunk |
372 | <li>primary = Primary |
373 | <li>secondary = Secondary |
374 | <li>tertiary = Tertiary |
375 | <li>unclassified = Unclassified |
376 | <li>residential = Residential |
377 | <li>service = Service |
378 | <li>track = Track |
379 | <li>cycleway = Cycleway |
380 | <li>path = Path |
381 | <li>steps = Steps |
382 | <li>ferry = Ferry |
383 | </ul> |
384 | Default value depends on the profile selected by the --transport option. |
385 | <dt>--speed-<highway>=<speed> |
386 | <dd>Selects the speed limit in km/hour for each type of highway. Default |
387 | value depends on the profile selected by the --transport option. |
388 | <dt>--property-<property>=<preference> |
389 | <dd>Selects the percentage preference for using each particular highway |
390 | property |
391 | The value of <property> can be selected from: |
392 | <ul> |
393 | <li>paved = Paved (suitable for normal wheels) |
394 | <li>multilane = Multiple lanes |
395 | <li>bridge = Bridge |
396 | <li>tunnel = Tunnel |
397 | <li>footroute = A route marked for foot travel |
398 | <li>bicycleroute = A route marked for bicycle travel |
399 | </ul> |
400 | Default value depends on the profile selected by the --transport option. |
401 | <dt>--oneway=[0|1] |
402 | <dd>Selects if the direction of oneway streets are to be obeyed (useful to not |
403 | obey them when walking). Default value depends on the profile selected by |
404 | the --transport option. |
405 | <dt>--turns=[0|1] |
406 | <dd>Selects if turn restrictions are to be obeyed (useful to not obey them |
407 | when walking). Default value depends on the profile selected by the |
408 | --transport option. |
409 | <dt>--weight=<weight> |
410 | <dd>Specifies the weight of the mode of transport in tonnes; ensures that the |
411 | weight limit on the highway is not exceeded. Default value depends on the |
412 | profile selected by the --transport option. |
413 | <dt>--height=<height> |
414 | <dd>Specifies the height of the mode of transport in metres; ensures that the |
415 | height limit on the highway is not exceeded. Default value depends on the |
416 | profile selected by the --transport option. |
417 | <dt>--width=<width> |
418 | <dd>Specifies the width of the mode of transport in metres; ensures that the |
419 | width limit on the highway is not exceeded. Default value depends on the |
420 | profile selected by the --transport option. |
421 | <dt>--length=<length> |
422 | <dd>Specifies the length of the mode of transport in metres; ensures that the |
423 | length limit on the highway is not exceeded. Default value depends on the |
424 | profile selected by the --transport option. |
425 | </dl> |
426 | |
427 | <p> |
428 | The meaning of the <preference> parameter in the command line options is |
429 | slightly different for the highway preferences and the property preferences. |
430 | For the highway preference consider the choice between two possible highways |
431 | between the start and finish when looking for the shortest route. If highway A |
432 | has a preference of 100% and highway B has a preference of 90% then highway A |
433 | will be chosen even if it is up to 11% longer (100/90 = 111%). For the highway |
434 | properties each highway either has a particular property or not. If the |
435 | preference for the property is 60% then a highway with the property has a |
436 | preference of 77% (sqrt(60%)) and one without has a preference of 63% |
437 | (sqrt(100-60%)). A highway with the property will be chosen even if it is up to |
438 | 22% longer than one without the property (77/63 = 122%). The overall preference |
439 | for each highway segment is the product of the preference for the highway type |
440 | and all of the preferences for the highway properties. |
441 | |
442 | <p> |
443 | Example usage (motorcycle journey, scenic route, not very fast): |
444 | |
445 | <pre class="boxed"> |
446 | router --dir=data --prefix=gb --transport=motorcycle --highway-motorway=0 \ |
447 | --highway-trunk=0 --speed-primary=80 --speed-secondary=80 --quickest |
448 | </pre> |
449 | |
450 | This will use the files 'data/gb-nodes.mem', 'data/gb-segments.mem' and |
451 | 'data/gb-ways.mem' to find the quickest route by motorcycle not using motorways |
452 | or trunk roads and not exceeding 80 km/hr. |
453 | |
454 | |
455 | <h3 id="H_1_1_3">filedumper</h3> |
456 | |
457 | This program is used to extract statistics from the database, extract particular |
458 | information for visualisation purposes or for dumping the database contents. |
459 | |
460 | <pre class="boxed"> |
461 | Usage: filedumper [--version] |
462 | [--help] |
463 | [--dir=<dirname>] [--prefix=<name>] |
464 | [--statistics] |
465 | [--visualiser --latmin=<latmin> --latmax=<latmax> |
466 | --lonmin=<lonmin> --lonmax=<lonmax> |
467 | --data=<data-type>] |
468 | [--dump [--node=<node> ...] |
469 | [--segment=<segment> ...] |
470 | [--way=<way> ...] |
471 | [--turn-relation=<relation> ...] |
472 | [--errorlog=<number> ...]] |
473 | [--dump-osm [--no-super] |
474 | [--latmin=<latmin> --latmax=<latmax> |
475 | --lonmin=<lonmin> --lonmax=<lonmax>]] |
476 | [--dump-visualiser [--data=node<node>] |
477 | [--data=segment<segment>] |
478 | [--data=turn-relation<rel>] |
479 | [--data=errorlog<number>]] |
480 | </pre> |
481 | |
482 | <dl> |
483 | <dt>--version |
484 | <dd>Print the version of Routino. |
485 | <dt>--help |
486 | <dd>Prints out the help information. |
487 | <dt>--dir=<dirname> |
488 | <dd>Sets the directory name in which to read the local database. |
489 | Defaults to the current directory. |
490 | <dt>--prefix=<name> |
491 | <dd>Sets the filename prefix for the files in the local database. |
492 | <dt>--statistics |
493 | <dd>Prints out statistics about the database files. |
494 | <dt>--visualiser |
495 | <dd>Selects a data visualiser mode which will output a set of data according |
496 | to the other parameters below. |
497 | <dl> |
498 | <dt>--latmin=<latmin> --latmax=<latmax> |
499 | <dd>The range of latitudes to print the data for. |
500 | <dt>--lonmin=<lonmin> --lonmax=<lonmax> |
501 | <dd>The range of longitudes to print the data for. |
502 | <dt>--data=<data-type> |
503 | <dd>The type of data to output, <data-type> can be selected from: |
504 | <ul> |
505 | <li>junctions = segment count at each junction. |
506 | <li>super = super-node and super-segments. |
507 | <li>waytype-* = segments of oneway, cyclebothways or roundabout type. |
508 | <li>highway-* = segments of the specified highway type |
509 | (e.g. highway-primary to display segments ofprimary roads). |
510 | <li>transport-* = segments allowing the specified transport type |
511 | (e.g. transport-foot to display segments accessible on foot). |
512 | <li>destination-* = segments allowing the specified transport type to |
513 | destinations only (i.e. first and last waypoint). |
514 | <li>turns = turn restrictions. |
515 | <li>speed = speed limits. |
516 | <li>weight = weight limits. |
517 | <li>height = height limits. |
518 | <li>width = width limits. |
519 | <li>length = length limits. |
520 | <li>property-* = segments having the specified property |
521 | (e.g. property-paved to display segments of paved highway). |
522 | <li>errorlogs = errors logged during parsing. |
523 | </ul> |
524 | </dl> |
525 | <dt>--dump |
526 | <dd>Selects a data dumping mode which allows looking at individual items in |
527 | the databases (specifying 'all' instead of a number dumps all of them). |
528 | More than one of the following parameters can be specified on the command |
529 | line. |
530 | <dl> |
531 | <dt>--node=<node> |
532 | <dd>Prints the information about the selected node number (internal |
533 | number, not the node id number in the original source file). |
534 | <dt>--segment=<segment> |
535 | <dd>Prints the information about the selected segment number. |
536 | <dt>--way=<way> |
537 | <dd>Prints the information about the selected way number (internal |
538 | number, not the way id number in the original source file). |
539 | <dt>--turn-relation=<relation> |
540 | <dd>Prints the information about the selected turn relation number |
541 | (internal number, not the relation id number in the original source |
542 | file). |
543 | <dt>--errorlog=<number> |
544 | <dd>Prints the information about the selected error log that was stored |
545 | when the data was parsed. |
546 | </dl> |
547 | <dt>--osm-dump |
548 | <dd>Dumps the contents of the database as an OSM format XML file, the whole |
549 | database will be dumped unless the latitude and longitude ranges are |
550 | specified. |
551 | <dl> |
552 | <dt>--no-super |
553 | <dd>The super segments will not be output. |
554 | <dt>--latmin=<latmin> --latmax=<latmax> |
555 | <dd>The range of latitudes to dump the data for. |
556 | <dt>--lonmin=<lonmin> --lonmax=<lonmax> |
557 | <dd>The range of longitudes to dump the data for. |
558 | </dl> |
559 | <dt>--dump-visualiser |
560 | <dd>Dumps the contents of the database as HTML formatted items for display in |
561 | the visualiser web page. |
562 | <dl> |
563 | <dt>--data=node<node> |
564 | <dd>Prints the information about the selected node number (internal |
565 | node number, not from the original source file). |
566 | <dt>--data=segment<segment> |
567 | <dd>Prints the information about the selected segment number as if it was |
568 | a way (internal segment number, unrelated to original source file). |
569 | <dt>--data=turn-relation<relation> |
570 | <dd>Prints the information about the selected turn relation number |
571 | (internal turn relation number, not from the original source file). |
572 | <dt>--data=errorlog<number> |
573 | <dd>Prints the information about the selected error log that was stored |
574 | when the data was parsed. |
575 | </dl> |
576 | </dl> |
577 | |
578 | |
579 | <h3 id="H_1_1_4">filedumperx</h3> |
580 | |
581 | This program is a modified version of filedumper that will dump out the contents |
582 | of the intermediate data that is saved by planetsplitter after processing using |
583 | the --keep or --changes option. This is intended for test purposes only and |
584 | gives no useful information about the routing database. |
585 | |
586 | <pre class="boxed"> |
587 | Usage: filedumperx [--version] |
588 | [--help] |
589 | [--dir=<dirname>] [--prefix=<name>] |
590 | [--dump [--nodes] |
591 | [--ways] |
592 | [--route-relations] |
593 | [--turn-relations]] |
594 | </pre> |
595 | |
596 | <dl> |
597 | <dt>--version |
598 | <dd>Print the version of Routino. |
599 | <dt>--help |
600 | <dd>Prints out the help information. |
601 | <dt>--dir=<dirname> |
602 | <dd>Sets the directory name in which to read the local database. |
603 | Defaults to the current directory. |
604 | <dt>--prefix=<name> |
605 | <dd>Sets the filename prefix for the files in the local database. |
606 | <dt>--dump |
607 | <dd>Dumps the complete set of data in the intermediate files that are written |
608 | by planetsplitter using the --keep or --changes options. |
609 | <dl> |
610 | <dt>--nodes |
611 | <dd>Dumps the node data. |
612 | <dt>--ways |
613 | <dd>Dumps the way data. |
614 | <dt>--route-relations |
615 | <dd>Dumps the route relation data. |
616 | <dt>--turn-relations |
617 | <dd>Dumps the turn relation data. |
618 | </dl> |
619 | </dl> |
620 | |
621 | </div> |
622 | |
623 | <!-- Content End --> |
624 | |
625 | <!-- Footer Start --> |
626 | |
627 | <div class="footer"> |
628 | |
629 | <address> |
630 | © Andrew M. Bishop - <a href="http://www.routino.org/">http://www.routino.org/</a> |
631 | </address> |
632 | |
633 | </div> |
634 | |
635 | <!-- Footer End --> |
636 | |
637 | </body> |
638 | |
639 | </html> |