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