
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 filenames. Regards, Johann Minko schrieb:
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 caused because I used mkgmap-index-r1778.jar but it happened with other mkgmap versions too...
Another test didnt cause a crash:
mapname: 10010040 description: testmap input-file: 10010040.osm.gz
So in my args file I noticed that it matters that at least the first input file and the mapname file must have the same map ID?
I also found out that if I put a (already processed) contour img first before the osm tiles, the same crash happens (bad map id) if I click on the address search button:
# contour lines first
description: contourmap input-file: 10010101.img
# osm tiles last
mapname: 10010040 description: testmap input-file: 10010040.osm.gz
However, this causes a crash in MS (address search button), but it doesnt crash if i put the osm tiles first:
# osm tiles first
mapname: 10010040 description: testmap input-file: 10010040.osm.gz
# contour lines last
description: contourmap input-file: 10010101.img
Note that I don't put the line "mapname: 10010101.img" in the line above with "description: contourmap" because this causes that the contours dont show up in Mapsource. If I leave mapname etc out, it shows the contourlines.
I don't know if my findings are related to the address search problem, but maybe it helps.
Cheers, Minko
----- Oorspronkelijk bericht ----- Van: "Minko" Aan: "Development list for mkgmap" <mkgmap-dev@lists.mkgmap.org.uk> Verzonden: Dinsdag 11 januari 2011 13:21:48 Onderwerp: Re: [mkgmap-dev] Improved street search in index branch
Hi Steve, I removed road-name pois, but it didnt help. Mapsource still crashes.
Does it solve the problem state/province on the newer GPS units (as well as on the nĂ¼vi)? Thats the reason why I use road-name-pois, to search for addresses via pois. _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev