Re: [mkgmap-dev] Improved street search in index branch

2011-01-20 Thread Minko
I found the reason what made my mapsource crashing (bad map id) when I clicked on the address search button. . The cause I have found in my mkgmap args file: mapname: 30010040 description: testmap input-file: 10010040.osm.gz It causes mkgmap to crash if I search for adresses. I thought it was

Re: [mkgmap-dev] Improved street search in index branch

2011-01-20 Thread Steve Ratcliffe
That is interesting I will look into it thanks. I have recently changed it to allow different map name and map id, but didn't consider this particular case. Steve. The cause I have found in my mkgmap args file: mapname: 30010040 description: testmap input-file: 10010040.osm.gz It causes

Re: [mkgmap-dev] Index: MDR12 breaking POI search

2011-01-20 Thread Steve Ratcliffe
your code changes did not have any effect on my tests so there must be some more things to do. POI search shows exception if MDR12 is put into MDR. But we know for sure that our MDR12 creation has a problem. Another thing I did was make mdr record size variable rather than fixed at 4.

Re: [mkgmap-dev] Improved street search in index branch

2011-01-20 Thread Carlos Dávila
El 18/01/11 23:27, Carlos Dávila escribió: El 18/01/11 19:18, Johann Gail escribió: 9 tiles Almost the same results than 1 tile. The first difference found is that there are a lot of missing streets. Is there a pattern with the missing streets? Maybe only the streets

Re: [mkgmap-dev] Improved street search in index branch

2011-01-20 Thread Johann Gail
Just a thought while reading this: Has the MDR1 to be sorted in some way? Maybe the mapnames has to be sorted in ascending order? I think mostly they are sorted by pure random in ascending order because splitter creates an argument file this way. This would explain the crash with other

Re: [mkgmap-dev] How to solve/debug weird problem

2011-01-20 Thread Marko Mäkelä
Hi Johannes, Does the problem disappear if you remove --style-file (i.e., use the default style)? A run with the same options, except the --style-file options results again in a exception: OK, it might be best to use the default style in your experiments from now on. What is in

Re: [mkgmap-dev] Improved street search in index branch

2011-01-20 Thread Steve Ratcliffe
Hi WanMil My tiles have one speciality: They are quite small. I have splitted with max-nodes=10. I'm back home and I can reproduce a crash with a very small index. Removing mdr12 didn't help though. Anyway I should be able to investigate it properly now. ..Steve

Re: [mkgmap-dev] Improved street search in index branch

2011-01-20 Thread Steve Ratcliffe
My tiles have one speciality: They are quite small. I have splitted with max-nodes=10. I have fixed it: the mdr15 offset size (PointerSize.getStrOffSize() ) has to be always at least 3 bytes. I made a number of indexes, ran MdrSummary on them and separated them into good and bad files.