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