Re: [mkgmap-dev] problem with address search and --code-page

2014-05-08 Thread Michał Rogala
Thanks for the hint with city search/address search difference - I've found a nasty bug in my style :). Sorry for your trouble. best regards Michal Rogala 2014-05-07 15:27 GMT+02:00 Steve Ratcliffe : > On 05/05/14 13:45, Michał Rogala wrote: > >> Unfortunately, I've found an error with sort2 p

Re: [mkgmap-dev] problem with address search and --code-page

2014-05-07 Thread Steve Ratcliffe
On 05/05/14 13:45, Michał Rogala wrote: Unfortunately, I've found an error with sort2 patch - many towns and villages are gone from index. This is not related to any map tile - it seems to be randomly distributed. MapSource/BaseCamp works fine. If you still have my map files - you can try to fin

Re: [mkgmap-dev] problem with address search and --code-page

2014-05-05 Thread Michał Rogala
hi! Unfortunately, I've found an error with sort2 patch - many towns and villages are gone from index. This is not related to any map tile - it seems to be randomly distributed. MapSource/BaseCamp works fine. If you still have my map files - you can try to find towns like Mielnik, Czeremcha or Ma

Re: [mkgmap-dev] problem with address search and --code-page

2014-04-20 Thread Steve Ratcliffe
Hi Could you please merge this changes into main branch? So far I didn't notice any problems with this version of mkgmap. OK great, thanks for testing. @all: the sort2 branch only contains changes to make a gmapsupp more compatible, including a major problem although probably rearly seen, dep

Re: [mkgmap-dev] problem with address search and --code-page

2014-04-19 Thread Michał Rogala
hi! Could you please merge this changes into main branch? So far I didn't notice any problems with this version of mkgmap. best regards Michal Rogala 2014-04-07 12:45 GMT+02:00 Michał Rogala : > > Hi! > > First tests indicate that your patch is working great :). Thanks a lot for > fixing this

Re: [mkgmap-dev] problem with address search and --code-page

2014-04-07 Thread Michał Rogala
Hi! First tests indicate that your patch is working great :). Thanks a lot for fixing this bug :) best regards Michal Rogala 2014-04-02 17:50 GMT+02:00 Steve Ratcliffe : > > Hi Michał > > I believe that I have now found the problem thanks to your example. > If I'm right, then the problem occu

Re: [mkgmap-dev] problem with address search and --code-page

2014-04-02 Thread Steve Ratcliffe
Hi Michał I believe that I have now found the problem thanks to your example. If I'm right, then the problem occurs when there are some cities that do not have a country assigned and also that the total number of cities is greater than 64k and the number of cities with a country is less than tha

Re: [mkgmap-dev] problem with address search and --code-page

2014-03-28 Thread Michał Rogala
2014-03-28 15:23 GMT+01:00 Steve Ratcliffe : > Hi > > I noticed that this list does not inlucde a --bounds option. Can > you confirm if you did also include the bounds file as an option? > > yes, I use this option from command line. best regards Michal Rogala

Re: [mkgmap-dev] problem with address search and --code-page

2014-03-28 Thread Steve Ratcliffe
On 28/03/14 00:16, Michał Rogala wrote: 1) No separate tile causes broken index. This only happens when all (or at least unknown combination of) tiles are compiled together. 2) After many hours of testing I've selected 2 particular tiles. When I remove them from my compilation, index starts worki

Re: [mkgmap-dev] problem with address search and --code-page

2014-03-28 Thread Steve Ratcliffe
Hi If you try to compile this map, please use particular config file, as I may be crucial for replication of this bug: verbose max-jobs country-name=Polska name-tag-list=name:pl,name generate-sea location-autofill=is_in,nearest tdbfile index add-pois-to-areas link-pois-to-ways remove-short-arcs

Re: [mkgmap-dev] problem with address search and --code-page

2014-03-27 Thread Michał Rogala
Hi! This bug is tricky as hell :). Here are my observations: 1) No separate tile causes broken index. This only happens when all (or at least unknown combination of) tiles are compiled together. 2) After many hours of testing I've selected 2 particular tiles. When I remove them from my compilati

Re: [mkgmap-dev] problem with address search and --code-page

2014-03-26 Thread Michał Rogala
2014-03-25 23:40 GMT+01:00 Steve Ratcliffe : > You say that it works when loaded on to the device using MapSource? In > that case it cannot be the spaces themselves that is a problem, and I > made a fix for dealing with them that was included in that patch. > > So how badly does it not work? Can

Re: [mkgmap-dev] problem with address search and --code-page

2014-03-25 Thread Steve Ratcliffe
On 25/03/14 16:34, Michał Rogala wrote: Thanks. Unfortunately maps generated using this version still don't work ;(. So the only explanation at this time is that the bug is caused by names starting with spaces. You say that it works when loaded on to the device using MapSource? In that case it

Re: [mkgmap-dev] problem with address search and --code-page

2014-03-25 Thread Michał Rogala
Thanks. Unfortunately maps generated using this version still don't work ;(. So the only explanation at this time is that the bug is caused by names starting with spaces. best regards Michal Rogala 2014-03-25 16:04 GMT+01:00 Steve Ratcliffe : > On 25/03/14 13:37, Michał Rogala wrote: > >> Than

Re: [mkgmap-dev] problem with address search and --code-page

2014-03-25 Thread Steve Ratcliffe
On 25/03/14 13:37, Michał Rogala wrote: Thanks a lot. Could you send me binary file of patched mkgmap? I don't have any tools installed to patch and compile it. I've just created a new branch which includes that patch so you can get it from: http://www.mkgmap.org.uk/download/mkgmap-sort2-r3125.

Re: [mkgmap-dev] problem with address search and --code-page

2014-03-25 Thread Michał Rogala
2014-03-24 23:18 GMT+01:00 Steve Ratcliffe : > > > I would appreciate if you could test the current patch. > > Trouble is, that nothing that I've changed really appears to be > specific to that part of the world and so I don't why it > does not affect everyone. > > There are a few names that begin

Re: [mkgmap-dev] problem with address search and --code-page

2014-03-24 Thread Steve Ratcliffe
Hi Michał I suppose problem may be in content of an index - your map of Poland works well on my device but any map compiled by me (using latest mkgmap release) using data I sent you (bigger Europe slice than boundary of Poland) has broken index. Yesterday I made some tests and neither compilati

Re: [mkgmap-dev] problem with address search and --code-page

2014-03-19 Thread Michał Rogala
thanks! I suppose problem may be in content of an index - your map of Poland works well on my device but any map compiled by me (using latest mkgmap release) using data I sent you (bigger Europe slice than boundary of Poland) has broken index. Yesterday I made some tests and neither compilation w

Re: [mkgmap-dev] problem with address search and --code-page

2014-03-18 Thread Steve Ratcliffe
Hi Michał Did you have time to look for the cause of this bug? :) Just a quick update to say that I have looked at the problem, but no solution. I'm not really sure what I'm looking for of course :) I've found one thing that might be a problem which I will investigate at a later date. ..Ste

Re: [mkgmap-dev] problem with address search and --code-page

2014-03-16 Thread Michał Rogala
2014-03-13 16:46 GMT+01:00 Steve Ratcliffe : > Hi > > > > Did you have time to look for the cause of this bug? > > Sorry I've been distracted by all the routing excitement :) > I shall take a look later today. > ok, thanks :) ___ mkgmap-dev mailing list

Re: [mkgmap-dev] problem with address search and --code-page

2014-03-13 Thread Steve Ratcliffe
Hi > Did you have time to look for the cause of this bug? Sorry I've been distracted by all the routing excitement :) I shall take a look later today. ..Steve ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman

Re: [mkgmap-dev] problem with address search and --code-page

2014-03-12 Thread Michał Rogala
hi! Did you have time to look for the cause of this bug? :) best regards Michal Rogala 2014-03-05 14:36 GMT+01:00 Michał Rogala : > Hi! > > Here are files I use to generate my maps: > > > custom pbf extract (500 MB): > > https://mega.co.nz/#!9kEWWSxJ!RKRgqEJiaJ_691G12q3Gc2fj9Ldg5FadMiG03q47S6w

Re: [mkgmap-dev] problem with address search and --code-page

2014-03-07 Thread Carlos Dávila
BTW - is there any tool to debug those indexes? There is test.display.MdrDisplay and test.check.MdrCheck in the display project at http://svn.mkgmap.org.uk/display/trunk But there are many false warning, so it is not that useful unless you know what you are looking for. How to run these tools

Re: [mkgmap-dev] problem with address search and --code-page

2014-03-05 Thread Michał Rogala
Hi! Here are files I use to generate my maps: custom pbf extract (500 MB): https://mega.co.nz/#!9kEWWSxJ!RKRgqEJiaJ_691G12q3Gc2fj9Ldg5FadMiG03q47S6w boundaries: https://mega.co.nz/#!VlUlWZDB!lK4BYN7mIn3VNIWMPT2EJ7jCcVK8FbDMIw3SXhf5ECQ best regards Michal Rogala 2014-03-04 19:44 GMT+01:00

Re: [mkgmap-dev] problem with address search and --code-page

2014-03-04 Thread Michał Rogala
Hi! Unfortunately - latest mkgmap-sort still generates maps that don't work on my device :(.So I think problem lies in index content - after entering first letter in search box, GPSMap 62 claims that it can't find any city. As far as I know there is no city in Poland that starts with diacritic let

Re: [mkgmap-dev] problem with address search and --code-page

2014-03-03 Thread Michał Rogala
I used mkgmap-sort-r3056 - I'll test your version. I'm using my own bounds files - they were always working fine. best regards Michal Rogala 2014-03-03 12:53 GMT+01:00 Steve Ratcliffe : > Hi Michał > > > Address search in your map works very well on my device. So maybe it's >> related to you

Re: [mkgmap-dev] problem with address search and --code-page

2014-03-03 Thread Steve Ratcliffe
Hi Michał Address search in your map works very well on my device. So maybe it's related to your changes in code or problem lies within content of the index (maybe some characters in other city names are improperly transliterated). Could you send me your mkgmap version? Its http://www.mkgmap.o

Re: [mkgmap-dev] problem with address search and --code-page

2014-03-03 Thread Michał Rogala
hi! Address search in your map works very well on my device. So maybe it's related to your changes in code or problem lies within content of the index (maybe some characters in other city names are improperly transliterated). Could you send me your mkgmap version? BTW - is there any tool to debug

Re: [mkgmap-dev] problem with address search and --code-page

2014-02-27 Thread Steve Ratcliffe
On 27/02/14 21:57, Steve Ratcliffe wrote: I've uploaded the file ... and it is here: http://files.mkgmap.org.uk/download/181/gmapsupp.img ..Steve ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkg

Re: [mkgmap-dev] problem with address search and --code-page

2014-02-27 Thread Steve Ratcliffe
On 26/02/14 14:09, Michał Rogala wrote: Map uploaded using Mapsource works fine, gmapsupp.img created by mkgmap has broken address search. On my device you need to specify country and city first - I can't get past this stage so I can't tell if street name search works. I'm afraid I cannot repro

Re: [mkgmap-dev] problem with address search and --code-page

2014-02-26 Thread Michał Rogala
Hi! Map uploaded using Mapsource works fine, gmapsupp.img created by mkgmap has broken address search. On my device you need to specify country and city first - I can't get past this stage so I can't tell if street name search works. best regards Michal Rogala 2014-02-22 18:07 GMT+01:00 Steve

Re: [mkgmap-dev] problem with address search and --code-page

2014-02-22 Thread Steve Ratcliffe
On 21/02/14 15:35, Michał Rogala wrote: Oh, I see your point - using 1252 as a replacement to default encoding which has broken address search? In that case it's an idea worth trying :) Yes, that was the idea. Not that I am giving up on making it work with the default sort if it is at all poss

Re: [mkgmap-dev] problem with address search and --code-page

2014-02-21 Thread Michał Rogala
Oh, I see your point - using 1252 as a replacement to default encoding which has broken address search? In that case it's an idea worth trying :) best regards Michal Rogala 2014-02-21 12:38 GMT+01:00 Steve Ratcliffe : > On 21/02/14 10:27, Michał Rogala wrote: > >> Unfortunately code-page 1252

Re: [mkgmap-dev] problem with address search and --code-page

2014-02-21 Thread Steve Ratcliffe
On 21/02/14 10:27, Michał Rogala wrote: Unfortunately code-page 1252 lacks some 1250 characters that are crucial in polish language ;( Well, so does the default ascii... In both cases letters that don't exist are transliterated. Is that not true? The results should be no worse for 1252 than t

Re: [mkgmap-dev] problem with address search and --code-page

2014-02-21 Thread Michał Rogala
2014-02-19 15:05 GMT+01:00 Steve Ratcliffe : > On 19/02/14 09:04, Michał Rogala wrote: > >> I've started tests on GPSMap 62s and I'm not able to search any city in >> the index ;(. >> > > Is that with a gmapsupp created with mkgmap or via MapSource? > It was gmapsupp created by mkgmap. Unfortuna

Re: [mkgmap-dev] problem with address search and --code-page

2014-02-21 Thread Michał Rogala
2014-02-19 10:44 GMT+01:00 Steve Ratcliffe : > > > is related to uncommon house numbers like 12a, 67/69, etc. When given an >> address like Municypalna 12a, Mapsource tries to locate Municypalna 12 >> > > Searchable numbers must be just plain numbers (or if not, we don't > know how to implement

Re: [mkgmap-dev] problem with address search and --code-page

2014-02-19 Thread Steve Ratcliffe
On 19/02/14 09:04, Michał Rogala wrote: I've started tests on GPSMap 62s and I'm not able to search any city in the index ;(. Is that with a gmapsupp created with mkgmap or via MapSource? You could also try using code-page=1252 which would have fairly similar result for names that are original

Re: [mkgmap-dev] problem with address search and --code-page

2014-02-19 Thread Steve Ratcliffe
Hi First tests are good :). Great! But something strange happens with location of some house numbers. For example Pulawska 67 (in Warszawa city) is here: http://osm.org/go/0OyvXjAp5 but on Mapsource is shown here: http://osm.org/go/0OyvSy29r This is more than 1

Re: [mkgmap-dev] problem with address search and --code-page

2014-02-19 Thread Michał Rogala
Hi! I've started tests on GPSMap 62s and I'm not able to search any city in the index ;(. best regards Michal Rogala 2014-02-17 15:27 GMT+01:00 Michał Rogala : > Hi! > > First tests are good :). But something strange happens with location of > some house numbers. For example Pulawska 67 (in W

Re: [mkgmap-dev] problem with address search and --code-page

2014-02-17 Thread Michał Rogala
Hi! First tests are good :). But something strange happens with location of some house numbers. For example Pulawska 67 (in Warszawa city) is here: http://osm.org/go/0OyvXjAp5 but on Mapsource is shown here: http://osm.org/go/0OyvSy29r This is more than 1 kilometer apart! Also addresses like Mu

Re: [mkgmap-dev] problem with address search and --code-page

2014-02-17 Thread Michał Rogala
thanks! I will test it :) best regards Michal Rogala 2014-02-16 22:01 GMT+01:00 Steve Ratcliffe : > On 05/02/14 12:10, Michał Rogala wrote: > >> map without code-page 1250 (default setting) has incomplete index - I >> can't search for almost any street (only a few available, no housenumber >>

Re: [mkgmap-dev] problem with address search and --code-page

2014-02-16 Thread Steve Ratcliffe
On 05/02/14 12:10, Michał Rogala wrote: map without code-page 1250 (default setting) has incomplete index - I can't search for almost any street (only a few available, no housenumber search). Hi, I've created the 'sort' branch to work on this. If you want to try out the latest you can downloa

Re: [mkgmap-dev] problem with address search and --code-page

2014-02-09 Thread Michał Rogala
2014-02-07 0:25 GMT+01:00 Steve Ratcliffe : Thanks for reporting this. I've looked into it and it is not as simple > as I previously thought. The names need to be sorted and this is > happening with the original name and not the transliterated name. So > the names end up being completely mis-sor

Re: [mkgmap-dev] problem with address search and --code-page

2014-02-06 Thread Steve Ratcliffe
Hi Michał map without code-page 1250 (default setting) has incomplete index - I can't search for almost any street (only a few available, no housenumber search). Thanks for reporting this. I've looked into it and it is not as simple as I previously thought. The names need to be sorted and th

[mkgmap-dev] problem with address search and --code-page

2014-02-05 Thread Michał Rogala
Hi! I'm creating 2 types of maps (covering Poland): - regular map (default code-page) - localized map (code-page 1250) first map is here: http://garmin.osmapa.pl/mapy/OSMapaPL-20140120V1.29_IMG.zip second map is here: http://garmin.osmapa.pl/mapy/OSMapaPL-OGONKI-20140120V1.29_IMG.zip problem