problem with address search with *mp sources

Hi, when compiling a map from *.mp sources, address search doesn't work as expected in Mapsource. I have prepared a set of data for testing: http://files.mkgmap.org.uk/download/433/test-index.zip I can't get correct results, when searching for address: house number: 75 street: KARTUSKA city: GDANSK It looks like a whole set of numbers is missing in search index for KARTUSKA. I think that some street names are missing too, but I haven't tested much. I have found that map created by mkgmap r3909 works correctly but r3970 gives problems. Somewhere between these releases was introduced a bug. Maybe it was because of merging optimize-index branch with release r3968? -- Best regards, Andrzej

Hi Andrzej, yes, seems to be an error in the global index, probable MDR20 . When you search for KARTUSKA 75 four entries for GDANSK are found. I did not yet find out what is wrong. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Andrzej Popowski <popej@poczta.onet.pl> Gesendet: Samstag, 5. Mai 2018 17:08:56 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: [mkgmap-dev] problem with address search with *mp sources Hi, when compiling a map from *.mp sources, address search doesn't work as expected in Mapsource. I have prepared a set of data for testing: http://files.mkgmap.org.uk/download/433/test-index.zip I can't get correct results, when searching for address: house number: 75 street: KARTUSKA city: GDANSK It looks like a whole set of numbers is missing in search index for KARTUSKA. I think that some street names are missing too, but I haven't tested much. I have found that map created by mkgmap r3909 works correctly but r3970 gives problems. Somewhere between these releases was introduced a bug. Maybe it was because of merging optimize-index branch with release r3968? -- Best regards, Andrzej _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Andrzej, the attached patch seems to solve the problem. The mdr20 index did not contain enough entries when same combination of road name + city + region + country appear in different tiles. This problem is not related to *.mp files, so I wonder why nobody noticed it before. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <gpetermann_muenchen@hotmail.com> Gesendet: Sonntag, 6. Mai 2018 10:59:45 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] problem with address search with *mp sources Hi Andrzej, yes, seems to be an error in the global index, probable MDR20 . When you search for KARTUSKA 75 four entries for GDANSK are found. I did not yet find out what is wrong. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Andrzej Popowski <popej@poczta.onet.pl> Gesendet: Samstag, 5. Mai 2018 17:08:56 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: [mkgmap-dev] problem with address search with *mp sources Hi, when compiling a map from *.mp sources, address search doesn't work as expected in Mapsource. I have prepared a set of data for testing: http://files.mkgmap.org.uk/download/433/test-index.zip I can't get correct results, when searching for address: house number: 75 street: KARTUSKA city: GDANSK It looks like a whole set of numbers is missing in search index for KARTUSKA. I think that some street names are missing too, but I haven't tested much. I have found that map created by mkgmap r3909 works correctly but r3970 gives problems. Somewhere between these releases was introduced a bug. Maybe it was because of merging optimize-index branch with release r3968? -- Best regards, Andrzej _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Gerd, your patch is working, thanks for a quick solution! The example of problem was from my address map, where for each house number I create a small road. For Kartuska there are numbers like 75, 75A, 75B, 75C. Since Garmin doesn't allow for literal in house number, there are multiple different roads, each with exactly the same address. Fortunately GPS can find it all. -- Best regards, Andrzej
participants (2)
-
Andrzej Popowski
-
Gerd Petermann