You are not logged in.
- Topics: Active | Unanswered
Announcement
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***
#1 2013-03-08 18:55:56
- Walter Schlögl
- Member
- Registered: 2009-10-20
- Posts: 606
[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
Offline
#2 2013-03-10 08:13:00
- Walter Schlögl
- Member
- Registered: 2009-10-20
- Posts: 606
Re: [mkgmap] index with only one street per country
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
Offline
#3 2013-03-11 08:10:09
- wilpin
- Member
- Registered: 2009-11-22
- Posts: 79
- Website
Re: [mkgmap] index with only one street per country
You may also like to include:
--name-tag-list=int_name,name
--location-autofill=is_in,nearest
and with latest housenumber searches
--x-housenumbers
Offline
#4 2013-03-11 18:36:25
- Walter Schlögl
- Member
- Registered: 2009-10-20
- Posts: 606
Re: [mkgmap] index with only one street per country
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
Offline