| 1 |
# Sample configuration file for use with the --road-name-config option. |
| 2 |
# -*- coding: UTF-8 -*- |
| 3 |
|
| 4 |
# This gives road name prefixes and suffixes in various languages. |
| 5 |
# A road name like West Main Street is separated into a prefix 'West', |
| 6 |
# the important part 'Main', and the suffix 'Street'. |
| 7 |
|
| 8 |
# The first section lists often used prefixes and suffixes for a language. |
| 9 |
# The next section is used to configure which languages are used for road names |
| 10 |
# in each country. |
| 11 |
|
| 12 |
# Note that the order of the options doesn't matter, as well as the position |
| 13 |
# in the comma separated lists. Very important is the proper usage of blanks |
| 14 |
# within the quotation marks as well as the spelling. |
| 15 |
|
| 16 |
# Having suffixes makes Find>Address less easy to use on some GPS devices! See posting 21-Feb-2019: |
| 17 |
# http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2019q1/029506.html |
| 18 |
|
| 19 |
########################################################################## |
| 20 |
# Section 1 |
| 21 |
# prefix1:<lang> list of 1st words |
| 22 |
# prefix2:<lang> further words to combine with each prefix1 word, separated with a blank |
| 23 |
# suffix:<lang> gives list of suffix words |
| 24 |
|
| 25 |
# basque |
| 26 |
suffix:eu = " Kalea" |
| 27 |
|
| 28 |
# catalan |
| 29 |
prefix1:ca = "Avinguda", "Carrer" |
| 30 |
prefix2:ca = "de las ", "de los ", "de la ", "del ", "de ", "d'" |
| 31 |
|
| 32 |
# english |
| 33 |
prefix1:en = "East ", "North ", "South ", "West " |
| 34 |
suffix:en = " Road", " Street" |
| 35 |
# |
| 36 |
# UK road names don't have prefixes, eg "North View" and "South View" are unlikely to be connected. |
| 37 |
# So, via Section 2 (country to language mapping), have different prefix/suffix for the UK: |
| 38 |
#prefix1:en_gb = empty |
| 39 |
# UK road names have many different suffixes and should not be used as they make address searching counter-intuitive |
| 40 |
#suffix:en_gb = " Arcade", " Avenue", " Boulevard", " Circus", " Close", " Court", " Crescent", " Croft", " Drive", " Field", " Fields", " Gardens", " Gate", " Grove", " Hill", " Lane", " Mews", " Parade", " Park", " Passage", " Place", " Rise", " Road", " Square", " Street", " Terrace", " View", " Villas", " Walk", " Way", " Wood", " Yard" |
| 41 |
|
| 42 |
# french |
| 43 |
prefix1:fr = "Allée", "Avenue", "Boulevard", "Chemin", "Place", "Rue", "Route" |
| 44 |
prefix2:fr = "de la ", "du ", "de ", "des ", "d'", "de l'" |
| 45 |
|
| 46 |
# galician |
| 47 |
prefix1:gl = "Rua", "Avenida", "Travessa" |
| 48 |
prefix2:gl = "da ", "do ", "de ", "das ", "dos " |
| 49 |
|
| 50 |
# german |
| 51 |
suffix:de = " Straße", "-Straße", " Strasse", "-Strasse", " Weg", "-Weg" |
| 52 |
|
| 53 |
# italian |
| 54 |
prefix1:it = "Via", "Piazza", "Viale" |
| 55 |
prefix2:it = "del ", "dei ", "della ", "delle ", "di " |
| 56 |
|
| 57 |
# portugese |
| 58 |
prefix1:pt = "Rua", "Avenida", "Travessa", "Alameda", "Beco", "Estrada", "Rodovia" |
| 59 |
prefix2:pt = "da ", "do ", "de ", "das ", "dos ", "d'" |
| 60 |
|
| 61 |
# spanish |
| 62 |
prefix1:es = "Avenida", "Calle", "Paseo" |
| 63 |
prefix2:es = "de las ", "de los ", "de la ", "del ", "de ", "d'", "las ", "los " |
| 64 |
|
| 65 |
########################################################################## |
| 66 |
# Section 2 |
| 67 |
# Map three letter ISO country codes to list of used languages for road names. |
| 68 |
# It is assumed that the style sets mkgmap:country to one of these ISO codes. |
| 69 |
|
| 70 |
# Botswana (BWA), Kenya (KEN), Malawi (MWI), Zambia (ZMB) and Zimbabwe (ZWE), owing to their colonial past, |
| 71 |
# have a similar naming format to the UK and the same suffixes are common, so treat them as en_gb |
| 72 |
|
| 73 |
lang:AGO = pt |
| 74 |
lang:AND = es, ca |
| 75 |
lang:ARG = es |
| 76 |
lang:BOL = es |
| 77 |
lang:BRA = pt |
| 78 |
lang:BWA = en_gb |
| 79 |
lang:CAN = en, fr |
| 80 |
lang:CHE = de, fr, it |
| 81 |
lang:CHL = es |
| 82 |
lang:COL = es |
| 83 |
lang:CRI = es |
| 84 |
lang:CUB = es |
| 85 |
lang:DEU = de |
| 86 |
lang:DOM = es |
| 87 |
lang:ECU = es |
| 88 |
lang:ESH = es |
| 89 |
lang:ESP = es, gl, eu, ca |
| 90 |
lang:FRA = fr |
| 91 |
lang:GBR = en_gb |
| 92 |
lang:GNB = pt |
| 93 |
lang:GTM = es |
| 94 |
lang:GUY = en |
| 95 |
lang:HND = es |
| 96 |
lang:KEN = en_gb |
| 97 |
lang:MEX = es |
| 98 |
lang:MOZ = pt |
| 99 |
lang:MWI = en_gb |
| 100 |
lang:NIC = es |
| 101 |
lang:PAN = es |
| 102 |
lang:PER = es |
| 103 |
lang:PRI = es |
| 104 |
lang:PRT = pt |
| 105 |
lang:PRY = es |
| 106 |
lang:SLV = es |
| 107 |
lang:URI = es |
| 108 |
lang:USA = en |
| 109 |
lang:VEN = es |
| 110 |
lang:ZMB = en_gb |
| 111 |
lang:ZWE = en_gb |
| 112 |
|
| 113 |
# End Section 2 |