<div dir="ltr">well it clearly only happens with a blank in the name. That is the most common factor. Never seen one where the name is a single word. And in recent versions of Basecamp the search actually became really useful - it is way faster than at the beginning, it finds all addresses / POI - just missing the nice POI category search. I will try to get a minimalist style to crash. If that doesn't work maybe we can introduce _ instead of blanks? Better not being able to search for two words normally with crash vs not crashing. Well only for 0x1??? and 0x2??? POI. I do feel like if Basecamp can first find a 0x????? type of POI it will not crash. That is what is causing those really random results.<div><br></div><div>Last message for now - need to get some fresh air after working 6 hours straight this morning. But will try to drill down the problem a bit more tonight.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 2 Jun 2021 at 13:03, <<a href="mailto:ankeric.osm@gmail.com">ankeric.osm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="en-NL" style="overflow-wrap: break-word;"><div class="gmail-m_-6248286196996005781WordSection1"><p class="MsoNormal"><span lang="EN-GB">Yes, this has been happening for a very long time (longer than my memory lane).<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB">My “facts”:<u></u><u></u></span></p><ul style="margin-top:0cm" type="disc"><li class="gmail-m_-6248286196996005781MsoListParagraph" style="margin-left:0cm"><span lang="EN-GB">Not possible to reproduce;<u></u><u></u></span></li><li class="gmail-m_-6248286196996005781MsoListParagraph" style="margin-left:0cm"><span lang="EN-GB">Sometimes it will take hours before the crash occurs. So, I don’t agree: “</span>if a good search already has been executed (single word), then the crash rarely occurs<span lang="EN-GB">”.</span><span lang="EN-GB"><u></u><u></u></span></li><li class="gmail-m_-6248286196996005781MsoListParagraph" style="margin-left:0cm"><span lang="EN-GB">Long, long ago I have tested by uninstall all mkgmaps, which left over City Navigator 2007 (yes; 2007). And still: the error did occur. But harder to reproduce;<u></u><u></u></span></li><li class="gmail-m_-6248286196996005781MsoListParagraph" style="margin-left:0cm"><span lang="EN-GB">But also: I have the impression (no fact) that more Maps increases the chance of crashing;<u></u><u></u></span></li><li class="gmail-m_-6248286196996005781MsoListParagraph" style="margin-left:0cm"><span lang="EN-GB">I have never seen GPS crash on search (Vista HCx, Etrex 30, GPSMAP 62/66)<u></u><u></u></span></li><li class="gmail-m_-6248286196996005781MsoListParagraph" style="margin-left:0cm"><span lang="EN-GB">Find Addresses (Ctrl+Alt+A) will never crash (so: work-around);<u></u><u></u></span></li><li class="gmail-m_-6248286196996005781MsoListParagraph" style="margin-left:0cm"><span lang="EN-GB">I have also seen strange addresses found, which do not match my search criteria.<u></u><u></u></span></li><li class="gmail-m_-6248286196996005781MsoListParagraph" style="margin-left:0cm"><span lang="EN-GB">And – lol – I could reproduce a BaseCamp search which will take 10 minutes to respond. Oeps, or was this a GPS search? Is this a search where BaseCamp will crash (impatience, no retry, no error handling) and GPS will try for 10 minutes and succeed???<u></u><u></u></span></li></ul><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB">My work-around:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">Do not use BaseCamp for any Search. Not ever! I use my smartphone + OsmAnd or Google search on second PC monitor.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">I will only test a new version of BaseCamp and until now, it’s always not oké. Still not oké.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">In BaseCamp I can only find an object, if I know where it is….<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB">A BaseCamp crash is 99% harmless, but at 1% I lose information (in which case always (...) relevant information, so bad for my mood).<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB">But I might have to apologize to Garmin.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">I have always considered BaseCamp to be extreme bad software, but perhaps Garmin is not to blame???<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB">If (but only “if”) you are gone investigate and mkgmap might be the cause, I could try “memory lane”.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">I have posted several times on Garmin Vendor forum about searching and not finding or finding the wrong answers or crashing. <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">I even might have found a way to reproduce ?????<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">But these posting are all in Dutch language, so therefore: “If and only if”.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB">Sorry, too many “???”. <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">But I assumed I had managed to suppress my - bad - memories<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB">Eric (AnkEric)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> mkgmap-dev <<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk" target="_blank">mkgmap-dev-bounces@lists.mkgmap.org.uk</a>> <b>On Behalf Of </b>Felix Hartmann<br><b>Sent:</b> woensdag 2 juni 2021 11:20<br><b>To:</b> Development list for mkgmap <<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a>><br><b>Subject:</b> Re: [mkgmap-dev] Basecamp crashes on search if searching for many 2+ word phrases<u></u><u></u></span></p></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">Basecamp just closes 0-3 seconds after entering that term into the search bar. No warning, no error notice, nothing. Seems to have been happening a long time already. Okay this evening I will try to produce a map as small as possible that still crashes. I do not have much time now anymore - but will try if removing --split-name-index changes something. I kinda feel it has something to do with split-name-index.<u></u><u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Wed, 2 Jun 2021 at 12:07, Gerd Petermann <<a href="mailto:gpetermann_muenchen@hotmail.com" target="_blank">gpetermann_muenchen@hotmail.com</a>> wrote:<u></u><u></u></p></div><blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin:5pt 0cm 5pt 4.8pt"><p class="MsoNormal">Hi Felix,<br><br>I couldn't reproduce the crash so far. Please provide a small map and exact instructions how to reproduce. What happens when BC crashes? Do you have some kind of report?<br><br>Gerd<br><br>________________________________________<br>Von: mkgmap-dev <<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk" target="_blank">mkgmap-dev-bounces@lists.mkgmap.org.uk</a>> im Auftrag von Felix Hartmann <<a href="mailto:extremecarver@gmail.com" target="_blank">extremecarver@gmail.com</a>><br>Gesendet: Mittwoch, 2. Juni 2021 10:16<br>An: Thomas Morgenstern; Development list for mkgmap<br>Betreff: Re: [mkgmap-dev] Basecamp crashes on search if searching for many 2+ word phrases<br><br><a href="https://www.openstreetmap.org/node/3268115540" target="_blank">https://www.openstreetmap.org/node/3268115540</a><br>shop=hardware | shop=trade [0x2e01 resolution 24]<br>does not crash - it has a full address field. Maybe if we have address for a POI it does not crash?<br><br>I have to look but I think so far only entries without an address cause a crash. Also it does not crash if being nearby and only searching for one of the words of the entry thereby finding it.<br><br>On Wed, 2 Jun 2021 at 11:08, Felix Hartmann <<a href="mailto:extremecarver@gmail.com" target="_blank">extremecarver@gmail.com</a><mailto:<a href="mailto:extremecarver@gmail.com" target="_blank">extremecarver@gmail.com</a>>> wrote:<br>I just thought about it - could it be related to multi word street search? Maybe what works for multi word street search is not possible for old type POI search? So it is the multi word stuff that got introduced for roads that causes the crashes in Basecamp (not sure about what happens on devices - will check that out later).<br>--add-pois-to-areas --pois-to-areas-placement=entrance=main;entrance=yes;building=entrance;barrier=entrance --link-pois-to-ways --location-autofill=bounds,is_in,nearest and of coure --index are the most relevant to this thread options I am using.<br><br><br>On Wed, 2 Jun 2021 at 10:49, Felix Hartmann <<a href="mailto:extremecarver@gmail.com" target="_blank">extremecarver@gmail.com</a><mailto:<a href="mailto:extremecarver@gmail.com" target="_blank">extremecarver@gmail.com</a>>> wrote:<br>Even though Gerd also speaks German, I think its better to continue in English. I am quite sure that this is the same bug then. Your map does not crash because it find another POI first. I also sometimes have two POI for the same thing - one for finding it via a category POI search, the other for the symbol in the map. I do wonder if you have two POI the order in the style matters? If you change the order they are created - does it crash?<br><br>Could it be that only 0x1234 POI are affected, but the newer 0x12345 types not? As soon as it finds 0x12345 it does not crash?<br><br>Lets take Verbier Village - it is not a ciy POI<br><a href="https://www.openstreetmap.org/node/8307159228" target="_blank">https://www.openstreetmap.org/node/8307159228</a><br><br>I use: highway=bus_stop | amenity=bus_stop | highway=busstop | amenity=busstop | railway=bus_stop {set name='bus_stop ${name}' | 'bus_stop' } [0x2f17 resolution 24]<br>for that one.<br><br>Cold de Jaman<br><a href="https://www.openstreetmap.org/node/1437437792" target="_blank">https://www.openstreetmap.org/node/1437437792</a><br>I have the rule:<br>0x1c01 resolution 24 continue]<br>[0x11607 resolution 20-21 continue]<br>[0x1151f resolution 22-22 continue<br> [0x1151f resolution 23-24]]<br><br>However the first one in my map obviously is 0x1c01 - an old type.<br><br><br>The other ones are a bit bad examples I noticed - because there exists several entries in osm data that could be found with identical name. However I have found no actual city only poi where it crashes - Saas Fee also has other POI named the same. So maybe they cause a crash.<br><br><br>On Wed, 2 Jun 2021 at 10:25, Thomas Morgenstern <<a href="mailto:webmaster@img2ms.de" target="_blank">webmaster@img2ms.de</a><mailto:<a href="mailto:webmaster@img2ms.de" target="_blank">webmaster@img2ms.de</a>>> wrote:<br>Kann sein, dass es am Style liegt. Ich nutze meinen eigenen Style, der z.B einen zusätzlichen POI für Städte einfügt. ich fand vor geraumer Zeit, dass Städte in der MDR nicht eingebbar sind, wenn der String Leerzeichen enthält. Dazu hatte ich auch in der mailinglist gepostet. Hr.Petermann sagte damals, das die MDR für Städte aber nicht anpassbar sei. deshalb hat bei mir jede Stadt noch einen zusätzlichen POI einer anderen Kategorie.<br>mfg<br><br>Am 02.06.2021 um 09:07 schrieb Felix Hartmann:<br>Very strange - I also tested this on "Frezeitkarte" Schweiz and it crashed too. It usually does not crash if you before had a non crash search.<br><br>On Wed, 2 Jun 2021 at 08:35, Thomas Morgenstern <<a href="mailto:webmaster@img2ms.de" target="_blank">webmaster@img2ms.de</a><mailto:<a href="mailto:webmaster@img2ms.de" target="_blank">webmaster@img2ms.de</a>>> wrote:<br>Kann ich nicht bestätigen, alle hier genannten Suchen sind erfolgreich ohne Abstutz. BC Ver 4.7.0 und eigene OSM map<br>mfg<br><br>Am 01.06.2021 um 22:32 schrieb Felix Hartmann:<br>A user of my maps just told me that there are some crashes in the Basecamp search. There is a clear pattern - only search phrases of minimum 2 words with a space between cause crashes.<br><br>I tested it on my maps, and on other mkgmap created maps and the crashes are more or less happening on all maps.<br><br><br>For Switzerland some places causing crashes:<br>Verbier Village<br>Saas Fee<br>Col de Jaman<br>Pic chaussy<br>Pic chosy<br><br><br>Also<br>2) the search must be the first from BC execution<br>3) if a good search already has been executed (single word), then the crash rarely occurs<br><br><br>Not happening with Garmin's own maps. The more entries (POIs) of the name exist - the more likely? Seems to happen more often in the French part of Switzerland compared to the Garmin part. But as many words like Saas Fee do not contain any special characters - I do not think it is related to any codepage problem.<br>--<br>Felix Hartman - Openmtbmap.org & VeloMap.org<br><br><br><br><br>_______________________________________________<br>mkgmap-dev mailing list<br><a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><mailto:<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a>><br><a href="https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br><br><br><br>--<br>Felix Hartman - Openmtbmap.org & VeloMap.org<br><br><br><br><br>--<br>Felix Hartman - Openmtbmap.org & VeloMap.org<br><br><br><br>--<br>Felix Hartman - Openmtbmap.org & VeloMap.org<br><br><br><br>--<br>Felix Hartman - Openmtbmap.org & VeloMap.org<br><br>_______________________________________________<br>mkgmap-dev mailing list<br><a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br><a href="https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><u></u><u></u></p></blockquote></div><p class="MsoNormal"><br clear="all"><u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal">-- <u></u><u></u></p><div><div><div><div><div><div><div><p class="MsoNormal">Felix Hartman - Openmtbmap.org & VeloMap.org<u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div></div></div></div>_______________________________________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Felix Hartman - Openmtbmap.org & VeloMap.org<br></div><br></div></div></div></div></div></div>