<div dir="ltr">okay - well I should try to find a way to put more content into the label 2-4 instead of 1 then. The cutoff is still good. Some routes have very long names.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 13 Dec 2021 at 12:43, Gerd Petermann <<a href="mailto:gpetermann_muenchen@hotmail.com">gpetermann_muenchen@hotmail.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">Hi Felix,<br>
<br>
the labels which are shown in MapSource / Basecamp search are those which are stored in MDR 15.<br>
We change them already with the --mdr7-del option but that doesn't help for the names of route relations.<br>
mkgmap reads the full labels from the LBL file in each map tile and calculates the string for MDR15.<br>
Still, MDR15 is not used with the device, so this only effects the PC programs.<br>
Roads have 4 labels, other objects have only 1. With roads, the<br>
first label is rendered, other labels are shown when you click on the road.<br>
All labels are indexed, and the --housenumber code sometimes adds labels so that addresses can be found.<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: Montag, 13. Dezember 2021 12:29<br>
An: Development list for mkgmap<br>
Betreff: Re: [mkgmap-dev] Building display.jar fails<br>
<br>
I tried a couple of places that are cut down to 170 characters - and some I can find in Mapsource or Basecamp, Others I cannot. So 170 is definitely too much for the search index. Is there a way to have separate label for search vs the label on tooltip/printed out on the label? For search it clearly should be less (both Mapsurce and Basecamp).<br>
In general it would be good to have a separation between name for search and name for the label. I know we have 4 labels, but I haven*t really understood which label is for what and where which label shows up.<br>
<br>
On Mon, 13 Dec 2021 at 11:46, Gerd Petermann <<a href="mailto:gpetermann_muenchen@hotmail.com" target="_blank">gpetermann_muenchen@hotmail.com</a><mailto:<a href="mailto:gpetermann_muenchen@hotmail.com" target="_blank">gpetermann_muenchen@hotmail.com</a>>> wrote:<br>
Hi Felix,<br>
<br>
okay, I've committed the changes with r4836.<br>
It would be good to know if these long strings cause trouble in MapSource.<br>
I wouldn't be surprised to find that they cause buffer overflows if Garmin<br>
doesn't expect more than N bytes, and that again can cause all kinds of trouble.<br>
Will try to reproduce the problem with a modified default style ...<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><mailto:<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><mailto:<a href="mailto:extremecarver@gmail.com" target="_blank">extremecarver@gmail.com</a>>><br>
Gesendet: Montag, 13. Dezember 2021 11:32<br>
An: Development list for mkgmap<br>
Betreff: Re: [mkgmap-dev] Building display.jar fails<br>
<br>
it's working fine for me too. But I haven't got around to testing if the length should even be shorter related to search.function. Clearly anything over 170 is not useful. Maybe it should be even shorter, but apart from the value it works well<br>
<br>
On Mon, 13 Dec 2021 at 10:28, Ticker Berkin <<a href="mailto:rwb-mkgmap@jagit.co.uk" target="_blank">rwb-mkgmap@jagit.co.uk</a><mailto:<a href="mailto:rwb-mkgmap@jagit.co.uk" target="_blank">rwb-mkgmap@jagit.co.uk</a>><mailto:<a href="mailto:rwb-mkgmap@jagit.co.uk" target="_blank">rwb-mkgmap@jagit.co.uk</a><mailto:<a href="mailto:rwb-mkgmap@jagit.co.uk" target="_blank">rwb-mkgmap@jagit.co.uk</a>>>> wrote:<br>
Hi Gerd<br>
<br>
I don't have any problem with it<br>
<br>
Ticker<br>
<br>
On Mon, 2021-12-13 at 09:02 +0000, Gerd Petermann wrote:<br>
> Hi all,<br>
><br>
> I got no feedback on the patch label_len170.patch. Any comments?<br>
><br>
> Gerd<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>><mailto:<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" rel="noreferrer" target="_blank">https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><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><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" rel="noreferrer" target="_blank">https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><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" rel="noreferrer" target="_blank">https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
</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>