Debian Codegraph @

doc/options.txt

raw
1 === Command line ===
2
3 The command line is of the format:
4
5 : java.exe [java-options] -jar mkgmap.jar [mkgmap-options]
6
7 === Java options ===
8
9 Details of the Java options are available at docs.oracle.com.
10 The most likely options you may need to use are:
11
12 ;-Xmx<size>[g|G|m|M|k|K]
13 : Use this option to set the maximum Java heap size in GB, MB, KB or
14 bytes. Mkgmap allows the use of multiple CPU cores, and the amount of
15 heap memory required increases proportionally with the number of CPU
16 cores being used. The default value may not be sufficient to allow
17 mkgmap to use all the available CPU cores, which will cause the run time
18 to be longer than necessary or can cause mkgmap to crash if it runs out
19 of memory. To allow mkgmap to run optimally, you may
20 need to use this option to allow more memory to be allocated to the Java
21 heap. Note there is no space or equals sign in the option.
22
23 ;-enableassertions
24 ;-ea
25 : Causes an error to be thrown if an assertion written in the mkgmap
26 code is evaluated as not true. This is useful in detecting bugs in the
27 mkgmap code.
28
29 ;-Dlog.config=filename
30 : Specifies a logging configuration file that allows you to enable and
31 disable specific logging messages. This is useful if you want to see
32 certain types of message that are not logged by default or choose where
33 the messages should be written.
34
35 === Mkgmap options ===
36
37 The order of the options is significant in that options only apply
38 to subsequent input files. If you are using splitter, you probably
39 will need to put most of your options before '-c template.args'
40 (this file is generated by splitter).
41
42 === Information options ===
43
44 These options provide information and do not require any input files.
45
46 ;--help[=help|options|links|copyright|logging]
47 : Display help on the given topic. If the topic is omitted then
48 general help information is displayed, the same as in help=help.
49
50 ;--version
51 : Write program version to stderr.
52
53 === File options ===
54
55 ;filename
56 ;--input-file=filename
57 : Read input data from the given file. This option (or just a
58 filename) may be specified more than once. Make sure you set all
59 wanted options before this.
60
61 ;--gmapsupp
62 : Create a gmapsupp.img file that can be uploaded to a Garmin or
63 placed in the /Garmin folder of a microSD card (such as by mounting the
64 device in USB mass storage mode). It can be used on already
65 compiled img files, or if the input files are not already compiled
66 then they are compiled first and then the gmapsupp is created.
67
68 ;--gmapi
69 : Create a directory in the "gmapi" format required by Mac applications.
70 It can also be used for Windows programs; copy the complete directory tree
71 into {user}\AppData\Roaming\Garmin\Maps or \ProgramData\Garmin\Maps
72 and the map will be available to Garmin PC programs.
73 The directory name is --family-name with extension .gmap.
74
75 ;--gmapi-minimal[=<include-pattern>]
76 : Special option for map providers to reduce disk writes when updating. Works like
77 --gmapi but does not write Product data for input files which are provided
78 as *.img. It is assumed that the content of those files wasn't changed and thus
79 doesn't need a rewrite. The optional include-pattern is a regular expression
80 which can be used to specify *.img files for which a write should be forced. The
81 pattern is used on the full path to the input file. The global index files and
82 the *.tdb file will still contain all needed references.
83 : Example usage with pattern:
84 :: --gmapi-minimal=.*4711[0-9]{4}\.img
85 :: This pattern matches file names between 47110000.img and 47119999.img
86 :: and ignores the path.
87
88 ;-c filename
89 ;--read-config=filename
90 : Each line of the named file contains a command option in the form
91 option=value or option:value. The options are included as arguments of
92 the executed command as if they had been specified on the command line with one
93 exception: a relative path given with option input-file is assumed to be relative
94 to the location of the file.
95 <p>
96 Lines beginning with a # character are ignored and can be used as
97 comments. Any command line option can be specified, however the
98 leading '--' must be omitted.
99 The short option names with a single '-' cannot be used, simply use the long name instead.
100
101 ;--output-dir=directory
102 : Specify the directory in which all output files are written. It defaults
103 to the current working directory, i.e. the directory the command is
104 executed from.
105
106 ;-n name
107 ;--mapname=name
108 : Set the name of the map. Garmin maps are identified by an 8 digit
109 number. The default is 63240001. It is best to use a different
110 name if you are going to be making a map for others to use so
111 that it is unique and does not clash with others.
112
113 ;--description=text
114 : Set the descriptive text for individual tiles and gmapsupp.img.
115 Map tiles take the most recent --description before the --input-file
116 option that defines the tile. Because gmapsupp.img is created after all
117 the other tiles have been processed, gmapsupp.img takes the last --description
118 found in the command line, regardless of where the --gmapsupp option is placed
119 in the command line.
120 <p>
121 Note that if you use splitter with its --geonames-file option or its own --description
122 option, the generated template.args file includes --description values that will apply
123 to individual tiles. In this case it is not possible to override splitter's
124 description for individual tiles from the mkgmap command line.
125 Placing the mkgmap --description option after -c template.args ensures that the
126 value is applied to gmapsupp.img.
127 <p>
128 Different GPS devices and PC programs handle descriptions
129 inconsistently. Some display the description when selecting maps or tiles,
130 others use the family name.
131
132 ;--country-name=name
133 : Set the map's country name. The default is "COUNTRY".
134
135 ;--country-abbr=abbreviation
136 : Set the map's abbreviated country name. The default is "ABC".
137
138 ;--region-name=name
139 : Set the map's region name. By default, the map has no region name.
140
141 ;--region-abbr=abbreviation
142 : Set the map's abbreviated region name. By default, the map has
143 no abbreviated region name.
144
145 === Label options ===
146
147 ;--code-page=number
148 : Specify which international character set is to be used. Only 8 bit
149 character sets are supported so you have to specify which code page you
150 want to use.
151 It is entirely dependent on the device firmware which code pages are
152 supported.
153
154 ;--latin1
155 : This is equivalent to --code-page=1252.
156
157 ;--unicode
158 : This is equivalent to --code-page=65001. Note that some devices don't support
159 Unicode maps produced by mkgmap.
160
161 ;--lower-case
162 : Allow labels to contain lower case letters. Note that many
163 Garmin devices are not able to display lower case letters at an angle.
164
165 === Address search options ===
166
167 ;--index
168 : Generate an address index to allow searches by address.
169 The default is to not create an address index.
170
171 : The address fields are assigned by special mkgmap address
172 tags using the style file:
173 <pre>
174 mkgmap:country
175 mkgmap:region
176 mkgmap:city
177 mkgmap:postal_code
178 mkgmap:street
179 mkgmap:housenumber
180 mkgmap:phone
181 (mkgmap:is_in - used by --location-autofill=is_in)
182 </pre>
183 : If the index is created from previously compiled .img files, then the
184 same code page and sorting options (e.g. --code-page, --latin1) must
185 be used as were used to compile the individual map tiles.
186
187 ;--split-name-index
188 : Index each part of a street name separately.
189 For example, if the street is "Aleksandra Gryglewskiego" then you will be able to
190 search for it as both "Aleksandra" and "Gryglewskiego". It will also increase the
191 size of the index. Useful in countries where searching for the first word in name
192 is not the right thing to do. Words following an opening bracket '(' are ignored.
193 : See also option --road-name-config.
194
195 ;--road-name-config=filename
196 : Provide the name of a file containing commonly used road name prefixes
197 and suffixes.
198 This option handles the problem that some countries have road names which
199 often start or end with very similar words, e.g. in France the first word
200 is very often 'Rue', often followed by a preposition like 'de la' or 'des'.
201 This leads to rather long road names like 'Rue de la Concorde' where only
202 the word 'Concorde' is really interesting. In the USA, you often have names
203 like 'West Main Street' where only the word 'Main' is important.
204 Garmin software has some tricks to handle this problem. It allows the use
205 of special characters in the road labels to mark the beginning and end of
206 the important part. In combination with option --split-name-index
207 only the words in the important part are indexed.
208
209 :There are two main effects of this option:
210 :: - On the PC, when zooming out, the name 'Rue de la Concorde' is only
211 rendered as 'Concorde'.
212 :: - The index for road names only contains the important part of the name.
213 You can search for road name 'Conc' to find road names like 'Rue de la Concorde'.
214 However, a search for 'Rue' will not list 'Rue de la Concorde' or 'Rue du Moulin'.
215 It may list 'Rueben Brookins Road' if that is in the map.
216
217 :: Another effect is that the index is smaller.
218 : See comments in the example roadNameConfig.txt for further details.
219
220 ;--mdr7-excl=name[,name...]
221 : Specify words which should be omitted from the road index.
222 It was developed before option --road-name-config and is probably no longer needed.
223 Matching is case insensitive.
224 : Example usage: --mdr7-excl="Road, Street, Weg"
225
226 ;--mdr7-del=name[,name...]
227 : Use this option if your style adds strings to the labels of roads which you
228 want to see in the map but which should not appear in the result list
229 of a road name / address search.
230 When creating the index, words in the given list are removed from the end of road labels.
231 Any word not found in the given list is considerered to be a valid label; words
232 before the last valid label are not removed.
233 If the label consists of a single word in the given list, or all the words in the
234 label are contained in the given list, then the label is omitted from the index.
235 The comparison is case insensitive and words are separated by a space.
236 : Example: Assume your style adds surface attributes like 'pav.' or 'unp.' to a road
237 label. You can use --mdr7-del="pav.,unp." to remove these suffixes from the index.
238
239 ;--poi-excl-index=poi[-poi][,poi[-poi]...]
240 : By default, mkgmap indexes the following POI types with a non-empty label:
241 :: - 0x00 .. 0x0f (cities, sub type 0, type <= 0xf)
242 :: - 0x2axx..0x30xx (Food & Drink, Lodging, ...)
243 :: - 0x28xx (no category ?)
244 :: - 0x64xx .. 0x66xx (attractions)
245 : This option allows the exclusion of POI types from the index.
246 The excluded types are not indexed, but may still be searchable on a device,
247 as some devices seem to ignore most of the index, e.g. an Oregon 600 with
248 firmware 5.00 only seems to use it for city search.
249 If your device finds a POI name like 'Planet' when you search for 'Net',
250 it doesn't use the index because the index created by mkgmap cannot help for
251 that search.
252
253 : So, this option may help when you care about the size of the index or the
254 memory that is needed to calculate it.
255 The option expects a comma separated list of types or type ranges. A range is
256 given with from-type-to-type, e.g. 0x6400-0x6405. First and last type are both
257 excluded. A range can span multiple types, e.g. 0x6400-0x661f.
258 : Examples for usage:
259 :: - Assume your style adds a POI with type 0x2800 for each addr:housenumber.
260 It is not useful to index those numbers, so you can use --poi-excl-index=0x2800
261 to exclude this.
262 :: - For the aforementioned Oregon you may use --poi-excl-index=0x2a00-0x661f
263 to reduce the index size.
264
265 ;--bounds=directory|zipfile
266 : Specify a directory or zip file containing the pre-processed bounds files.
267 Bounds files in a zip file must be located in the zip file's root directory.
268 <p>
269 The pre-processed boundaries are used to add special tags to all elements
270 (points, lines and polygons) containing the elements location information.
271 The style file can be used to assign the address tags mkgmap:country,
272 mkgmap:region etc. using these values.
273 <p>
274 The following special tags are added:
275 <pre>
276 mkgmap:admin_level2 : Name of the admin_level=2 boundary
277 mkgmap:admin_level3 : Name of the admin_level=3 boundary
278 ..
279 mkgmap:admin_level11
280 mkgmap:postcode : the postal_code value
281 </pre>
282 Pre-processed bounds can be created with the following command:
283 <pre>
284 java -cp mkgmap.jar
285 uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreprocessor
286 <inputfile> <boundsdir>
287 </pre>
288 :The input file must contain the boundaries that should be pre-processed.
289 It can have OSM, PBF or O5M file format. It is recommended that it
290 contains the boundary data only to avoid very high memory usage.
291 The boundsdir gives the directory where the processed files are stored.
292 This directory can be used as --bounds parameter with mkgmap.
293
294 ;--location-autofill=[option1,[option2]]
295 : Controls how the address fields for country, region, city and zip info
296 are gathered automatically if the fields are not set by using the special
297 mkgmap address tags (e.g. mkgmap:city - see option --index).
298 Warning: automatic assignment of address fields is somehow a best guess.
299 :;is_in
300 :: The is_in tag is analysed for country and region information.
301 :;nearest
302 :: The city/hamlet points that are closest to the element are used
303 to assign the missing address fields. Beware that cities located
304 in the same tile are used only. So the results close to a tile
305 border have less quality.
306
307 ;--housenumbers
308 : Enables house number search for OSM input files.
309 All nodes and polygons having addr:housenumber set are matched
310 to streets. A match between a house number element and a street is created if
311 the street is located within a radius of 150m and the addr:street tag value of
312 the house number element equals the mgkmap:street tag value of the street.
313 The mkgmap:street tag must be added to the street in the style file.
314 For optimal results, the tags mkgmap:city and mkgmap:postal_code should be
315 set for the housenumber element. If a street connects two or more cities
316 this allows all addresses along the road to be found, even when they have the
317 same number.
318 : Example for given street name:
319 :: Node - addr:street=Main Street addr:housenumber=2
320 :: Way 1 - name=Main Street
321 :: Way 2 - name=Main Street, mkgmap:street=Main Street
322 :: Way 3 - mkgmap:street=Mainstreet
323 :: Way 4 - name=Main Street [A504]
324 : The node matches to Way 2. It has mkgmap:street set with a value equal to
325 the addr:street tag value of the house number node.
326 <p>
327 If the street is not given with addr:housenumber, mkgmap uses heuristics
328 to find the best match.
329 <p>
330 Tells mkgmap to write NET data. If you specify this option, you do not need to
331 specify --net and option -no-net is ignored.
332
333 === Overview map options ===
334
335 ;--overview-mapname=name
336 : If --tdbfile is enabled, this gives the name of the overview
337 .img and .tdb files. The default map name is osmmap.
338
339 ;--overview-mapnumber=8 digit number
340 : If --tdbfile is enabled, this gives the internal 8 digit
341 number used in the overview map and tdb file. The default
342 number is 63240000.
343
344 ;--overview-levels=level:resolution[,level:resolution...]
345 : Like levels, specifies additional levels that are to be written to the
346 overview map. Counting of the levels should continue. Up to 8 additional
347 levels may be specified.
348 The hard coded default is empty.
349 : See also option --overview-dem-dist.
350
351 ;--remove-ovm-work-files
352 : If --overview-levels is used, mkgmap creates one additional file
353 with the prefix ovm_ for each map (*.img) file.
354 These files are used to create the overview map.
355 With option --remove-ovm-work-files=true the files are removed
356 after the overview map is created. The default is to keep the files.
357
358 === Style options ===
359
360 ;--style-file=directory|zip-filename|url
361 : Specify the path to a directory, zip file or url containing style information.
362 A style is composed of a group of files and typically contains the following files:
363 version, info, options, points, lines, polygons, relations - see the style manual
364 for further details.
365 <p>
366 The style files can be in the specified directory or contained in a sub-directory.
367 If styles are contained in sub-directories then the required style must be specified
368 with the --style option.
369
370 ;--style=name
371 : Specify a style name. Must be used if --style-file points to a
372 location containing multiple styles. If used without also
373 specifying --style-file, it selects one of the built-in styles.
374
375 ;--style-option=tag[=value][;tag[=value]...]
376 : Provide a semicolon separated list of tags which can be used in the style.
377 The intended use is to make a single style more flexible, e.g.
378 you may want to use a slightly different set of rules for a map of
379 a whole continent. The tags given will be prefixed with "mkgmap:option:".
380 If no value is provided the default "true" is used.
381 : Example: --style-option=light;routing=car
382 : will add the tags mkgmap:option:light=true and mkgmap:option:routing=car
383 to each element before style processing happens.
384 This can then be used in rules like:
385 : landuse=farmland & mkgmap:option:light=true {delete landuse}
386
387 ;--list-styles
388 : List the available styles. If this option is preceded by a --style-file
389 option then it lists the styles available within that file or folder.
390
391 ;--check-styles
392 : Perform some checks on the available styles. If this option is
393 preceded by a --style-file option then it checks the styles
394 available within that file. If it is also preceded by the --style
395 option it will only check that style.
396
397 ;--levels=level:resolution[,level:resolution...]
398 : Change the way that the levels on the map correspond to the zoom
399 levels in the device. See customisation help. The hard coded default is:
400 "0:24, 1:22, 2:20, 3:18, 4:16", although each style can have
401 its own default. The default style for example overwrites it with
402 "0:24, 1:22, 2:20, 3:18". Up to 8 levels may be specified.
403
404 ;--name-tag-list=tag[,tag...]
405 : Specify the tag that will be used to supply the name. Useful for
406 language variations. You can supply a list of tags and the first one
407 found will be used. e.g. --name-tag-list=name:en,int_name,name
408
409 === Product description options ===
410
411 ;--family-id=integer
412 : This is an integer that identifies a family of products.
413 Range: [1..65535]
414 Default: 6324
415
416 ;--family-name=name
417 : If you build several maps, this option describes the
418 family name of all of your maps. Garmin will display this
419 in the map selection screen.
420 The default is "OSM map".
421 : Example: --family-name="OpenStreetmap mkgmap XL 2019"
422
423 ;--product-id=integer
424 : This is an integer that identifies a product within a family.
425 It is often just 1, which is the default.
426
427 ;--product-version=integer
428 : The version of the product. Default value is 100 which means version 1.00.
429
430 ;--series-name=name
431 : This name will be displayed by Garmin PC programs in the map selection
432 drop-down. The default is "OSM map".
433
434 ;--area-name=name
435 : Area name is displayed on Garmin units (or at least on eTrex) as the second
436 part of the mapname in the list of the individual maps.
437
438 ;--copyright-message=text
439 : Specify a copyright message for files that do not contain one.
440
441 ;--copyright-file=filename
442 : Specify copyright messages from a file.
443 Note that the first copyright message is not displayed on a device, but is
444 shown in BaseCamp. The copyright file must include at least two lines and
445 be UTF-8 encoded. The following symbols will be substituted by mkgmap:
446 $MKGMAP_VERSION$, $JAVA_VERSION$, $YEAR$, $LONGDATE$, $SHORTDATE$ and $TIME$.
447 Time and date substitutions use the local date and time formats.
448
449 ;--license-file=filename
450 : Specify a file which content will be added as license.
451 The license file must be UTF-8 encoded.
452 The following symbols will be substituted by mkgmap:
453 $MKGMAP_VERSION$, $JAVA_VERSION$, $YEAR$, $LONGDATE$, $SHORTDATE$ and $TIME$.
454 Time and date substitutions use the local date and time formats.
455 All entries of all maps will be merged in the overview map.
456
457 === Optimization options ===
458 ;--improve-overview
459 : Tells mkgmap to use a more complex method to calculate the outlines of
460 complex multipolygons which are visible in the overview map. This reduces
461 the size of the overview map and it improves especially complex coastline areas.
462
463 ;--reduce-point-density=NUM
464 : Simplifies the ways with the Douglas Peucker algorithm.
465 NUM is the maximal allowed error distance, by which the resulting
466 way may differ from the original one.
467 This distance gets shifted with lower zoom levels.
468 (Default is 2.6, which should lead to invisible changes)
469 See also --simplify-lines which gives better control.
470
471 ;--reduce-point-density-polygon=NUM
472 : Allows you to set the maximal allowed error distance for the DP algorithm
473 to be applied against polygons.
474 See also --simplify-polygons which gives better control.
475
476 ;--merge-lines
477 : Try to merge lines. This helps the simplify filter to straighten out
478 longer chunks at lower zoom levels. Decreases file size more.
479 Increases paint speed at low zoom levels.
480 Default is enabled, use --no-merge-lines to disable.
481
482 ;--allow-reverse-merge
483 : Use this option to allow the reversing of lines and roads to get even better
484 results from line merging. Reversing is only done when oneway attribute allows
485 it and the type has no direction. See --line-types-with-direction for further
486 details.
487
488 ;--line-types-with-direction=type[,type ...]
489 : Use this option to tell mkgmap which line types should never be reversed.
490 If your TYP file renders certain line types with a direction even if the way has
491 no oneway attribute you must list those types here to prevent reversing.
492 : Example usage: --line-types-with-direction=0x26,0x10005,0x10006
493
494 ;--min-size-polygon=NUM
495 : Removes all polygons smaller than NUM from the map.
496 This reduces map size and speeds up redrawing of maps.
497 Recommended value is 8 to 15, default is 8.
498 : See also polygon-size-limits.
499
500 ;--polygon-size-limits=resolution:value[,resolution:value...]
501 : Allows you to specify different min-size-polygon values for each resolution.
502 Example:
503 :: --polygon-size-limits="24:12, 18:10, 16:8, 14:4, 12:2, 11:0"
504 : If a resolution is not given, mkgmap uses the value for the next higher
505 one. For the given example, resolutions 19 to 24 will use value 12,
506 resolution 17 and 18 will use 10, and so on.
507 Value 0 means to not apply the size filter.
508 Note that in resolution 24 the filter is not used.
509 The following options are equivalent:
510 :: --min-size-polygon=12
511 :: --polygon-size-limits=24:12
512 :: --polygon-size-limits=24:0,23:12
513 :: --polygon-size-limits=24:0,23:12,22:12,21:12,16:12
514
515 ;--simplify-lines=resolution:value[,resolution:value...]
516 : Use this option to specify different values for the Douglas Peucker algorithm
517 depending on the resolution when it is applied to lines. It overwrites the
518 --reduce-point-density value. The syntax is similar to --polygon-size-limits,
519 but values are given in metres. This distance gets shifted with lower zoom levels.
520 Example:
521 :: --simplify-lines=23:2.6,22:4.2,21:5.4,20:6
522
523 ;--simplify-polygons=resolution:value[,resolution:value...]
524 : Use this option to specify different values for the Douglas Peucker algorithm
525 depending on the resolution when it is applied to polygons. It overwrites the
526 --reduce-point-density-polygon value. The syntax is similar to --simplify-lines.
527
528 === Hill Shading (DEM) options ===
529
530 : Hill Shading is rendered by BaseCamp and GPS devices
531 when the map includes a Digital Elevation Model (DEM). Use the following options
532 to add a DEM to the map and control its characteristics. DEM creation requires
533 files containing height information for the area covered by the map, the so
534 called hgt files, which typically cover 1 degree latitude by 1 degree longitude
535 and are named by the coordinates of their bottom left corner (e.g. N53E009). They
536 contain height information in a grid of points. Typical hgt files contain either
537 1 arc second or 3 arc second data. 3 arc second files have 1201 x 1201 points, which means
538 files contain 2 x 1201 x 1201 = 2,884,802 bytes. 1 arc second files have 3601 x 3601 points,
539 with a file size of 25,934,402 bytes. Other files are supported as long as the
540 formula sqrt(filesize/2) gives an integer value.
541
542 ;--dem=path[,path...]
543 : The option expects a comma separated list of paths to directories or zip
544 files containing *.hgt files. Directories are searched for *.hgt files
545 and also for *.hgt.zip and *.zip files.
546 : The list is searched in the given order, so if you want to use 1 arc second files
547 make sure that they are found first. There are different sources for hgt
548 files, some have so called voids which are areas without data. Those should be
549 avoided.
550
551 ;--dem-dists=number[,number...]
552 : If given, the option specifies the resolution(s) for the DEM data.
553 If not given, mkgmap determines a single value based on the resolution of the hgt files.
554 For BaseCamp you only need one value; for GPS devices you need one for each
555 resolution given with the --levels option. The actual values are the
556 distance between two DEM points and should be a multiple or submultiple of the
557 distance between two points in the hgt file, that is 3314 for 1 arc second and 9942 for
558 3 arc second. Higher distances mean lower resolution and thus fewer bytes in the map.
559 Reasonable values for the highest resolution should not be much smaller than
560 50% hgt resolution, that is somewhere between 1648 and 5520 for 1 arc second hgt input
561 files (3312 is often used), and 5520 to 9942 for 3 arc second hgt input files.
562 : Example which should work with levels="0:24, 1:22, 2:20, 3:18":
563 : --dem-dists=3312,13248,26512,53024
564 : This was found in a Garmin Demo map for transalpin data created 2009.
565
566 ;--dem-interpolation=auto|bicubic|bilinear
567 : Use this option to specify the method that is used to interpolate data from
568 hgt raster to the DEM raster. The value bicubic gives the highest precision
569 but is slower, bilinear is faster but less precise, it tends to smooth the
570 profile and thus also reduces DEM size compared to bicubic. The value auto
571 means that bicubic is used where is seems appropriate according to hgt
572 resolution and dem-dist value, else bilinear is used. The default is auto.
573
574 ;--dem-poly=filename
575 : If given, the filename should point to a *.poly file in osmosis polygon
576 file format. The polygon described in the file is used to determine the area
577 for which DEM data should be added to the map. If not given, the DEM data will
578 cover the full tile area.
579
580 ;--overview-dem-dist=integer
581 : If given, the option specifies the resolution(s) for the DEM data in the
582 overview map. If not given or 0, mkgmap will not add DEM to the overview map.
583 Reasonable values depend on the size of the area and the lowest resolution
584 used for the single tiles, good compromises are somewhere between 55000
585 and 276160.
586
587 === Sea Processing options ===
588
589 If your map contains sea areas then you will need to use --generate-sea to generate
590 the sea areas from the OSM files or --precomp-sea to use separate precompiled sea tiles.
591
592 ;--generate-sea[=VALUE[,...]]
593 : Generate sea polygons. When this option is specified, the sea is generated using a
594 multipolygon unless the polygons value is specified. The coastline data can be read from
595 the input OSM files, separate files containing coastline data if --coastlinefile
596 is specified or precompiled sea data if --precomp-sea is specified. The VALUEs are as follows:
597 :;multipolygon
598 :: generate the sea using a multipolygon. This is the default value.
599 :;polygons | no-mp
600 :: don't generate the sea using a multipolygon - instead,
601 generate a background sea polygon plus individual land
602 polygons (see land-tag value).
603 :;land-tag=TAG=VAL
604 :: tag to use for land polygons (default natural=land) created by the polygons option.
605 For these to be visible in the Garmin map, a suitable land polygon type must
606 be defined in the TYP file (suggested type is 0x010100 or 0x54), the polygon must
607 have a higher drawing level than the sea polygon type and the style file must link
608 TAG=VAL to the land polygon type defined in the TYP file.
609 :;no-sea-sectors
610 :: disable the generation of "sea sectors" when the
611 coastline fails to reach the tile's boundary.
612 Under some conditions land sectors are generated instead and these use land-tag.
613 :;extend-sea-sectors
614 :: Adds a point so coastline reaches the nearest tile boundary.
615 This implies no-sea-sectors.
616 :;close-gaps=NUM
617 :: close gaps in coastline that are less than this distance (metres)
618 :;floodblocker
619 :: enable the flood blocker that prevents a flooding of
620 land by checking if the sea polygons contain streets
621 (works only with multipolygon processing)
622 :;fbgap=NUM
623 :: flood blocker gap in metre (default 40)
624 points that are closer to the sea polygon do not block
625 :;fbthres=NUM
626 :: at least so many highway points must be contained in
627 a sea polygon so that it may be removed by the flood
628 blocker (default 20)
629 :;fbratio=NUM
630 :: only sea polygons with a higher ratio
631 (highway points x 100000 / polygon size) are removed
632 (default 0.5)
633 :;fbdebug
634 :: switches on the debugging of the flood blocker
635 generates GPX files for each polygon checked by
636 the flood blocker
637 :;check
638 :: check whether the coastline data contains sea within sea or land
639 within land
640
641 ;--coastlinefile=filename[,filename...]
642 : Defines a comma separated list of OSM or PBF format files that contain
643 coastline data to be used instead of extracting the data from the input files.
644 If you specify --coastlinefile you must also specify --generate-sea.
645
646 ;--precomp-sea=directory|zipfile
647 : Defines the directory or a zip file that contains precompiled sea data.
648 Sea data in a zip file must be located in the zip file's root directory or in
649 a sub directory named sea. When this option is defined, natural=coastline tags
650 from the input OSM files are ignored, the --coastlinefile option is ignored
651 and the precompiled data is used instead.
652 You can use the multipolygon, polygon and land-tag values of the --generate-sea
653 option in conjunction with --precomp-sea to control the way the sea is built,
654 but the other --generate-sea values are not available.
655 If --generate-sea is not specified, the --precomp-sea option sets --generate-sea=multipolygon.
656
657 You can download procompiled sea data for the whole world from the mkgmap download page at
658 http://www.mkgmap.org.uk/download/mkgmap.html
659
660 If you want to build your own precompiled sea data, you will need to build a copy
661 of mkgmap from the source, with the optional PrecompSeaGenerator source included.
662 This generator uses ESRI shapefiles as its source data. It is not included in
663 the standard mkgmap build due to its dependencies on external libraries.
664
665 === Diagnostic options ===
666
667 Messages produced by the diagnostic options are directed to stderr when no logging
668 configuration file is in use. When using a logging configuration file, they are logged
669 with custom level DIAGNOSTIC (1100).
670
671 ;--report-roundabout-issues[=all|loop|direction|overlap|junctions|flares[,...]]
672 : Report on various types of roundabout issue:
673
674 :* all - report on all the types of issue. This is the default if --report-roundabout-issues
675 is specified without a value.
676 :* loop - check that each roundabout is formed from a single loop with no forks or gaps
677 :* direction - check the direction of travel around the roundabout, see also --fix-roundabout-direction
678 :* overlap - check that highways do not overlap the roundabout
679 :* junctions - check that no more than one connecting highway joins at each node
680 :* flares - check that roundabout flare roads are one-way, are in the right direction, and don't extend beyond the flare
681
682 ;--roundabout-flare-rules-config=filename
683 : Provide a configuration file containing the rules to be used with the
684 --check-roundabouts=flares option in determining whether a pair of roads joining
685 a roundabout should be considered to be flares.
686
687 ;--report-routing-islands
688 : Routing islands are small road networks which are not connected to other
689 roads. A typical case is a footway that is not connected to the main road
690 network, or a small set of ways on the inner courtyard of a large building.
691 : These islands can cause problems if you try to calculate a route and the GPS
692 selects a point on the island as a start or end. It will fail to calculate the
693 route even if a major road is only a few steps away. If this option is
694 specified, then mkgmap will report these islands.
695 : See also --max-routing-island-len.
696
697 ;--report-similar-arcs
698 : Issue a warning when more than one arc connects two nodes and
699 the ways that the arcs are derived from contain identical
700 points.
701
702 ;--report-dead-ends[=LEVEL]
703 : Set the dead end road warning level. The value of LEVEL determines
704 those roads to report:
705 :* 0 = none (the default)
706 :* 1 = report on connected one-way roads that go nowhere (default if no LEVEL specified)
707 :* 2 = also report on individual one-way roads that go nowhere.
708
709 ;--dead-ends[=key[=value]][,key[=value]...]
710 : Specify a list of keys and optional values that should be considered
711 to be valid dead ends when found on the node at the end of a way. Ways with
712 nodes matching any of the items in the list will not be reported as dead ends.
713 If no value or * is specified for value then presence of the key alone will
714 cause the dead end check to be skipped. The default is --dead-ends=fixme,FIXME.
715
716 === POI options ===
717
718 ;--add-pois-to-lines[=all|start|end|mid|other]
719 : Generate nodes that may be used by the points file to produce POIs at
720 various positions of non-closed lines. The option expects a comma separated list that
721 specifies the positions at which a node should be generated. The default is all.
722 If the inner or all values are used, a lot of points are likely to be generated and
723 these are likely to need filtering in the points file.
724 Each node is tagged with the same tags as the line plus mkgmap generated tags
725 mkgmap:line2poi=true and mkgmap:line2poitype with one of the following values:
726 :* start - The first point of the line
727 :* end - The last point of the line
728 :* inner - Each point of the line except the first and the last
729 :* mid - An extra point added by mkgmap at the middle of the line
730
731 ;--add-pois-to-areas
732 : For each polygon and multipolygon, generate a node that may be used by the
733 points file to produce a POI.
734 The nodes are created after the relation style but before the other styles are applied.
735 Each node is tagged with the same tags of the area/multipolygon, plus mkgmap generated
736 tag mkgmap:area2poi=true.
737 Artificial polygons created by multipolyon processing are not used.
738 The nodes are created at the following positions:
739 :;polygons: the first rule that applies of:
740 ::* the first node tagged with a tag defined by the --pois-to-areas-placement option
741 ::* the centre point
742 :;multipolygons: the first rule that applies of:
743 ::* the node with role=label
744 ::* the centre point of the biggest area
745
746 ;--pois-to-areas-placement=tag=value[;tag=value...]
747 : A node is placed at the first node of the polygon tagged with the first tag/value
748 pair. If none of the nodes are tagged with the first tag-value pair the first node
749 tagged with the second tag-value pair is used and so on. If none of the tag-value pairs
750 matches or no tag-value pairs are supplied, the centre of the polygon is used.
751 It is possible to define wildcards for tag values like entrance=*.
752 <p>
753 Default: entrance=main;entrance=yes;building=entrance
754
755 ;--make-poi-index
756 : Generate a POI index in each map tile. Probably not used by modern devices,
757 but still supported.
758
759 ;--poi-address
760 : Enable address / phone information to POIs. Address info is
761 read according to the "Karlsruhe" tagging schema. Automatic
762 filling of missing information could be enabled using the --location-autofill option.
763 Default is enabled, use --no-poi-address to disable.
764
765 ;--nearby-poi-rules=type[-type][/all|named|unnamed]:distance[:delete-poi|delete-name][,...]
766 : Defines a set of rules to follow when a POI is near to another of the
767 same type and label. Each rule consists of three parts separated by colons. The
768 first two parts must be provided; the last part can be defaulted.
769
770 : The first part of the rule is a Garmin POI type code or range of type codes,
771 with an optional suffix; it determines when the rule is triggered. A type code may be
772 specified in decimal or hexadecimal (e.g. 0x2c0b). A rule is triggered
773 when processing a POI if the type code of the POI matches the rule type
774 or falls within the range of type codes,
775 providing there is also a match in the POI name and the first part
776 suffix. If the suffix is '/all' (the default) then the match is only made
777 on the type. If the suffix is '/named' then the rule is only triggered if
778 the POI has a name. If the suffix is '/unnamed' then the rule is only
779 triggered if the POI has no name. A wildcard of an asterisk character may
780 be used to match any type code. The wildcard may also be combined with a
781 suffix to allow separate processing of named and unnamed POIs.
782
783 : The second part of the rule is the distance in metres which an already
784 processed POI must be within for it to be considered to be nearby and
785 hence trigger the action part of the rule.
786
787 : The third part of the rule is the action part and provides two options:
788
789 :: delete-poi - the POIS are considered to be duplicates and the
790 duplicate is deleted. This is the default.
791 :: delete-name - the POIS are not duplicates, but only a single
792 name needs to be displayed.
793
794 : Wildcard rules are only applied if no other rule is applicable.
795
796 : For example:
797 : --nearby-poi-rules=*/named:10,*/unnamed:25,0x2f17-0x2f1f:30
798
799 : This has the following effect:
800 : If no other rule applies, a POI with the same name and type and
801 within 10m of one already processed will be deleted.
802 : If no other rule applies, a POI having no name and of the same type
803 and within 25m of one already processed will be deleted.
804 : A POI of any type between 0x2f17 and 0x2f1f that is within 30m of
805 another POI with the same type will be deleted.
806
807 : If you have a lot of rules, the --nearby-poi-rules-config option is likely to
808 be easier to use.
809
810 : Note: a POI that matches another in type, name and exact location is always
811 considered a duplicate and deleted.
812
813 ;--nearby-poi-rules-config=filename
814 :Allows you to specify the nearby POI rules as described in the --nearby-poi-rules option
815 in a configuration file.
816 The format of the rules is the same as in --nearby-poi-rules, except that each rule is
817 specified on a separate line, rather than separated by commas. This format makes it easier
818 to view and maintain the rules when you have a lot of them. If you just have one or two rules,
819 it is simpler to use the --nearby-poi-rules option.
820
821 === Miscellaneous options ===
822
823 ;--max-jobs[=integer]
824 : Specify the number of threads to be used for concurrent processing.
825 Increasing max-jobs will reduce the execution time, providing sufficient
826 memory is available and the value is not greater than the number of cores
827 in the CPU. If no value is specified, the limit is set to the number of CPU
828 cores. The default is for the limit to be automatically set to a reasonable
829 value based on the amount of memory allocated to the Java runtime and the
830 amount used in processing the first tile.
831
832 ;--keep-going
833 : Don't quit whole application if an exception occurs while
834 processing a map - continue to process the other maps.
835
836 ;--block-size=integer
837 : Changes the block size that is used in the generated map. This
838 option is not usually needed, but sometimes an error message
839 will ask you to try a value for this option.
840
841 ;--net
842 : Tells mkgmap to write NET data, which is needed for address search
843 and routing. Use this option if you want address search, but do
844 not need a map that supports routing or house number search.
845
846 ;--route
847 : Tells mkgmap to write NET and NOD data, which are needed in maps
848 that support routing. If you specify this option, you do not need
849 to specify --net and --no-net is ignored.
850
851 ;--add-boundary-nodes-at-admin-boundaries=NUM
852 : This option controls how mkgmap calculates special routing nodes which
853 are needed by Garmin software to allow routing between different map tiles.
854 These nodes are written to section 3 and 4 in the NOD file.
855 When a road crosses the tile boundary (bbox), the road is split at this
856 point and such a special node is written. This allows routing between
857 one set of tiles produced by splitter.jar. However, if you create a map
858 from different sets of tiles, those tiles are likely to overlap.
859 For the overlapping tiles, none of the entries in NOD3 match and thus
860 routing across tile border doesn't work when the route is not fully
861 covered by one of the tiles.
862 The option tells mkgmap to add special nodes wherever a road touches or
863 crosses an administrative boundary. The NUM parameter specifies a filter
864 for the admin_level. Boundaries with a higher admin_level value are ignored.
865 The default value is 2 (country borders). Another reasonable value might
866 be 4. A value less or equal to 0 tells mkgmap to ignore intersections at
867 administrative boundaries.
868
869 ;--drive-on=left|right|detect|detect,left|detect,right
870 : Explicitly specify which side of the road vehicles are
871 expected to drive on.
872 If the first option is detect, the program tries
873 to find out the proper flag. If that detection
874 fails, the second value is used (or right if none is given).
875 With OSM data as input, the detection tries to find out
876 the country each road is in and compares the number
877 of drive-on-left roads with the rest.
878 Use the --bounds option to make sure that the detection
879 finds the correct country.
880
881 ;--ignore-turn-restrictions
882 : When reading OSM files, ignore any "restriction" relations.
883
884 ;--ignore-osm-bounds
885 : When reading OSM files, ignore any "bounds" elements.
886 With this option selected generate-sea sometimes works better,
887 but routing across tiles will not work.
888
889 ;--preserve-element-order
890 : Process the map elements (nodes, ways, relations) in the order
891 in which they appear in the OSM input. Without this option,
892 the order in which the elements are processed is not defined.
893
894 ;--cycle-map
895 : Tells mkgmap that the map is for cyclists. This assumes that
896 different vehicles are different kinds of bicycles, e.g. a way
897 with mkgmap:car=yes and mkgmap:bicycle=no may be a road that is
898 good for racing bikes, but not for other cyclists.
899 This allows the optimisation of sharp angles at junctions of those roads.
900 Don't use with the default style as that is a general style!
901
902 ;--nsis
903 : Write a .nsi file that can be used with the Nullsoft Scriptable Install System
904 (NSIS) to create a Windows Installer for using the map in BaseCamp.
905 It looks for an installer template and license file template in the resources and resources\installer folders.
906 Note that it does not use the license file specified in --license-file.
907
908 ;--make-opposite-cycleways
909 : Some one-way streets allow bicycle traffic in the reverse
910 direction and this option makes a way with the same points as
911 the original that allows bicycle traffic (in both directions).
912
913 ;--link-pois-to-ways
914 : This option may copy some specific attributes of a POI
915 to a small part of the way the POI is located on. This can be used
916 to let barriers block a way or to lower the calculated speed
917 around traffic signals.
918 POIs with the tags highway=* (e.g. highway=traffic_signals)
919 or barrier=* (e.g. barrier=cycle_barrier) are supported.
920 The style developer must add at least one of the access tags
921 (mkgmap:foot, mkgmap:car etc.), mkgmap:road-speed and/or
922 mkgmap:road-class to the POI.
923 The access tags are ignored if they have no effect for the way,
924 else a route restriction is added at the POI so that only
925 allowed vehicles are routed through it.
926 The tags mkgmap:road-speed and/or mkgmap:road-class are
927 applied to a small part of the way around the POI, typically
928 to the next junction or a length of ~25m. The tags
929 are ignored for pedestrian-only ways.
930
931 ;--process-destination
932 : Splits all motorway_link, trunk_link, primary_link, secondary_link,
933 and tertiary_link ways tagged with destination into two or three parts where
934 the second part is additionally tagged with mkgmap:dest_hint=*.
935 The code checks for the tags destination, destination:lanes,
936 destination:street and some variants with :forward/:backward like
937 destination:forward or destination:lanes:backward. If a value for
938 destination is found, the special tag mkgmap:dest_hint is set to
939 it and the way is split.
940 This happens before the style rules are processed.
941 This allows to use any routable Garmin type (except 0x08 and 0x09)
942 for that part so that the Garmin device tells the name of
943 this part as hint which destination to follow.
944 : See also --process-exits.
945
946 ;--process-exits
947 : Usual Garmin devices do not tell the name of the exit on motorways
948 while routing with mkgmap created maps. This option splits each
949 motorway_link, trunk_link, primary_link, secondary_link, and
950 tertiary_link way into three parts.
951 All parts are tagged with the original tags of the link.
952 Additionally the middle part is tagged with the following tags:
953
954 :: mkgmap:exit_hint=true
955 :: mkgmap:exit_hint_ref=<ref tag value of the exit>
956 :: mkgmap:exit_hint_name=<name tag value of the exit>
957 :: mkgmap:exit_hint_exit_to=<exit_to tag value of the exit>
958
959 : Adding a rule checking the mkgmap:exit_hint=true makes it possible
960 to use any routable Garmin type (except 0x08 and 0x09) for the middle
961 part so that the Garmin device tells the name of this middle part as
962 hint where to leave the motorway/trunk.
963 The first part must have type 0x08 or 0x09 so that Garmin uses the hint.
964
965 ;--delete-tags-file=filename
966 : Names a file that should contain one or more lines of the form
967 TAG=VALUE or TAG=*. Blank lines and lines that start with
968 a # or ; are ignored. All tag/value pairs in the OSM input are
969 compared with these patterns and those that match are deleted.
970
971 ;--ignore-fixme-values
972 : Ignore all tags for which the value matches the regular expression pattern "(?i)fix[ _]?+me".
973
974 ;--tdbfile
975 : Write files that are essential to running with BaseCamp; a .tdb file and
976 an overview map. The options --nsis and --gmapi imply --tdbfile.
977
978 ;--show-profiles=1
979 : Sets a flag in the tdb file. The meaning depends on the availability of DEM
980 data (see "Hill Shading (DEM) options").
981 : Without DEM data the flag enables profile calculation in BaseCamp based on
982 information from contour lines.
983 : If DEM data is available the profile is calculated with that
984 information and the flag only changes the status line to show the height when
985 you hover over an area with valid DEM data.
986 : The default is show-profiles=0.
987
988 ;--transparent
989 : Make the map transparent, so that if two maps covering the same area are
990 loaded, you can see through this map to see details from the other map too.
991 Typically used for maps containing just contour lines. See --draw-priority
992 as well.
993
994 ;--draw-priority=integer
995 : When two maps cover the same area and both are enabled in the device, this
996 option controls the order in which they are drawn in and therefore which map
997 is on top. Higher priorities are drawn "on top" of lower priorities.
998 The map drawn on top must be transparent for the one underneath to be seen.
999 The default value is 25.
1000
1001 ;--custom
1002 : Write a different TRE header. With this option, mkgmap writes the bytes
1003 0x170401 instead of the default 0x110301 at offset 43. Useful for marine maps.
1004
1005 ;--hide-gmapsupp-on-pc
1006 : Set a bit in the gmapsupp.img that tells PC software that the file is
1007 already installed on the PC and therefore there is no need to read it
1008 from the device.
1009
1010 ;--verbose
1011 : Makes some operations more verbose. Mostly used with --list-styles.
1012
1013 ;--order-by-decreasing-area
1014 : Puts area/polygons into the map in decreasing size order, so
1015 that smaller features are rendered over larger ones
1016 (assuming the draw order is equal).
1017 The tag mkgmap:drawLevel can be used to override the
1018 natural area of a polygon, so forcing changes to the rendering order.
1019
1020 ;--max-routing-island-len=integer
1021 : Routing islands are small road networks which are not connected to other
1022 roads. A typical case is a footway that is not connected to the main road
1023 network, or a small set of ways on the inner courtyard of a large building.
1024 : These islands can cause problems if you try to calculate a route and the GPS
1025 selects a point on the island as a start or end. It will fail to calculate the
1026 route even if a major road is only a few steps away. If a positive value is
1027 specified, then mkgmap will mark islands with a total length less than the
1028 specified value in metres as not routable.
1029 Reasonable values are 500 or higher. The default is to not to mark any islands
1030 as unroutable. If any of the roads forming the island touches a tile boundary or a
1031 country border the island is ignored, as it may be connected to other roads in
1032 a different tile.
1033 : See also options --add-boundary-nodes-at-admin-boundaries and
1034 --report-routing-islands.
1035 : This option seems to cause routing problems in BaseCamp.
1036
1037 ;--fix-roundabout-direction
1038 : Reverse the direction of travel around roundabouts that do not have the expected
1039 direction (clockwise when vehicles drive on the left). See also --report-roundabout-issues=direction.
1040
1041 === Deprecated and Obsolete Options ===
1042
1043 ;--check-roundabouts
1044 : Deprecated; use --report-roundabout-issues and/or --fix-roundabout-direction instead.
1045 Check that roundabouts have the expected direction (clockwise
1046 when vehicles drive on the left). Roundabouts that are complete
1047 loops and have the wrong direction are reversed. Also checks
1048 that the roundabouts do not fork or overlap other roundabouts
1049 and that no more than one connecting highway joins at each node.
1050
1051 ;--check-roundabout-flares
1052 : Deprecated; use --report-roundabout-issues=flares instead.
1053 Check that roundabout flare roads point in the correct
1054 direction, are one-way and don't extend too far.
1055
1056 ;--max-flare-length-ratio=NUM
1057 : Deprecated; use --roundabout-flare-rules-config instead.
1058 When checking roundabout flares, ignore roads whose length is
1059 greater than NUM (an integer) times the distance between the
1060 nodes on the roundabout that the flare roads connect to.
1061
1062 ;--check-routing-island-len=integer
1063 : Deprecated; use --report-routing-islands and --max-routing-island-len instead.
1064 Translated to --report-routing-islands if info level logging is enabled, plus
1065 --max-routing-island-len=integer.
1066
1067 ;--drive-on-left
1068 ;--drive-on-right
1069 : Deprecated; use --drive-on instead.
1070 The options are translated to --drive-on=left|right.
1071
1072 ;--make-all-cycleways
1073 : Deprecated; use --make-opposite-cycleways instead. Former meaning:
1074 Turn on all of the options that make cycleways.
1075
1076 ;--charset=name
1077 : Obsolete; use --code-page instead.
1078
1079 ;--map-features=filename
1080 : Obsolete; use --style-file instead.
1081
1082 ;--ignore-maxspeeds
1083 : Obsolete; former usage:
1084 When reading OSM files, ignore any "maxspeed" tags.
1085
1086 ;--ignore-builtin-relations
1087 : Obsolete; former usage:
1088 When reading OSM files, skip the built-in processing of
1089 relations. This speeds up the processing non-routable map
1090 layers that do not contain multipolygons. This implies
1091 --ignore-turn-restrictions.
1092
1093 ;--road-name-pois[=GarminCode]
1094 : Obsolete; former usage:
1095 Generate a POI for each named road. By default, the POIs'
1096 Garmin type code is 0x640a. If desired, a different type code
1097 can be specified with this option. This is a workaround for not
1098 being able to search for roads.
1099 0x2f15: a blue dot in the middle of the road, and if you select,
1100 or 'hover' over it, the street name appears.
1101
1102 ;--make-cycleways
1103 : Obsolete; former meaning:
1104 Some streets have a separate cycleway track/lane just for
1105 bicycle traffic and this option makes a way with the same
1106 points as the original that allows bicycle traffic. Also,
1107 bicycle traffic is prohibited from using the original way
1108 (unless that way's bicycle access has been defined).
1109
1110 ;--remove-short-arcs[=MinLength]
1111 : Now ignored, former usage:
1112 Merge nodes to remove short arcs that can cause routing
1113 problems. If MinLength is specified (in metres), arcs shorter
1114 than that length will be removed. If a length is not
1115 specified, only zero-length arcs will be removed.
1116
1117 ;--adjust-turn-headings[=BITMASK]
1118 : Now ignored, former usage:
1119 Where possible, ensure that turns off to side roads change
1120 heading sufficiently so that the GPS believes that a turn is
1121 required rather than a fork. This also avoids spurious
1122 instructions to "keep right/left" when the road doesn't
1123 actually fork.
1124
1125 : Optional BITMASK (default value 3) allows you to specify which
1126 adjustments are to be made (where necessary):
1127 :: 1 = increase angle between side road and outgoing main road
1128 :: 2 = increase angle between side road and incoming main road