Address Index problem

Hello, I am experiencing several issues using index search on my GPS unit. First is probably related to: http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2013q2/017760.html I have missing streets in Bratislava (Slovakia) in index. But I am not sure whether is is only in Bratislava (which uses districts). I tried to compile only partial map (cut off from Slovakian map) containing only corresponding part of Bratislava and streets are there. My address setup in style file is like this: # Slovakia mkgmap:country=SVK & mkgmap:city!=* & mkgmap:admin_level6=* { set mkgmap:city='${mkgmap:admin_level6}' } mkgmap:country=SVK & mkgmap:city!=* & mkgmap:admin_level9=* { set mkgmap:city='${mkgmap:admin_level9}' } mkgmap:country=SVK & mkgmap:city!=* & mkgmap:admin_level8=* { set mkgmap:city='${mkgmap:admin_level8}' } ... which is with high probability correct. Second problem is, when I use code page 65001 when searching for streets I can filter only first character. Probably because of case sensitive search? I am unable to insert lowercase characters into my gps unit to test whether this is the real cause. When compiling with 1250 codepage, the search filter works correctly. Does the index need to be uppercased? Thank you Marek

On 17/10/13 21:50, Marek Greško wrote:
Second problem is, when I use code page 65001 when searching for streets I can filter only first character. Probably because of case sensitive search? I am unable to insert lowercase characters into my gps unit to test whether this is the real cause. When compiling with 1250 codepage, the search filter works correctly. Does the index need to be uppercased?
Unfortunately the index will not work with code page 65001. Currently the code can only work with single byte character sets. The changes required to deal with cp65001 are fairly extensive so I can't say when it would be possible. ..Steve

OK. Thank you. Any suggestions on the first issue? Marek 2013/10/17 Steve Ratcliffe <steve@parabola.me.uk>
On 17/10/13 21:50, Marek Greško wrote:
Second problem is, when I use code page 65001 when searching for streets I can filter only first character. Probably because of case sensitive search? I am unable to insert lowercase characters into my gps unit to test whether this is the real cause. When compiling with 1250 codepage, the search filter works correctly. Does the index need to be uppercased?
Unfortunately the index will not work with code page 65001. Currently the code can only work with single byte character sets. The changes required to deal with cp65001 are fairly extensive so I can't say when it would be possible.
..Steve _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Steve, would it be possible to create at least transliterated to ascii index? This could be faster solution. Marek 2013/10/17 Steve Ratcliffe <steve@parabola.me.uk>
On 17/10/13 21:50, Marek Greško wrote:
Second problem is, when I use code page 65001 when searching for streets I can filter only first character. Probably because of case sensitive search? I am unable to insert lowercase characters into my gps unit to test whether this is the real cause. When compiling with 1250 codepage, the search filter works correctly. Does the index need to be uppercased?
Unfortunately the index will not work with code page 65001. Currently the code can only work with single byte character sets. The changes required to deal with cp65001 are fairly extensive so I can't say when it would be possible.
..Steve _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

On 23/10/13 19:04, Marek Greško wrote:
would it be possible to create at least transliterated to ascii index? This could be faster solution.
It is not possible, because the index is an index of what is actually in the map tiles - it is not some separate thing that can be different. In the device version of the index, there are not even any strings in the index, it points directly to the labels in the map. ..Steve

Hi,
In the device version of the index, there are not even any strings in the index, it points directly to the labels in the map.
There is a list of names shortened to 4-characters, isn't it simplified list for search? I'm using CP 65001 with option --name-tag-list=name:en,name. This way search partially works in English but probably there is problem with lower-upper case conversion. Would be nice to have at least some kludge for it. -- Best regards, Andrzej

On 24/10/13 01:18, Andrzej Popowski wrote:
There is a list of names shortened to 4-characters, isn't it simplified list for search?
Yes, but that is just to help find the right place to start looking in the complete list of names.
I'm using CP 65001 with option --name-tag-list=name:en,name. This way search partially works in English but probably there is problem with lower-upper case conversion. Would be nice to have at least some kludge for it.
Ah well I guess you get the default sort order and that is useless because it treats 'A' and 'a' as completely different letters. I can fix that. ..Steve

Hi Steve, did you find some time to fix the case sensitiveness problem? Many thanks Marek 2013/10/24 Steve Ratcliffe <steve@parabola.me.uk>
On 24/10/13 01:18, Andrzej Popowski wrote:
There is a list of names shortened to 4-characters, isn't it simplified list for search?
Yes, but that is just to help find the right place to start looking in the complete list of names.
I'm using CP 65001 with option --name-tag-list=name:en,name. This way search partially works in English but probably there is problem with lower-upper case conversion. Would be nice to have at least some kludge for it.
Ah well I guess you get the default sort order and that is useless because it treats 'A' and 'a' as completely different letters.
I can fix that.
..Steve _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

On 20/12/13 17:32, Marek Greško wrote:
did you find some time to fix the case sensitiveness problem?
I found that was only a small part of the problem. I have started work on fixing the complete problem. See also the thread 'problem with address search and --code-page' Best wishes ..Steve

On 24/10/13 01:18, Andrzej Popowski wrote:
I'm using CP 65001 with option --name-tag-list=name:en,name. This way search partially works in English but probably there is problem with
I've created a slightly more useful default sort for people that insist on using lower case along with unsupported sort types. ..Steve

First is probably related to: http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2013q2/017760.html
I have missing streets in Bratislava (Slovakia) in index. But I am not sure whether is is only in Bratislava (which uses districts). I tried to compile only partial map (cut off from Slovakian map) containing only corresponding part of Bratislava and streets are there. My address setup in style file is like this:
# Slovakia mkgmap:country=SVK & mkgmap:city!=* & mkgmap:admin_level6=* { set mkgmap:city='${mkgmap:admin_level6}' } mkgmap:country=SVK & mkgmap:city!=* & mkgmap:admin_level9=* { set mkgmap:city='${mkgmap:admin_level9}' } mkgmap:country=SVK & mkgmap:city!=* & mkgmap:admin_level8=* { set mkgmap:city='${mkgmap:admin_level8}' }
... which is with high probability correct.
Can you give some examples which streets cannot be found? What are you searching for? What is the result? What do you expect? WanMil

For example when you search for Trenčianska street in Bratislava, the street is not in list. I am sure it is in the map and could be found in index when cutting some small rectangle from the osm map of Slovakia. 2013/10/18 WanMil <wmgcnfg@web.de>
First is probably related to: http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2013q2/017760.html
I have missing streets in Bratislava (Slovakia) in index. But I am not sure whether is is only in Bratislava (which uses districts). I tried to compile only partial map (cut off from Slovakian map) containing only corresponding part of Bratislava and streets are there. My address setup in style file is like this:
# Slovakia mkgmap:country=SVK & mkgmap:city!=* & mkgmap:admin_level6=* { set mkgmap:city='${mkgmap:admin_level6}' } mkgmap:country=SVK & mkgmap:city!=* & mkgmap:admin_level9=* { set mkgmap:city='${mkgmap:admin_level9}' } mkgmap:country=SVK & mkgmap:city!=* & mkgmap:admin_level8=* { set mkgmap:city='${mkgmap:admin_level8}' }
... which is with high probability correct.
Can you give some examples which streets cannot be found? What are you searching for? What is the result? What do you expect?
WanMil _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Marek, I compiled Slovakia with logging enabled and the bounds file from Oct 4th: uk.me.parabola.mkgmap.reader.osm.LocationHook.results.level=FINE The results for Trenčianska are: W 21390051 ;;Nivy;Ružinov;okres Bratislava II;;Bratislava;;Bratislavský kraj;;SVK;; This means for the way with id 21390051 (http://www.openstreetmap.org/browse/way/21390051) the following mkgmap:admin_levelN are used: admin_level2=SVK admin_level4=Bratislavský kraj admin_level6=Bratislava admin_level8=okres Bratislava II admin_level9=Ružinov admin_level10=Nivy The street can be found in MapSource. Anyhow street name is Trencianska. But I have compiled the map with latin1 character set. Maybe you are using a different one? WanMil
For example when you search for Trenčianska street in Bratislava, the street is not in list. I am sure it is in the map and could be found in index when cutting some small rectangle from the osm map of Slovakia.
2013/10/18 WanMil <wmgcnfg@web.de <mailto:wmgcnfg@web.de>>
> First is probably related to: > http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2013q2/017760.html > > I have missing streets in Bratislava (Slovakia) in index. But I am not > sure whether is is only in Bratislava (which uses districts). I tried to > compile only partial map (cut off from Slovakian map) containing only > corresponding part of Bratislava and streets are there. My address setup > in style file is like this: > > # Slovakia > mkgmap:country=SVK & mkgmap:city!=* & mkgmap:admin_level6=* { set > mkgmap:city='${mkgmap:admin_level6}' } > mkgmap:country=SVK & mkgmap:city!=* & mkgmap:admin_level9=* { set > mkgmap:city='${mkgmap:admin_level9}' } > mkgmap:country=SVK & mkgmap:city!=* & mkgmap:admin_level8=* { set > mkgmap:city='${mkgmap:admin_level8}' } > > ... which is with high probability correct.
Can you give some examples which streets cannot be found? What are you searching for? What is the result? What do you expect?
WanMil _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk <mailto:mkgmap-dev@lists.mkgmap.org.uk> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi WanMil, I tested using Windows-1250 charset and also UTF-8 - same result. I tested it on Garmin Colorado device. Marek 2013/10/22 WanMil <wmgcnfg@web.de>
Hi Marek,
I compiled Slovakia with logging enabled and the bounds file from Oct 4th: uk.me.parabola.mkgmap.reader.osm.LocationHook.results.level=FINE
The results for Trenčianska are: W 21390051 ;;Nivy;Ružinov;okres Bratislava II;;Bratislava;;Bratislavský kraj;;SVK;;
This means for the way with id 21390051 (http://www.openstreetmap.org/browse/way/21390051) the following mkgmap:admin_levelN are used: admin_level2=SVK admin_level4=Bratislavský kraj admin_level6=Bratislava admin_level8=okres Bratislava II admin_level9=Ružinov admin_level10=Nivy
The street can be found in MapSource. Anyhow street name is Trencianska. But I have compiled the map with latin1 character set. Maybe you are using a different one?
WanMil
For example when you search for Trenčianska street in Bratislava, the street is not in list. I am sure it is in the map and could be found in index when cutting some small rectangle from the osm map of Slovakia.
2013/10/18 WanMil <wmgcnfg@web.de <mailto:wmgcnfg@web.de>>
> First is probably related to: > http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2013q2/017760.html > > I have missing streets in Bratislava (Slovakia) in index. But I am not > sure whether is is only in Bratislava (which uses districts). I tried to > compile only partial map (cut off from Slovakian map) containing only > corresponding part of Bratislava and streets are there. My address setup > in style file is like this: > > # Slovakia > mkgmap:country=SVK & mkgmap:city!=* & mkgmap:admin_level6=* { set > mkgmap:city='${mkgmap:admin_level6}' } > mkgmap:country=SVK & mkgmap:city!=* & mkgmap:admin_level9=* { set > mkgmap:city='${mkgmap:admin_level9}' } > mkgmap:country=SVK & mkgmap:city!=* & mkgmap:admin_level8=* { set > mkgmap:city='${mkgmap:admin_level8}' } > > ... which is with high probability correct.
Can you give some examples which streets cannot be found? What are you searching for? What is the result? What do you expect?
WanMil _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk <mailto: mkgmap-dev@lists.mkgmap.org.uk> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Wanmill, I tried to compile maps with mkgmap-r2889. Now the first issue is fixed. Probably due to the fix of the shapes which do net have the same first and last point. Many thanks. Marek 2013/10/22 WanMil <wmgcnfg@web.de>
Hi Marek,
I compiled Slovakia with logging enabled and the bounds file from Oct 4th: uk.me.parabola.mkgmap.reader.osm.LocationHook.results.level=FINE
The results for Trenčianska are: W 21390051 ;;Nivy;Ružinov;okres Bratislava II;;Bratislava;;Bratislavský kraj;;SVK;;
This means for the way with id 21390051 (http://www.openstreetmap.org/browse/way/21390051) the following mkgmap:admin_levelN are used: admin_level2=SVK admin_level4=Bratislavský kraj admin_level6=Bratislava admin_level8=okres Bratislava II admin_level9=Ružinov admin_level10=Nivy
The street can be found in MapSource. Anyhow street name is Trencianska. But I have compiled the map with latin1 character set. Maybe you are using a different one?
WanMil
For example when you search for Trenčianska street in Bratislava, the street is not in list. I am sure it is in the map and could be found in index when cutting some small rectangle from the osm map of Slovakia.
2013/10/18 WanMil <wmgcnfg@web.de <mailto:wmgcnfg@web.de>>
> First is probably related to: > http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2013q2/017760.html > > I have missing streets in Bratislava (Slovakia) in index. But I am not > sure whether is is only in Bratislava (which uses districts). I tried to > compile only partial map (cut off from Slovakian map) containing only > corresponding part of Bratislava and streets are there. My address setup > in style file is like this: > > # Slovakia > mkgmap:country=SVK & mkgmap:city!=* & mkgmap:admin_level6=* { set > mkgmap:city='${mkgmap:admin_level6}' } > mkgmap:country=SVK & mkgmap:city!=* & mkgmap:admin_level9=* { set > mkgmap:city='${mkgmap:admin_level9}' } > mkgmap:country=SVK & mkgmap:city!=* & mkgmap:admin_level8=* { set > mkgmap:city='${mkgmap:admin_level8}' } > > ... which is with high probability correct.
Can you give some examples which streets cannot be found? What are you searching for? What is the result? What do you expect?
WanMil _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk <mailto: mkgmap-dev@lists.mkgmap.org.uk> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Sorry, I probably tested some other map, not OSM. The issue is not fixed. Is there some tool to inspect the index? Marek 2013-12-20 18:30 GMT+01:00 Marek Greško <mgresko8@gmail.com>:
Hi Wanmill,
I tried to compile maps with mkgmap-r2889. Now the first issue is fixed. Probably due to the fix of the shapes which do net have the same first and last point.
Many thanks.
Marek
2013/10/22 WanMil <wmgcnfg@web.de>
Hi Marek,
I compiled Slovakia with logging enabled and the bounds file from Oct 4th: uk.me.parabola.mkgmap.reader.osm.LocationHook.results.level=FINE
The results for Trenčianska are: W 21390051 ;;Nivy;Ružinov;okres Bratislava II;;Bratislava;;Bratislavský kraj;;SVK;;
This means for the way with id 21390051 (http://www.openstreetmap.org/browse/way/21390051) the following mkgmap:admin_levelN are used: admin_level2=SVK admin_level4=Bratislavský kraj admin_level6=Bratislava admin_level8=okres Bratislava II admin_level9=Ružinov admin_level10=Nivy
The street can be found in MapSource. Anyhow street name is Trencianska. But I have compiled the map with latin1 character set. Maybe you are using a different one?
WanMil
For example when you search for Trenčianska street in Bratislava, the street is not in list. I am sure it is in the map and could be found in index when cutting some small rectangle from the osm map of Slovakia.
2013/10/18 WanMil <wmgcnfg@web.de <mailto:wmgcnfg@web.de>>
> First is probably related to: > http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2013q2/017760.html > > I have missing streets in Bratislava (Slovakia) in index. But I am not > sure whether is is only in Bratislava (which uses districts). I tried to > compile only partial map (cut off from Slovakian map) containing only > corresponding part of Bratislava and streets are there. My address setup > in style file is like this: > > # Slovakia > mkgmap:country=SVK & mkgmap:city!=* & mkgmap:admin_level6=* { set > mkgmap:city='${mkgmap:admin_level6}' } > mkgmap:country=SVK & mkgmap:city!=* & mkgmap:admin_level9=* { set > mkgmap:city='${mkgmap:admin_level9}' } > mkgmap:country=SVK & mkgmap:city!=* & mkgmap:admin_level8=* { set > mkgmap:city='${mkgmap:admin_level8}' } > > ... which is with high probability correct.
Can you give some examples which streets cannot be found? What are you searching for? What is the result? What do you expect?
WanMil _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk <mailto: mkgmap-dev@lists.mkgmap.org.uk> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (4)
-
Andrzej Popowski
-
Marek Greško
-
Steve Ratcliffe
-
WanMil