Routino SVN Repository Browser

Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino

ViewVC logotype

Contents of /trunk/doc/html/usage.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1149 - (show annotations) (download) (as text)
Sat Nov 17 18:55:11 2012 UTC (12 years, 4 months ago) by amb
File MIME type: text/html
File size: 26392 byte(s)
Add a new program to dump the contents of the intermediate files that are
generated by using --preserve or --changes.

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