Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Contents of /trunk/doc/html/usage.html
Parent Directory
|
Revision Log
Revision 1151 -
(show annotations)
(download)
(as text)
Sun Nov 18 17:24:50 2012 UTC (12 years, 3 months ago) by amb
File MIME type: text/html
File size: 26702 byte(s)
Sun Nov 18 17:24:50 2012 UTC (12 years, 3 months ago) by amb
File MIME type: text/html
File size: 26702 byte(s)
Using --parse-only and --preserve must sort the data so that it is ready to apply the 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=<dirname>] [--prefix=<name>] |
66 | [--sort-ram-size=<size>] [--sort-threads=<number>] |
67 | [--tmpdir=<dirname>] |
68 | [--tagging=<filename>] |
69 | [--loggable] [--logtime] |
70 | [--errorlog[=<name>]] |
71 | [--parse-only | --process-only] |
72 | [--append] [--preserve] [--changes] |
73 | [--max-iterations=<number>] |
74 | [--prune-none] |
75 | [--prune-isolated=<len>] |
76 | [--prune-short=<len>] |
77 | [--prune-straight=<len>] |
78 | [<filename.osm> ...] |
79 | </pre> |
80 | |
81 | <dl> |
82 | <dt>--help |
83 | <dd>Prints out the help information. |
84 | <dt>--dir=<dirname> |
85 | <dd>Sets the directory name in which to save the results. |
86 | Defaults to the current directory. |
87 | <dt>--prefix=<name> |
88 | <dd>Sets the filename prefix for the files that are created. |
89 | Defaults to no prefix. |
90 | <dt>--sort-ram-size=<size> |
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=<number> |
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=<dirname> |
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=<filename> |
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[=<name>] |
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 option must be used before the first OSC changes |
131 | file is applied even if the --parse-only option was used to read the data. |
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. Changes can only be applied if the |
137 | previous run to create the intermediate files used the --preserve option. |
138 | <dt>--max-iterations=<number> |
139 | <dd>The maximum number of iterations to use when generating super-nodes and |
140 | super-segments. Defaults to 5 which is normally enough. |
141 | <dt>--prune-none |
142 | <dd>Disable the prune options below, they can be re-enabled by adding them to |
143 | the command line after this option. |
144 | <dt>--prune-isolated=<length> |
145 | <dd>Remove the access permissions for a transport type from small disconnected |
146 | groups of segments and remove the segments if they nd up with no access |
147 | permission (defaults to removing groups under 500m). |
148 | <dt>--prune-short=<length> |
149 | <dd>Remove short segments (defaults to removing segments up to a maximum |
150 | length of 5m). |
151 | <dt>--prune-straight=<length> |
152 | <dd>Remove nodes in almost straight highways (defaults to removing nodes up to |
153 | 3m offset from a straight line). |
154 | <dt><filename.osm> ... |
155 | <dd>Specifies the filename(s) to read data from, by default data is read from |
156 | the standard input. |
157 | </dl> |
158 | |
159 | <p> |
160 | <i>Note: In version 1.4 of Routino the --transport, --not-highway and |
161 | --not-property options have been removed. The same functionality can be |
162 | achieved by editing the tagging rules file to not output unwanted data.</i> |
163 | |
164 | <p> |
165 | <i>Note: In version 1.5 of Routino the --slim option has been removed but at |
166 | compilation time a separate program called <em>planetsplitter-slim</em> is |
167 | created that operates in slim mode. In slim mode the temporary files and |
168 | database files are read as needed rather than being mapped into memory. This |
169 | allows a database size greater than 2 GB on 32-bit machines or usage with little |
170 | or no virtual memory (e.g. some virtual machines). The penalty for this is that |
171 | the program takes about twice as long to run.</i> |
172 | |
173 | <p> |
174 | Example usage 1: |
175 | |
176 | <pre class="boxed"> |
177 | planetsplitter --dir=data --prefix=gb great_britain.osm |
178 | </pre> |
179 | |
180 | This will generate the output files 'data/gb-nodes.mem', 'data/gb-segments.mem' |
181 | and 'data/gb-ways.mem'. Multiple filenames can be specified on the command |
182 | line and they will all be read in, combined and processed together. |
183 | |
184 | <p> |
185 | Example usage 2: |
186 | |
187 | <pre class="boxed"> |
188 | planetsplitter --dir=data --prefix=gb --parse-only great_britain_part1.osm |
189 | planetsplitter --dir=data --prefix=gb --parse-only --append great_britain_part2.osm |
190 | planetsplitter --dir=data --prefix=gb --parse-only --append ... |
191 | planetsplitter --dir=data --prefix=gb --process-only |
192 | </pre> |
193 | |
194 | This will generate the same output files as the first example but parsing the |
195 | input files is performed separately from the data processing. The first file |
196 | read in must not use the --append option but the later ones must. |
197 | |
198 | <p> |
199 | Example usage 3: |
200 | |
201 | <pre class="boxed"> |
202 | planetsplitter --dir=data --prefix=gb --preserve great_britain_part.osm |
203 | |
204 | planetsplitter --dir=data --prefix=gb --changes great_britain.osc |
205 | </pre> |
206 | |
207 | This will generate the same output files as the first example. The first |
208 | command will process the complete file and keep some intermediate data for |
209 | later. The second command will apply a set of changes to the stored |
210 | intermediate data and keep the updated intermediate files for repeating this |
211 | step later with more change data. |
212 | <p> |
213 | The parsing and processing can be split into multiple commands as it was in |
214 | example 2. The --process-only option can be used for the initial OSM file(s) |
215 | but --preserve is required with the final OSM file to ensure that the data is |
216 | sorted before applying the changes. The --changes option can be used with |
217 | --parse-only and then --process-only and --preserve for the OSC file. |
218 | |
219 | |
220 | <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=<dirname>] [--prefix=<name>] |
229 | [--profiles=<filename>] [--translations=<filename>] |
230 | [--exact-nodes-only] |
231 | [--loggable | --quiet] |
232 | [--output-html] |
233 | [--output-gpx-track] [--output-gpx-route] |
234 | [--output-text] [--output-text-all] |
235 | [--output-none] |
236 | [--profile=<name>] |
237 | [--transport=<transport>] |
238 | [--shortest | --quickest] |
239 | --lon1=<longitude> --lat1=<latitude> |
240 | --lon2=<longitude> --lon2=<latitude> |
241 | [ ... --lon99=<longitude> --lon99=<latitude>] |
242 | [--heading=<bearing>] |
243 | [--highway-<highway>=<preference> ...] |
244 | [--speed-<highway>=<speed> ...] |
245 | [--property-<property>=<preference> ...] |
246 | [--oneway=(0|1)] [--turns=(0|1)] |
247 | [--weight=<weight>] |
248 | [--height=<height>] [--width=<width>] [--length=<length>] |
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=<dirname> |
267 | <dd>Sets the directory name in which to read the local database. |
268 | Defaults to the current directory. |
269 | <dt>--prefix=<name> |
270 | <dd>Sets the filename prefix for the files in the local database. |
271 | Defaults to no prefix. |
272 | <dt>--profiles=<filename> |
273 | <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 | <dt>--translations=<filename> |
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 | "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 | <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 | <dt>--loggable |
289 | <dd>Print progress messages that are suitable for logging to a file; normally |
290 | an incrementing counter is printed which is more suitable for real-time |
291 | display than logging. |
292 | <dt>--quiet |
293 | <dd>Don't generate any screen output while running (useful for running in a script). |
294 | <dt>--language=<lang> |
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=<name> |
311 | <dd>Specifies the name of the profile to use. |
312 | <dt>--transport=<transport> |
313 | <dd>Select the type of transport to use, <transport> can be set to: |
314 | <ul> |
315 | <li>foot = Foot |
316 | <li>horse = Horse |
317 | <li>wheelchair = Wheelchair |
318 | <li>bicycle = Bicycle |
319 | <li>moped = Moped (Small motorbike, limited speed) |
320 | <li>motorbike = Motorbike |
321 | <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=<longitude>, --lat1=<latitude> |
334 | <dt>--lon2=<longitude>, --lat2=<latitude> |
335 | <dt>... --lon99=<longitude>, --lat99=<latitude> |
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 | <dt>--heading=<bearing> |
342 | <dd>Specifies the initial direction of travel at the start of the route (from |
343 | the lowest numbered waypoint) as a compass bearing from 0 to 360 degrees. |
344 | <dt>--highway-<highway>=<preference> |
345 | <dd>Selects the percentage preference for using each particular type of |
346 | highway. The value of <highway> 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 | <li>ferry = Ferry |
361 | </ul> |
362 | Default value depends on the profile selected by the --transport option. |
363 | <dt>--speed-<highway>=<speed> |
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-<property>=<preference> |
367 | <dd>Selects the percentage preference for using each particular highway |
368 | property |
369 | The value of <property> can be selected from: |
370 | <ul> |
371 | <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 | </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 | <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 | <dt>--weight=<weight> |
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=<height> |
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=<width> |
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=<length> |
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 | <i>Note: In version 1.5 of Routino a slim option has been added and at |
407 | compilation time a separate program called <em>router-slim</em> is created that |
408 | operates in slim mode. In slim mode the database files are read as needed |
409 | rather than being mapped into memory.</i> |
410 | |
411 | <p> |
412 | The meaning of the <preference> parameter in the command line options is |
413 | slightly different for the highway preferences and the property preferences. |
414 | For the highway preference consider the choice between two possible highways |
415 | between the start and finish when looking for the shortest route. If highway A |
416 | has a preference of 100% and highway B has a preference of 90% then highway A |
417 | will be chosen even if it is up to 11% longer (100/90 = 111%). For the highway |
418 | properties each highway either has a particular property or not. If the |
419 | preference for the property is 60% then a highway with the property has a |
420 | preference of 77% (sqrt(60%)) and one without has a preference of 63% |
421 | (sqrt(100-60%)). A highway with the property will be chosen even if it is up to |
422 | 22% longer than one without the property (77/63 = 122%). The overall preference |
423 | for each highway segment is the product of the preference for the highway type |
424 | and all of the preferences for the highway properties. |
425 | |
426 | <p> |
427 | Example usage (motorbike journey, scenic route, not very fast): |
428 | |
429 | <pre class="boxed"> |
430 | router --dir=data --prefix=gb --transport=motorbike --highway-motorway=0 \ |
431 | --highway-trunk=0 --speed-primary=80 --speed-secondary=80 --quickest |
432 | </pre> |
433 | |
434 | This will use the files 'data/gb-nodes.mem', 'data/gb-segments.mem' and |
435 | 'data/gb-ways.mem' to find the quickest route by motorbike not using motorways |
436 | or trunk roads and not exceeding 80 km/hr. |
437 | |
438 | |
439 | <h3><a name="H_1_1_3"></a>filedumper</h3> |
440 | |
441 | This program is used to extract statistics from the database, extract particular |
442 | information for visualisation purposes or for dumping the database contents. |
443 | |
444 | <pre class="boxed"> |
445 | Usage: filedumper [--help] |
446 | [--dir=<dirname>] [--prefix=<name>] |
447 | [--statistics] |
448 | [--visualiser --latmin=<latmin> --latmax=<latmax> |
449 | --lonmin=<lonmin> --lonmax=<lonmax> |
450 | --data=<data-type>] |
451 | [--dump [--node=<node> ...] |
452 | [--segment=<segment> ...] |
453 | [--way=<way> ...] |
454 | [--turn-relation=<relation> ...]] |
455 | [--dump-osm [--no-super] |
456 | [--latmin=<latmin> --latmax=<latmax> |
457 | --lonmin=<lonmin> --lonmax=<lonmax>]] |
458 | </pre> |
459 | |
460 | <dl> |
461 | <dt>--help |
462 | <dd>Prints out the help information. |
463 | <dt>--dir=<dirname> |
464 | <dd>Sets the directory name in which to read the local database. |
465 | Defaults to the current directory. |
466 | <dt>--prefix=<name> |
467 | <dd>Sets the filename prefix for the files in the local database. |
468 | <dt>--statistics |
469 | <dd>Prints out statistics about the database files. |
470 | <dt>--visualiser |
471 | <dd>Selects a data visualiser mode which will output a set of data according |
472 | to the other parameters below. |
473 | <dl> |
474 | <dt>--latmin=<latmin> --latmax=<latmax> |
475 | <dd>The range of latitudes to print the data for. |
476 | <dt>--lonmin=<lonmin> --lonmax=<lonmax> |
477 | <dd>The range of longitudes to print the data for. |
478 | <dt>--data=<data-type> |
479 | <dd>The type of data to output, <data-type> can be selected from: |
480 | <ul> |
481 | <li>junctions = segment count at each junction. |
482 | <li>super = super-node and super-segments. |
483 | <li>oneway = oneway segments. |
484 | <li>highway-* = segments of the specified highway type |
485 | (e.g. highway-primary to display segments ofprimary roads). |
486 | <li>transport-* = segments allowing the specified transport type |
487 | (e.g. transport-foot to display segments accessible on foot). |
488 | <li>turns = turn restrictions. |
489 | <li>speed = speed limits. |
490 | <li>weight = weight limits. |
491 | <li>height = height limits. |
492 | <li>width = width limits. |
493 | <li>length = length limits. |
494 | </ul> |
495 | </dl> |
496 | <dt>--dump |
497 | <dd>Selects a data dumping mode which allows looking at individual items in |
498 | the databases (specifying 'all' instead of a number dumps all of them). |
499 | More than one of the following parameters can be specified on the command |
500 | line. |
501 | <dl> |
502 | <dt>--node=<node> |
503 | <dd>Prints the information about the selected node number (internal |
504 | number, not the node id number in the original source file). |
505 | <dt>--segment=<segment> |
506 | <dd>Prints the information about the selected segment number. |
507 | <dt>--way=<way> |
508 | <dd>Prints the information about the selected way number (internal |
509 | number, not the way id number in the original source file). |
510 | <dt>--turn-relation=<relation> |
511 | <dd>Prints the information about the selected turn relation number |
512 | (internal number, not the relation id number in the original source |
513 | file). |
514 | </dl> |
515 | <dt>--osm-dump |
516 | <dd>Dumps the contents of the database as an OSM format XML file, the whole |
517 | database will be dumped unless the latitude and longitude ranges are |
518 | specified. |
519 | <dl> |
520 | <dt>--no-super |
521 | <dd>The super segments will not be output. |
522 | <dt>--latmin=<latmin> --latmax=<latmax> |
523 | <dd>The range of latitudes to dump the data for. |
524 | <dt>--lonmin=<lonmin> --lonmax=<lonmax> |
525 | <dd>The range of longitudes to dump the data for. |
526 | </dl> |
527 | </dl> |
528 | |
529 | <p> |
530 | <i>Note: In version 1.5 of Routino a slim option has been added and at |
531 | compilation time a separate program called <em>filedumper-slim</em> is created |
532 | that operates in slim mode. In slim mode the database files are read as needed |
533 | rather than being mapped into memory.</i> |
534 | |
535 | |
536 | <h3><a name="H_1_1_4"></a>filedumperx</h3> |
537 | |
538 | This program is a modified version of filedumper that will dump out the contents |
539 | of the intermediate data that is saved by planetsplitter after processing using |
540 | the --preserve or --changes option. This is intended for test purposes only and |
541 | gives no useful information about the routing database. |
542 | |
543 | <pre class="boxed"> |
544 | Usage: filedumper [--help] |
545 | [--dir=<dirname>] [--prefix=<name>] |
546 | [--dump [--nodes] |
547 | [--segments] |
548 | [--ways] |
549 | [--route-relations] |
550 | [--turn-relations]] |
551 | </pre> |
552 | |
553 | <dl> |
554 | <dt>--help |
555 | <dd>Prints out the help information. |
556 | <dt>--dir=<dirname> |
557 | <dd>Sets the directory name in which to read the local database. |
558 | Defaults to the current directory. |
559 | <dt>--prefix=<name> |
560 | <dd>Sets the filename prefix for the files in the local database. |
561 | <dt>--dump |
562 | <dd>Dumps the complete set of data in the intermediate files that are written |
563 | by planetsplitter using the --preserve or --changes options. |
564 | <dl> |
565 | <dt>--nodes |
566 | <dd>Dumps the node data. |
567 | <dt>--segments |
568 | <dd>Dumps the segment data. |
569 | <dt>--ways |
570 | <dd>Dumps the way data. |
571 | <dt>--route-relations |
572 | <dd>Dumps the route relation data. |
573 | <dt>--turn-relations |
574 | <dd>Dumps the turn relation data. |
575 | </dl> |
576 | </dl> |
577 | |
578 | |
579 | <h3><a name="H_1_1_5"></a>tagmodifier</h3> |
580 | |
581 | This program is used to run the tag transformation process on an OSM XML file |
582 | for test purposes. |
583 | |
584 | <pre class="boxed"> |
585 | Usage: tagmodifier [--help] |
586 | [--loggable] |
587 | [--tagging=<filename>] |
588 | [<filename.osm>] |
589 | </pre> |
590 | |
591 | <dl> |
592 | <dt>--help |
593 | <dd>Prints out the help information. |
594 | <dt>--loggable |
595 | <dd>Print progress messages that are suitable for logging to a file; normally |
596 | an incrementing counter is printed which is more suitable for real-time |
597 | display than logging. |
598 | <dt>--tagging=<filename> |
599 | <dd>The name of the XML file containing the tagging rules (defaults to |
600 | 'tagging.xml' in the current directory). |
601 | <dt><filename.osm> ... |
602 | <dd>Specifies the filename to read data from, by default data is read from |
603 | the standard input. |
604 | </dl> |
605 | |
606 | </div> |
607 | |
608 | <!-- Content End --> |
609 | |
610 | <!-- Footer Start --> |
611 | |
612 | <div class="footer" align="center"> |
613 | <hr> |
614 | |
615 | <address> |
616 | © Andrew M. Bishop = <amb "at" gedanken.demon.co.uk> |
617 | </address> |
618 | |
619 | </div> |
620 | |
621 | <!-- Footer End --> |
622 | |
623 | </BODY> |
624 | |
625 | </HTML> |