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