Routino SVN Repository Browser

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

ViewVC logotype

Annotation of /trunk/doc/html/usage.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1458 - (hide annotations) (download) (as text)
Mon Jul 8 17:24:36 2013 UTC (11 years, 8 months ago) by amb
File MIME type: text/html
File size: 26737 byte(s)
Fix typo in documentation string.

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