[mkgmap] index with only one street per country

when I compile a garmin map with the options --index --gmapsupp
I am getting a map where the address index is missing except one street per country.

For Česko the only street in the index is: červená
For Deutschland the only street in the index is: Ürtelacker
For Hrvatska the only street in the index is: Đure Đakovića
For Italia the only street in the index is: Überwasser
For Liechtenstein the only street in the index is: Äussere Wiesen
For Magyarország the only street in the index is: Üsth Gyula utca
For Österreich the only street in the index is: Übungsplatz
For Schweiz the only street in the index is: Ürikerstrasse
For Slovenija the only street in the index is: Čučkova ulica
For Slovensko the only street in the index is: Úžiny

Why do I only get one street per country
and why does this one street always starts with a special character.

What’s the error here?

Walter

I found the error.
I forgot the option --tdbfile because I did not know that this option is needed to generate the index for the gmapsupp file.
According to the wiki, --tdbfile is only needed for MapSource.

http://wiki.openstreetmap.org/wiki/Mkgmap/help/options
–tdbfile Create a TDB file, which is necessary for installing a set of maps in MapSource.

Walter

You may also like to include:

–name-tag-list=int_name,name
–location-autofill=is_in,nearest

and with latest housenumber searches

–x-housenumbers

Hello wilpin,

–name-tag-list=int_name,name
–location-autofill=is_in,nearest
and also
–x-housenumbers

is working fine.

I have included the following style command:
place=* { name ‘${name} (${int_name|not-equal:name})’ | ‘${name}’ }
which will print the int_name in brackets only if it’s different.

A much better aproach would be to replace the name if it is not printable in the selected char set,
but for this function there is no command available.

–tdbfile was not the correct solution for my index problem.
I got a new map now with --tdbfile but without streets again.
So I have to start searching again, how I can solve this.

Walter