logo separator

[mkgmap-dev] Small problem with global index

From Gerd Petermann GPetermann_muenchen at hotmail.com on Sat Nov 20 13:59:38 GMT 2021

Hi Ticker,

while experimenting with the index and unicode I found a rather simple case that doesn't work as expected.
I've attached a small example file and a patch for the default style. 
A map produced with these options and the patched style 
--style-file=d:\mkgmap\resources\styles\default   --lower-case --preserve-element-order --code-page=1252 --gmapi --index --housenumbers --bounds=bounds.zip bad-search.osm
produces a map that shows an error in the POI search.
I search for name=abc123x in region Bayern and get the correct result list of three different restaurants named abc123x.
I search for name=abc123x in region reg1 and get the correct result list of three different restaurants named abc123x.
Now I also fill the search field city with Burgpreppach.
with name=abc123x in city Burgpreppach and region Bayern the result is still correct.
with name=abc123x in city Burgpreppach and region reg1 the result is not correct, it also lists the objects in region Bayern

So far I found no correction for this.  It also doesn't seem to depend on the lower-case option. Any idea?

Gerd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bad-search.osm
Type: application/octet-stream
Size: 1529 bytes
Desc: bad-search.osm
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20211120/22a3efbd/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: default.patch
Type: application/octet-stream
Size: 2244 bytes
Desc: default.patch
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20211120/22a3efbd/attachment-0001.obj>


More information about the mkgmap-dev mailing list