Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Contents of /trunk/doc/USAGE.txt
Parent Directory
|
Revision Log
Revision 1340 -
(show annotations)
(download)
Thu May 23 18:08:47 2013 UTC (11 years, 9 months ago) by amb
File MIME type: text/plain
File size: 27789 byte(s)
Thu May 23 18:08:47 2013 UTC (11 years, 9 months ago) by amb
File MIME type: text/plain
File size: 27789 byte(s)
There are no segments stored after parsing so cannot be dumper by filedumperx.
1 | Routino : Usage |
2 | =============== |
3 | |
4 | |
5 | There are five programs that make up this software. The first one takes |
6 | 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 | second program uses the database to determine an optimum route between |
9 | two points. The third program allows visualisation of the data and |
10 | 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 | |
14 | planetsplitter |
15 | -------------- |
16 | |
17 | 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 | Usage: planetsplitter [--help] |
21 | [--dir=<dirname>] [--prefix=<name>] |
22 | [--sort-ram-size=<size>] [--sort-threads=<number>] |
23 | [--tmpdir=<dirname>] |
24 | [--tagging=<filename>] |
25 | [--loggable] [--logtime] |
26 | [--errorlog[=<name>]] |
27 | [--parse-only | --process-only] |
28 | [--append] [--keep] [--changes] |
29 | [--max-iterations=<number>] |
30 | [--prune-none] |
31 | [--prune-isolated=<len>] |
32 | [--prune-short=<len>] |
33 | [--prune-straight=<len>] |
34 | [<filename.osm> ... | <filename.osc> ... |
35 | | <filename.pbf> ... |
36 | | <filename.o5m> ... | <filename.o5c> ... |
37 | | <filename.(osm|osc|o5m|o5c).bz2> ... |
38 | | <filename.(osm|osc|o5m|o5c).gz> ...] |
39 | |
40 | --help |
41 | Prints out the help information. |
42 | |
43 | --dir=<dirname> |
44 | 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 | --sort-ram-size=<size> |
52 | Specifies the amount of RAM (in MB) to use for sorting the data. |
53 | If not specified then 64 MB will be used in slim mode or 256 MB |
54 | otherwise. |
55 | |
56 | --sort-threads=<number> |
57 | The number of threads to use for data sorting (the sorting |
58 | memory is shared between the threads - too many threads and not |
59 | enough memory will reduce the performance). |
60 | |
61 | --tmpdir=<dirname> |
62 | 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 | --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 | |
74 | --loggable |
75 | Print progress messages that are suitable for logging to a file; |
76 | normally an incrementing counter is printed which is more |
77 | suitable for real-time display than logging. |
78 | |
79 | --logtime |
80 | Print the elapsed time for each processing step. |
81 | |
82 | --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 | applied). If the --append option is used then the existing log |
86 | file will be appended, otherwise a new one will be created. |
87 | |
88 | --parse-only |
89 | 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 | |
94 | --process-only |
95 | Don't read in any files but process the existing intermediate |
96 | files created by using the --parse-only option. |
97 | |
98 | --append |
99 | Parse the input file and append the result to the existing |
100 | intermediate files; the appended file can be either an OSM file |
101 | or an OSC change file. |
102 | |
103 | --keep |
104 | Store a set of intermediate files after parsing the OSM files, |
105 | sorting and removing duplicates; this allows appending an OSC |
106 | file and re-processing later. |
107 | |
108 | --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 | when parsing data files and --keep when processing data. |
113 | |
114 | --max-iterations=<number> |
115 | The maximum number of iterations to use when generating |
116 | super-nodes and super-segments. Defaults to 5 which is normally |
117 | enough. |
118 | |
119 | --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 | |
123 | --prune-isolated=<length> |
124 | 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 | |
129 | --prune-short=<length> |
130 | Remove short segments (defaults to removing segments up to a |
131 | maximum length of 5m). |
132 | |
133 | --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 | <filename.osm>, <filename.osc>, <filename.pbf>, <filename.o5m>, |
138 | <filename.o5c> |
139 | Specifies the filename(s) to read data from. Filenames ending |
140 | '.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 | '.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 | |
146 | Note: In version 1.4 of Routino the --transport, --not-highway and |
147 | --not-property options have been removed. The same functionality can be |
148 | achieved by editing the tagging rules file to not output unwanted data. |
149 | |
150 | 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 | machines). The penalty for this is that the program takes about twice |
157 | as long to run. |
158 | |
159 | 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 | Example usage 1: |
166 | |
167 | planetsplitter --dir=data --prefix=gb great_britain.osm |
168 | |
169 | This will generate the output files 'data/gb-nodes.mem', |
170 | '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 | |
174 | Example usage 2: |
175 | |
176 | 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 | Example usage 3: |
187 | |
188 | planetsplitter --dir=data --prefix=gb --keep great_britain.osm |
189 | |
190 | planetsplitter --dir=data --prefix=gb --changes great_britain.osc |
191 | |
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 | 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 | |
203 | router |
204 | ------ |
205 | |
206 | This program performs the calculation of the optimum routes using the |
207 | database generated by the planetsplitter program. |
208 | |
209 | 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 | |
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 | --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 | |
244 | --help-profile-json |
245 | Prints out all the loaded profiles in JavaScript Object Notation |
246 | (JSON) format for use in the interactive webpage. |
247 | |
248 | --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 | Sets the directory name in which to read the local database. |
254 | Defaults to the current directory. |
255 | |
256 | --prefix=<name> |
257 | Sets the filename prefix for the files in the local database. |
258 | Defaults to no prefix. |
259 | |
260 | --profiles=<filename> |
261 | Sets the filename containing the list of routing profiles in XML |
262 | format. If the file doesn't exist then dirname, prefix and |
263 | "profiles.xml" will be combined and used, if that doesn't exist |
264 | then the file '/usr/local/share/routino/profiles.xml' (or custom |
265 | installation location) will be used. |
266 | |
267 | --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 | 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 | |
275 | --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 | within a segment (quicker but less accurate unless the points |
279 | are already near nodes). |
280 | |
281 | --loggable |
282 | Print progress messages that are suitable for logging to a file; |
283 | normally an incrementing counter is printed which is more |
284 | suitable for real-time display than logging. |
285 | |
286 | --quiet |
287 | Don't generate any screen output while running (useful for |
288 | running in a script). |
289 | |
290 | --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 | --transport=<transport> |
314 | Select the type of transport to use, <transport> can be set to: |
315 | |
316 | + foot = Foot |
317 | + horse = Horse |
318 | + wheelchair = Wheelchair |
319 | + bicycle = Bicycle |
320 | + moped = Moped (Small motorcycle, limited speed) |
321 | + motorcycle = Motorcycle |
322 | + 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 | profile information if the '--profile' option is not given and a |
329 | profile matching the transport name is found. |
330 | |
331 | --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 | --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 | from 0 to 360 degrees. |
350 | |
351 | --highway-<highway>=<preference> |
352 | Selects the percentage preference for using each particular type |
353 | of highway. The value of <highway> can be selected from: |
354 | |
355 | + 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 | + ferry = Ferry |
368 | |
369 | Default value depends on the profile selected by the --transport |
370 | option. |
371 | |
372 | --speed-<highway>=<speed> |
373 | 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 | |
377 | --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 | + footroute = A route marked for foot travel |
386 | + bicycleroute = A route marked for bicycle travel |
387 | |
388 | Default value depends on the profile selected by the --transport |
389 | option. |
390 | |
391 | --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 | --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 | --weight=<weight> |
402 | Specifies the weight of the mode of transport in tonnes; ensures |
403 | that the weight limit on the highway is not exceeded. Default |
404 | value depends on the profile selected by the --transport option. |
405 | |
406 | --height=<height> |
407 | Specifies the height of the mode of transport in metres; ensures |
408 | that the height limit on the highway is not exceeded. Default |
409 | value depends on the profile selected by the --transport option. |
410 | |
411 | --width=<width> |
412 | Specifies the width of the mode of transport in metres; ensures |
413 | that the width limit on the highway is not exceeded. Default |
414 | value depends on the profile selected by the --transport option. |
415 | |
416 | --length=<length> |
417 | Specifies the length of the mode of transport in metres; ensures |
418 | that the length limit on the highway is not exceeded. Default |
419 | value depends on the profile selected by the --transport option. |
420 | |
421 | 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 | 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 | 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 | |
442 | Example usage (motorcycle journey, scenic route, not very fast): |
443 | |
444 | router --dir=data --prefix=gb --transport=motorcycle --highway-motorway=0 \ |
445 | --highway-trunk=0 --speed-primary=80 --speed-secondary=80 --quickest |
446 | |
447 | This will use the files 'data/gb-nodes.mem', 'data/gb-segments.mem' and |
448 | 'data/gb-ways.mem' to find the quickest route by motorcycle not using |
449 | motorways or trunk roads and not exceeding 80 km/hr. |
450 | |
451 | |
452 | filedumper |
453 | ---------- |
454 | |
455 | 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 | 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 | [--errorlog=<number> ...]] |
470 | [--dump-osm [--no-super] |
471 | [--latmin=<latmin> --latmax=<latmax> |
472 | --lonmin=<lonmin> --lonmax=<lonmax>]] |
473 | [--dump--visualiser [--data=node<node>] |
474 | [--data=segment<segment>] |
475 | [--data=turn-relation<rel>] |
476 | [--data=errorlog<number>]] |
477 | |
478 | --help |
479 | Prints out the help information. |
480 | |
481 | --dir=<dirname> |
482 | Sets the directory name in which to read the local database. |
483 | Defaults to the current directory. |
484 | |
485 | --prefix=<name> |
486 | Sets the filename prefix for the files in the local database. |
487 | |
488 | --statistics |
489 | Prints out statistics about the database files. |
490 | |
491 | --visualiser |
492 | Selects a data visualiser mode which will output a set of data |
493 | according to the other parameters below. |
494 | |
495 | --latmin=<latmin> --latmax=<latmax> |
496 | The range of latitudes to print the data for. |
497 | |
498 | --lonmin=<lonmin> --lonmax=<lonmax> |
499 | The range of longitudes to print the data for. |
500 | |
501 | --data=<data-type> |
502 | The type of data to output, <data-type> can be selected |
503 | from: |
504 | |
505 | o junctions = segment count at each junction. |
506 | o super = super-node and super-segments. |
507 | o oneway = oneway segments. |
508 | o highway-* = segments of the specified highway type (e.g. |
509 | highway-primary to display segments ofprimary roads). |
510 | o transport-* = segments allowing the specified transport |
511 | type (e.g. transport-foot to display segments accessible |
512 | on foot). |
513 | o turns = turn restrictions. |
514 | o speed = speed limits. |
515 | o weight = weight limits. |
516 | o height = height limits. |
517 | o width = width limits. |
518 | o length = length limits. |
519 | o property-* = segments having the specified property (e.g. |
520 | property-paved to display segments of paved highway). |
521 | o errorlogs = errors logged during parsing. |
522 | |
523 | --dump |
524 | Selects a data dumping mode which allows looking at individual |
525 | items in the databases (specifying 'all' instead of a number |
526 | dumps all of them). More than one of the following parameters |
527 | can be specified on the command line. |
528 | |
529 | --node=<node> |
530 | Prints the information about the selected node number |
531 | (internal number, not the node id number in the original |
532 | source file). |
533 | |
534 | --segment=<segment> |
535 | Prints the information about the selected segment number. |
536 | |
537 | --way=<way> |
538 | Prints the information about the selected way number |
539 | (internal number, not the way id number in the original |
540 | source file). |
541 | |
542 | --turn-relation=<relation> |
543 | Prints the information about the selected turn relation |
544 | number (internal number, not the relation id number in the |
545 | original source file). |
546 | |
547 | --errorlog=<number> |
548 | Prints the information about the selected error log that |
549 | was stored when the data was parsed. |
550 | |
551 | --osm-dump |
552 | Dumps the contents of the database as an OSM format XML file, |
553 | the whole database will be dumped unless the latitude and |
554 | longitude ranges are specified. |
555 | |
556 | --no-super |
557 | The super segments will not be output. |
558 | |
559 | --latmin=<latmin> --latmax=<latmax> |
560 | The range of latitudes to dump the data for. |
561 | |
562 | --lonmin=<lonmin> --lonmax=<lonmax> |
563 | The range of longitudes to dump the data for. |
564 | |
565 | --dump-visualiser |
566 | Dumps the contents of the database as HTML formatted items for |
567 | display in the visualiser web page. |
568 | |
569 | --data=node<node> |
570 | Prints the information about the selected node number |
571 | (internal node number, not from the original source file). |
572 | |
573 | --data=segment<segment> |
574 | Prints the information about the selected segment number |
575 | as if it was a way (internal segment number, unrelated to |
576 | original source file). |
577 | |
578 | --data=turn-relation<relation> |
579 | Prints the information about the selected turn relation |
580 | number (internal turn relation number, not from the |
581 | original source file). |
582 | |
583 | --data=errorlog<number> |
584 | Prints the information about the selected error log that |
585 | was stored when the data was parsed. |
586 | |
587 | Note: In version 1.5 of Routino a slim option has been added and at |
588 | compilation time a separate program called filedumper-slim is created |
589 | that operates in slim mode. In slim mode the database files are read as |
590 | needed rather than being mapped into memory. |
591 | |
592 | |
593 | filedumperx |
594 | ----------- |
595 | |
596 | This program is a modified version of filedumper that will dump out the |
597 | contents of the intermediate data that is saved by planetsplitter after |
598 | processing using the --keep or --changes option. This is intended |
599 | for test purposes only and gives no useful information about the |
600 | routing database. |
601 | |
602 | Usage: filedumperx [--help] |
603 | [--dir=<dirname>] [--prefix=<name>] |
604 | [--dump [--nodes] |
605 | [--ways] |
606 | [--route-relations] |
607 | [--turn-relations]] |
608 | |
609 | --help |
610 | Prints out the help information. |
611 | |
612 | --dir=<dirname> |
613 | Sets the directory name in which to read the local database. |
614 | Defaults to the current directory. |
615 | |
616 | --prefix=<name> |
617 | Sets the filename prefix for the files in the local database. |
618 | |
619 | --dump |
620 | Dumps the complete set of data in the intermediate files that |
621 | are written by planetsplitter using the --keep or --changes |
622 | options. |
623 | |
624 | --nodes |
625 | Dumps the node data. |
626 | |
627 | --ways |
628 | Dumps the way data. |
629 | |
630 | --route-relations |
631 | Dumps the route relation data. |
632 | |
633 | --turn-relations |
634 | Dumps the turn relation data. |
635 | |
636 | |
637 | tagmodifier |
638 | ----------- |
639 | |
640 | This program is used to run the tag transformation process on an OSM |
641 | XML file for test purposes. |
642 | |
643 | Usage: tagmodifier [--help] |
644 | [--tagging=<filename>] |
645 | [--loggable] [--logtime] |
646 | [--errorlog[<name>]] |
647 | [<filename.osm> | <filename.osm.bz2> | <filename.osm.gz>] |
648 | |
649 | --help |
650 | Prints out the help information. |
651 | |
652 | --tagging=<filename> |
653 | The name of the XML file containing the tagging rules (defaults |
654 | to 'tagging.xml' in the current directory). |
655 | |
656 | --loggable |
657 | Print progress messages that are suitable for logging to a file; |
658 | normally an incrementing counter is printed which is more |
659 | suitable for real-time display than logging. |
660 | |
661 | --logtime |
662 | Print the elapsed time for the processing. |
663 | |
664 | --errorlog[=<name>] |
665 | Log parsing errors to 'error.log' or the specified file name. |
666 | |
667 | <filename.osm> |
668 | Specifies the filename(s) to read data from. Filenames ending |
669 | '.bz2' will be bzip2 uncompressed (if bzip2 support compiled |
670 | in). Filenames ending '.gz' will be gzip uncompressed (if gzip |
671 | support compiled in). |
672 | |
673 | |
674 | -------- |
675 | |
676 | Copyright 2008-2013 Andrew M. Bishop. |
Properties
Name | Value |
---|---|
cvs:description | Description of program usage. |