Routino SVN Repository Browser

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

ViewVC logotype

Annotation of /branches/destination-access/doc/html/usage.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1243 - (hide annotations) (download) (as text)
Sun Jan 20 14:17:14 2013 UTC (12 years, 1 month ago) by amb
Original Path: trunk/doc/html/usage.html
File MIME type: text/html
File size: 27690 byte(s)
Replace 'motorbike' with 'motorcycle' everywhere.

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