
Hello Gerd, I am not sure what to do with the hack from the attachment. Can you help me here. I would like to make the problem even clearer. I hope you can see the pictures. In the first picture you can see the address with addr:street. Everything is displayed correctly here. The second picture shows addr:place. The window here is weird. The name of the village is missing here. It is unusual that only the house number is displayed. I have tried the following settings with no success: mkgmap:street!=* & addr:place=* { set mkgmap:street='${addr:place}' } -> With this the search function will be destroyed. This seems to confuse the software. mkgmap:place!=* & addr:place=* { set mkgmap:place='${addr:place}' } -> This also has no function because mkgmap:place does not seem to be used. # mkgmap:street!=* & addr:street=* { set mkgmap:street='${addr:street}' } # mkgmap:street!=* & addr:housename=* { set mkgmap:street='${addr:housename}' } # mkgmap:housenumber!=* & addr:housenumber=* { set mkgmap:housenumber='${addr:housenumber}' } -> Everything is commented out here. But I get the same results as shown in the pictures. It seems as if the evaluation for addr:street and addr:place are hardcoded. Do you maybe have a solution for this? Thank you! Best regards Michael

Hi Michael, the patch would not change this and I found no way to tell Basecamp to show the 2nd-4th labels of the road where filled. Other software does that. The problem is that the IMG data format connects the address infomation to the road. So, either mkgmap could calculate a likely name using the nearby addr:place values (it does that already) and add the name as 1st label instead of 2nd-4th or you may render the nodes with the house numbers as POI. Only for this alternative the patch helps to fill the street field of the POI with the addr:place value if mkgmap:street is empty. I can compile an mkgmap.jar for you if you want to try that. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Michael Forstner <forstner-m@a1.net> Gesendet: Montag, 4. September 2023 11:37 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] House numbers Hello Gerd, I am not sure what to do with the hack from the attachment. Can you help me here. I would like to make the problem even clearer. I hope you can see the pictures. In the first picture you can see the address with addr:street. Everything is displayed correctly here. The second picture shows addr:place. The window here is weird. The name of the village is missing here. It is unusual that only the house number is displayed. I have tried the following settings with no success: mkgmap:street!=* & addr:place=* { set mkgmap:street='${addr:place}' } -> With this the search function will be destroyed. This seems to confuse the software. mkgmap:place!=* & addr:place=* { set mkgmap:place='${addr:place}' } -> This also has no function because mkgmap:place does not seem to be used. # mkgmap:street!=* & addr:street=* { set mkgmap:street='${addr:street}' } # mkgmap:street!=* & addr:housename=* { set mkgmap:street='${addr:housename}' } # mkgmap:housenumber!=* & addr:housenumber=* { set mkgmap:housenumber='${addr:housenumber}' } -> Everything is commented out here. But I get the same results as shown in the pictures. It seems as if the evaluation for addr:street and addr:place are hardcoded. Do you maybe have a solution for this? Thank you! Best regards Michael

Hi Michael, see here for the binary: https://files.mkgmap.org.uk/detail/562 I use the following rules in points in the style that I use when I cycle for mapping: addr:housenumber=* & addr:street=* { name '${addr:housenumber} ${name}' | '${addr:housenumber}' } [0x3200 resolution 24] addr:housenumber=* & addr:street!=* & addr:place=* { name 'pl-${addr:housenumber}' } [0x3200 resolution 24] Helps me to find unmapped addresses. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <gpetermann_muenchen@hotmail.com> Gesendet: Montag, 4. September 2023 13:16 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] House numbers Hi Michael, the patch would not change this and I found no way to tell Basecamp to show the 2nd-4th labels of the road where filled. Other software does that. The problem is that the IMG data format connects the address infomation to the road. So, either mkgmap could calculate a likely name using the nearby addr:place values (it does that already) and add the name as 1st label instead of 2nd-4th or you may render the nodes with the house numbers as POI. Only for this alternative the patch helps to fill the street field of the POI with the addr:place value if mkgmap:street is empty. I can compile an mkgmap.jar for you if you want to try that. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Michael Forstner <forstner-m@a1.net> Gesendet: Montag, 4. September 2023 11:37 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] House numbers Hello Gerd, I am not sure what to do with the hack from the attachment. Can you help me here. I would like to make the problem even clearer. I hope you can see the pictures. In the first picture you can see the address with addr:street. Everything is displayed correctly here. The second picture shows addr:place. The window here is weird. The name of the village is missing here. It is unusual that only the house number is displayed. I have tried the following settings with no success: mkgmap:street!=* & addr:place=* { set mkgmap:street='${addr:place}' } -> With this the search function will be destroyed. This seems to confuse the software. mkgmap:place!=* & addr:place=* { set mkgmap:place='${addr:place}' } -> This also has no function because mkgmap:place does not seem to be used. # mkgmap:street!=* & addr:street=* { set mkgmap:street='${addr:street}' } # mkgmap:street!=* & addr:housename=* { set mkgmap:street='${addr:housename}' } # mkgmap:housenumber!=* & addr:housenumber=* { set mkgmap:housenumber='${addr:housenumber}' } -> Everything is commented out here. But I get the same results as shown in the pictures. It seems as if the evaluation for addr:street and addr:place are hardcoded. Do you maybe have a solution for this? Thank you! Best regards Michael _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hello Gerd, apologies for the late reply. I tried the patch you made. But I do not see any difference in BaseCamp. Can you please explain in more detail what should change in BaseCamp? Thank you! Best regards Michael -----Ursprüngliche Nachricht----- Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> Im Auftrag von Gerd Petermann Gesendet: Montag, 4. September 2023 14:47 An: Development list for mkgmap <mkgmap-dev@lists.mkgmap.org.uk> Betreff: Re: [mkgmap-dev] House numbers Hi Michael, see here for the binary: https://files.mkgmap.org.uk/detail/562 I use the following rules in points in the style that I use when I cycle for mapping: addr:housenumber=* & addr:street=* { name '${addr:housenumber} ${name}' | '${addr:housenumber}' } [0x3200 resolution 24] addr:housenumber=* & addr:street!=* & addr:place=* { name 'pl-${addr:housenumber}' } [0x3200 resolution 24] Helps me to find unmapped addresses. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <gpetermann_muenchen@hotmail.com> Gesendet: Montag, 4. September 2023 13:16 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] House numbers Hi Michael, the patch would not change this and I found no way to tell Basecamp to show the 2nd-4th labels of the road where filled. Other software does that. The problem is that the IMG data format connects the address infomation to the road. So, either mkgmap could calculate a likely name using the nearby addr:place values (it does that already) and add the name as 1st label instead of 2nd-4th or you may render the nodes with the house numbers as POI. Only for this alternative the patch helps to fill the street field of the POI with the addr:place value if mkgmap:street is empty. I can compile an mkgmap.jar for you if you want to try that. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Michael Forstner <forstner-m@a1.net> Gesendet: Montag, 4. September 2023 11:37 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] House numbers Hello Gerd, I am not sure what to do with the hack from the attachment. Can you help me here. I would like to make the problem even clearer. I hope you can see the pictures. In the first picture you can see the address with addr:street. Everything is displayed correctly here. The second picture shows addr:place. The window here is weird. The name of the village is missing here. It is unusual that only the house number is displayed. I have tried the following settings with no success: mkgmap:street!=* & addr:place=* { set mkgmap:street='${addr:place}' } -> With this the search function will be destroyed. This seems to confuse the software. mkgmap:place!=* & addr:place=* { set mkgmap:place='${addr:place}' } -> This also has no function because mkgmap:place does not seem to be used. # mkgmap:street!=* & addr:street=* { set mkgmap:street='${addr:street}' } # mkgmap:street!=* & addr:housename=* { set mkgmap:street='${addr:housename}' } # mkgmap:housenumber!=* & addr:housenumber=* { set mkgmap:housenumber='${addr:housenumber}' } -> Everything is commented out here. But I get the same results as shown in the pictures. It seems as if the evaluation for addr:street and addr:place are hardcoded. Do you maybe have a solution for this? Thank you! Best regards Michael _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Michael, the patch changes the displayed data for a POI that doesn't have mkgmap:street set but addr:place. It has no effect on the road data and I don't see a good solution for that unless you really want to use the value from addr:place nodes to set the 1st label of the road. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Forstner Michael <forstner-m@a1.net> Gesendet: Samstag, 9. September 2023 20:52 An: 'Development list for mkgmap' Betreff: Re: [mkgmap-dev] House numbers Hello Gerd, apologies for the late reply. I tried the patch you made. But I do not see any difference in BaseCamp. Can you please explain in more detail what should change in BaseCamp? Thank you! Best regards Michael -----Ursprüngliche Nachricht----- Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> Im Auftrag von Gerd Petermann Gesendet: Montag, 4. September 2023 14:47 An: Development list for mkgmap <mkgmap-dev@lists.mkgmap.org.uk> Betreff: Re: [mkgmap-dev] House numbers Hi Michael, see here for the binary: https://files.mkgmap.org.uk/detail/562 I use the following rules in points in the style that I use when I cycle for mapping: addr:housenumber=* & addr:street=* { name '${addr:housenumber} ${name}' | '${addr:housenumber}' } [0x3200 resolution 24] addr:housenumber=* & addr:street!=* & addr:place=* { name 'pl-${addr:housenumber}' } [0x3200 resolution 24] Helps me to find unmapped addresses. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <gpetermann_muenchen@hotmail.com> Gesendet: Montag, 4. September 2023 13:16 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] House numbers Hi Michael, the patch would not change this and I found no way to tell Basecamp to show the 2nd-4th labels of the road where filled. Other software does that. The problem is that the IMG data format connects the address infomation to the road. So, either mkgmap could calculate a likely name using the nearby addr:place values (it does that already) and add the name as 1st label instead of 2nd-4th or you may render the nodes with the house numbers as POI. Only for this alternative the patch helps to fill the street field of the POI with the addr:place value if mkgmap:street is empty. I can compile an mkgmap.jar for you if you want to try that. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Michael Forstner <forstner-m@a1.net> Gesendet: Montag, 4. September 2023 11:37 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] House numbers Hello Gerd, I am not sure what to do with the hack from the attachment. Can you help me here. I would like to make the problem even clearer. I hope you can see the pictures. In the first picture you can see the address with addr:street. Everything is displayed correctly here. The second picture shows addr:place. The window here is weird. The name of the village is missing here. It is unusual that only the house number is displayed. I have tried the following settings with no success: mkgmap:street!=* & addr:place=* { set mkgmap:street='${addr:place}' } -> With this the search function will be destroyed. This seems to confuse the software. mkgmap:place!=* & addr:place=* { set mkgmap:place='${addr:place}' } -> This also has no function because mkgmap:place does not seem to be used. # mkgmap:street!=* & addr:street=* { set mkgmap:street='${addr:street}' } # mkgmap:street!=* & addr:housename=* { set mkgmap:street='${addr:housename}' } # mkgmap:housenumber!=* & addr:housenumber=* { set mkgmap:housenumber='${addr:housenumber}' } -> Everything is commented out here. But I get the same results as shown in the pictures. It seems as if the evaluation for addr:street and addr:place are hardcoded. Do you maybe have a solution for this? Thank you! Best regards Michael _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hello Gerd, I have now tried the POI with and without a patch. Attached are screenshots from BaseCamp. I cannot notice a difference. Maybe the patch will do something else. Do you have an explanation for this? I found some news on your website (see attachment). The highlighted area should do exactly what I would like. An unnamed street should be named if there is a house nearby that has addr:place. However, this does not happen. Has the function been removed? This does not need to be done with addr:street because there has to be a named street there anyway. The option --housenumbers is activated. Thank you! Best regards Michael

Hi Michael, the difference is visible when you click on a POI to see its property. Is has no effect on the road names. The news text might be confusing. It works as designed because address search works for addr:place, and yes, it adds the name to road, but you have to understand that the Garmin format allows up to four names (labels) for one road. All four can be used for the address search, but Basecamp only renders the first name. The logic for addr:place doesn't set the first label, it sets the 2nd, so that address search works and and the road is still correctly displayed as nameless. Attached screen shots show the POI generated for https://www.osm.org/way/690060365 when --add-pois-to-areas is used and my additional rules addr:housenumber=* & addr:street=* { name '${addr:housenumber} ${name}' | '${addr:housenumber}' } [0x3200 resolution 24] addr:housenumber=* & addr:street!=* & addr:place=* { name 'pl-${addr:housenumber}' } [0x3200 resolution 24] are added in the points file right after(!) the line addr:housenumber=* {set mkgmap:execute_finalize_rules=true} I hope it's clear now? Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Forstner Michael <forstner-m@a1.net> Gesendet: Sonntag, 10. September 2023 10:38 An: 'Development list for mkgmap' Betreff: Re: [mkgmap-dev] House numbers Hello Gerd, I have now tried the POI with and without a patch. Attached are screenshots from BaseCamp. I cannot notice a difference. Maybe the patch will do something else. Do you have an explanation for this? I found some news on your website (see attachment). The highlighted area should do exactly what I would like. An unnamed street should be named if there is a house nearby that has addr:place. However, this does not happen. Has the function been removed? This does not need to be done with addr:street because there has to be a named street there anyway. The option --housenumbers is activated. Thank you! Best regards Michael

Hello Gerd, I tried the system with POI and it works now. But this is just a workaround, which should not actually be necessary. Is it really not possible to name unnamed streets after an addr:place beforehand and then let the further process go through. OSM's work is then taken over when a street name is taken over by a nearby building with addr:place. I think a similar command is necessary: set mkgmap:label:1='${addr:place}' But it is unclear to me where this should be applied. I do not want to dig around too much in the source code. You will probably know a lot better about the source code. Thank you! Best regards Michael

Hi Michael, I think it would be possible to change the code in mkgmap, but it would be difficult. I still don't see any good reason to display an unnamed road with a name. In fact, I've invested a lot of time in my area to fix OSM data where mappers decided to name roads after the adddress of nearby houses. Why would it be difficult to implement this? The current implementation adds the label after the style rules were processed, so the style decides what ways are routable and what labels are added to them. The code tries to avoid adding address data to footways or cycleways. You suggest to parse the data first, check every possible line with highway=*, but at that stage mkgmap doesn't know if the style will add a routable line for that road. It would be much easier to change the logic which adds a label for the addr:place numbers. The code is in HousenumberRoad.java and it looks like this if (!found){ if (labels[0] == null){ // add empty label so that the address search name doesn't appear in the map // when the original road did not have any label labels[0] = ""; } for (int i = 1; i < labels.length; i++){ if (labels[i] == null){ labels[i] = streetName; log.info("added label",streetName,"for",road,"Labels are now:",Arrays.toString(labels)); found = true; break; } } } So, if you really want to display wrong road names you just have to remove the block which adds an empty label and change the for loop to start with 0 instead of 1. I would add an option to do that if you or someone else can convince me that this is a good idea. I think it would be plain wrong and very confusing. ciao, Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Forstner Michael <forstner-m@a1.net> Gesendet: Donnerstag, 14. September 2023 12:08 An: 'Development list for mkgmap' Betreff: Re: [mkgmap-dev] House numbers Hello Gerd, I tried the system with POI and it works now. But this is just a workaround, which should not actually be necessary. Is it really not possible to name unnamed streets after an addr:place beforehand and then let the further process go through. OSM's work is then taken over when a street name is taken over by a nearby building with addr:place. I think a similar command is necessary: set mkgmap:label:1='${addr:place}' But it is unclear to me where this should be applied. I do not want to dig around too much in the source code. You will probably know a lot better about the source code. Thank you! Best regards Michael _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hello Gerd, I hope that you in OSM do not remove the street names when there are houses with addr:street nearby. That would be wrong. With addr:place the streets should not have a name. I thought the process was not that easy. Changing the logic could solve the problem. But maybe it has other side effects and so we should try it. Have you perhaps already compiled the change? Thank you! Best regards Michael

Hi. I tend to agree with Michel. I can only look to Sweden and Poland where small locations have a name of the place (addr:place), no streets/roads names but all houses on all those streets have different numbers related to that place, rather than the normal relation to a street/road. Regards Karl On söndag 17 september 2023 09:15:21 CEST Forstner Michael wrote:
Hello Gerd,
I hope that you in OSM do not remove the street names when there are houses with addr:street nearby. That would be wrong. With addr:place the streets should not have a name.
I thought the process was not that easy. Changing the logic could solve the problem. But maybe it has other side effects and so we should try it. Have you perhaps already compiled the change?
Thank you!
Best regards Michael
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Karl, does that also mean you would also want to render the place name on all the unnamed roads which have a nearby addr:place address? In my area there are lots of small places and someone mapped them using addr:street=<place name> and also name=<place name> on various roads. I found that very irritating since I knew that these roads don't have names. It took a lot of time to change the tagging to addr:place and remove the wrong road names since I had to visit all of them to make sure that there really was no sign stating the name. I can't think of any reason to display a wrong road name. What am I missing here? Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von 7770 <7770@foskan.eu> Gesendet: Sonntag, 17. September 2023 09:46 An: 'Development list for mkgmap' Betreff: Re: [mkgmap-dev] House numbers Hi. I tend to agree with Michel. I can only look to Sweden and Poland where small locations have a name of the place (addr:place), no streets/roads names but all houses on all those streets have different numbers related to that place, rather than the normal relation to a street/road. Regards Karl On söndag 17 september 2023 09:15:21 CEST Forstner Michael wrote:
Hello Gerd,
I hope that you in OSM do not remove the street names when there are houses with addr:street nearby. That would be wrong. With addr:place the streets should not have a name.
I thought the process was not that easy. Changing the logic could solve the problem. But maybe it has other side effects and so we should try it. Have you perhaps already compiled the change?
Thank you!
Best regards Michael
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi. I have misunderstood. What i really wanted to say is that i dont think a change is needed. If there is no roadname, there is none. Searching for an address with help of the place name (entered as a street name on garmin device) + the number will find the correct location anyway. Regards Karl On söndag 17 september 2023 13:51:14 CEST Gerd Petermann wrote:
Hi Karl,
does that also mean you would also want to render the place name on all the unnamed roads which have a nearby addr:place address?
In my area there are lots of small places and someone mapped them using addr:street=<place name> and also name=<place name> on various roads. I found that very irritating since I knew that these roads don't have names. It took a lot of time to change the tagging to addr:place and remove the wrong road names since I had to visit all of them to make sure that there really was no sign stating the name. I can't think of any reason to display a wrong road name. What am I missing here?
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von 7770 <7770@foskan.eu> Gesendet: Sonntag, 17. September 2023 09:46 An: 'Development list for mkgmap' Betreff: Re: [mkgmap-dev] House numbers
Hi.
I tend to agree with Michel. I can only look to Sweden and Poland where small locations have a name of the place (addr:place), no streets/roads names but all houses on all those streets have different numbers related to that place, rather than the normal relation to a street/road.
Regards Karl
On söndag 17 september 2023 09:15:21 CEST Forstner Michael wrote:
Hello Gerd,
I hope that you in OSM do not remove the street names when there are houses with addr:street nearby. That would be wrong. With addr:place the streets should not have a name.
I thought the process was not that easy. Changing the logic could solve the problem. But maybe it has other side effects and so we should try it. Have you perhaps already compiled the change?
Thank you!
Best regards Michael
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hello, however, with the current implementation we have the problem that the street name only gets the house number (see attachment). From my point of view, that is not okay. BaseCamp simply needs a street name to display this correctly. In OSM, the street names can remain unchanged or unnamed. Thank you! Best regards, Michael -----Ursprüngliche Nachricht----- Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> Im Auftrag von 7770 Gesendet: Sonntag, 17. September 2023 14:34 An: Development list for mkgmap <mkgmap-dev@lists.mkgmap.org.uk> Betreff: Re: [mkgmap-dev] House numbers Hi. I have misunderstood. What i really wanted to say is that i dont think a change is needed. If there is no roadname, there is none. Searching for an address with help of the place name (entered as a street name on garmin device) + the number will find the correct location anyway. Regards Karl On söndag 17 september 2023 13:51:14 CEST Gerd Petermann wrote:
Hi Karl,
does that also mean you would also want to render the place name on all the unnamed roads which have a nearby addr:place address?
In my area there are lots of small places and someone mapped them using addr:street=<place name> and also name=<place name> on various roads. I found that very irritating since I knew that these roads don't have names. It took a lot of time to change the tagging to addr:place and remove the wrong road names since I had to visit all of them to make sure that there really was no sign stating the name. I can't think of any reason to display a wrong road name. What am I missing here?
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von 7770 <7770@foskan.eu> Gesendet: Sonntag, 17. September 2023 09:46 An: 'Development list for mkgmap' Betreff: Re: [mkgmap-dev] House numbers
Hi.
I tend to agree with Michel. I can only look to Sweden and Poland where small locations have a name of the place (addr:place), no streets/roads names but all houses on all those streets have different numbers related to that place, rather than the normal relation to a street/road.
Regards Karl
On söndag 17 september 2023 09:15:21 CEST Forstner Michael wrote:
Hello Gerd,
I hope that you in OSM do not remove the street names when there are houses with addr:street nearby. That would be wrong. With addr:place the streets should not have a name.
I thought the process was not that easy. Changing the logic could solve the problem. But maybe it has other side effects and so we should try it. Have you perhaps already compiled the change?
Thank you!
Best regards Michael
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Micheal, I've no idea how to force the rendering of further labels in Basecamp. Maybe you can ask Garmin why they don't display the other labels? There might even be a special label to force that, but I have no idea what that would be. Another altervative could be that there is a special character which could be added to the 1st label so that it is not rendered on the map but shown with the address info. The question is if Garmin will tell us such a trick... Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Forstner Michael <forstner-m@a1.net> Gesendet: Sonntag, 17. September 2023 14:45 An: 'Development list for mkgmap' Betreff: Re: [mkgmap-dev] House numbers Hello, however, with the current implementation we have the problem that the street name only gets the house number (see attachment). From my point of view, that is not okay. BaseCamp simply needs a street name to display this correctly. In OSM, the street names can remain unchanged or unnamed. Thank you! Best regards, Michael -----Ursprüngliche Nachricht----- Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> Im Auftrag von 7770 Gesendet: Sonntag, 17. September 2023 14:34 An: Development list for mkgmap <mkgmap-dev@lists.mkgmap.org.uk> Betreff: Re: [mkgmap-dev] House numbers Hi. I have misunderstood. What i really wanted to say is that i dont think a change is needed. If there is no roadname, there is none. Searching for an address with help of the place name (entered as a street name on garmin device) + the number will find the correct location anyway. Regards Karl On söndag 17 september 2023 13:51:14 CEST Gerd Petermann wrote:
Hi Karl,
does that also mean you would also want to render the place name on all the unnamed roads which have a nearby addr:place address?
In my area there are lots of small places and someone mapped them using addr:street=<place name> and also name=<place name> on various roads. I found that very irritating since I knew that these roads don't have names. It took a lot of time to change the tagging to addr:place and remove the wrong road names since I had to visit all of them to make sure that there really was no sign stating the name. I can't think of any reason to display a wrong road name. What am I missing here?
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von 7770 <7770@foskan.eu> Gesendet: Sonntag, 17. September 2023 09:46 An: 'Development list for mkgmap' Betreff: Re: [mkgmap-dev] House numbers
Hi.
I tend to agree with Michel. I can only look to Sweden and Poland where small locations have a name of the place (addr:place), no streets/roads names but all houses on all those streets have different numbers related to that place, rather than the normal relation to a street/road.
Regards Karl
On söndag 17 september 2023 09:15:21 CEST Forstner Michael wrote:
Hello Gerd,
I hope that you in OSM do not remove the street names when there are houses with addr:street nearby. That would be wrong. With addr:place the streets should not have a name.
I thought the process was not that easy. Changing the logic could solve the problem. But maybe it has other side effects and so we should try it. Have you perhaps already compiled the change?
Thank you!
Best regards Michael
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hello Gerd, I can try contacting Garmin but that will not be easy. But what I need to know beforehand is why only the house number is displayed in BaseCamp and on the Garmin devices. This has to be put on the road by mkgmap. Can you explain that better. Have you already compiled the new source code? Where can I download this? Thank you! Best regards, Michael -----Ursprüngliche Nachricht----- Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> Im Auftrag von Gerd Petermann Gesendet: Sonntag, 17. September 2023 15:03 An: Development list for mkgmap <mkgmap-dev@lists.mkgmap.org.uk> Betreff: Re: [mkgmap-dev] House numbers Hi Micheal, I've no idea how to force the rendering of further labels in Basecamp. Maybe you can ask Garmin why they don't display the other labels? There might even be a special label to force that, but I have no idea what that would be. Another altervative could be that there is a special character which could be added to the 1st label so that it is not rendered on the map but shown with the address info. The question is if Garmin will tell us such a trick... Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Forstner Michael <forstner-m@a1.net> Gesendet: Sonntag, 17. September 2023 14:45 An: 'Development list for mkgmap' Betreff: Re: [mkgmap-dev] House numbers Hello, however, with the current implementation we have the problem that the street name only gets the house number (see attachment). From my point of view, that is not okay. BaseCamp simply needs a street name to display this correctly. In OSM, the street names can remain unchanged or unnamed. Thank you! Best regards, Michael -----Ursprüngliche Nachricht----- Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> Im Auftrag von 7770 Gesendet: Sonntag, 17. September 2023 14:34 An: Development list for mkgmap <mkgmap-dev@lists.mkgmap.org.uk> Betreff: Re: [mkgmap-dev] House numbers Hi. I have misunderstood. What i really wanted to say is that i dont think a change is needed. If there is no roadname, there is none. Searching for an address with help of the place name (entered as a street name on garmin device) + the number will find the correct location anyway. Regards Karl On söndag 17 september 2023 13:51:14 CEST Gerd Petermann wrote:
Hi Karl,
does that also mean you would also want to render the place name on all the unnamed roads which have a nearby addr:place address?
In my area there are lots of small places and someone mapped them using addr:street=<place name> and also name=<place name> on various roads. I found that very irritating since I knew that these roads don't have names. It took a lot of time to change the tagging to addr:place and remove the wrong road names since I had to visit all of them to make sure that there really was no sign stating the name. I can't think of any reason to display a wrong road name. What am I missing here?
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von 7770 <7770@foskan.eu> Gesendet: Sonntag, 17. September 2023 09:46 An: 'Development list for mkgmap' Betreff: Re: [mkgmap-dev] House numbers
Hi.
I tend to agree with Michel. I can only look to Sweden and Poland where small locations have a name of the place (addr:place), no streets/roads names but all houses on all those streets have different numbers related to that place, rather than the normal relation to a street/road.
Regards Karl
On söndag 17 september 2023 09:15:21 CEST Forstner Michael wrote:
Hello Gerd,
I hope that you in OSM do not remove the street names when there are houses with addr:street nearby. That would be wrong. With addr:place the streets should not have a name.
I thought the process was not that easy. Changing the logic could solve the problem. But maybe it has other side effects and so we should try it. Have you perhaps already compiled the change?
Thank you!
Best regards Michael
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Michael, a road can have up to 4 labels, in your case the first label is an empty string and the second label is the name of the place. In the Garmin IMG format the housenumbers are stored as intervals along road segments. Typical roads in Germany have odd numbers on one side and even numbers on the other. Such information is stored with the road data so that Garmin software can interpolate the position of e.g number 6 or 17 in such a road. With addr:place numbers there is typically no such order, numbers often appear to be random. Therefore mkgmap often places an interval with equal start and end number at the position of the addr:place node. Reg. your problem: Basecmp displays (only) the first label, this is the empty string. I've not compiled the suggested patch sofar because I've learned that mgkmap often adds unexpected labels to unnamed roads. This is done to handle unnamed service roads but also happens for other unnamed roads. I've got to find out how to improve that, as it really sometimes produces wrong results when you search for addresses. BTW: When you search for an address with an addr:place with the address search, Basecamp displays a list of hits. If you click on that list Basecamp shows the target with the place name. I think that's what you want? Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Forstner Michael <forstner-m@a1.net> Gesendet: Sonntag, 17. September 2023 15:24 An: 'Development list for mkgmap' Betreff: Re: [mkgmap-dev] House numbers Hello Gerd, I can try contacting Garmin but that will not be easy. But what I need to know beforehand is why only the house number is displayed in BaseCamp and on the Garmin devices. This has to be put on the road by mkgmap. Can you explain that better. Have you already compiled the new source code? Where can I download this? Thank you! Best regards, Michael -----Ursprüngliche Nachricht----- Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> Im Auftrag von Gerd Petermann Gesendet: Sonntag, 17. September 2023 15:03 An: Development list for mkgmap <mkgmap-dev@lists.mkgmap.org.uk> Betreff: Re: [mkgmap-dev] House numbers Hi Micheal, I've no idea how to force the rendering of further labels in Basecamp. Maybe you can ask Garmin why they don't display the other labels? There might even be a special label to force that, but I have no idea what that would be. Another altervative could be that there is a special character which could be added to the 1st label so that it is not rendered on the map but shown with the address info. The question is if Garmin will tell us such a trick... Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Forstner Michael <forstner-m@a1.net> Gesendet: Sonntag, 17. September 2023 14:45 An: 'Development list for mkgmap' Betreff: Re: [mkgmap-dev] House numbers Hello, however, with the current implementation we have the problem that the street name only gets the house number (see attachment). From my point of view, that is not okay. BaseCamp simply needs a street name to display this correctly. In OSM, the street names can remain unchanged or unnamed. Thank you! Best regards, Michael -----Ursprüngliche Nachricht----- Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> Im Auftrag von 7770 Gesendet: Sonntag, 17. September 2023 14:34 An: Development list for mkgmap <mkgmap-dev@lists.mkgmap.org.uk> Betreff: Re: [mkgmap-dev] House numbers Hi. I have misunderstood. What i really wanted to say is that i dont think a change is needed. If there is no roadname, there is none. Searching for an address with help of the place name (entered as a street name on garmin device) + the number will find the correct location anyway. Regards Karl On söndag 17 september 2023 13:51:14 CEST Gerd Petermann wrote:
Hi Karl,
does that also mean you would also want to render the place name on all the unnamed roads which have a nearby addr:place address?
In my area there are lots of small places and someone mapped them using addr:street=<place name> and also name=<place name> on various roads. I found that very irritating since I knew that these roads don't have names. It took a lot of time to change the tagging to addr:place and remove the wrong road names since I had to visit all of them to make sure that there really was no sign stating the name. I can't think of any reason to display a wrong road name. What am I missing here?
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von 7770 <7770@foskan.eu> Gesendet: Sonntag, 17. September 2023 09:46 An: 'Development list for mkgmap' Betreff: Re: [mkgmap-dev] House numbers
Hi.
I tend to agree with Michel. I can only look to Sweden and Poland where small locations have a name of the place (addr:place), no streets/roads names but all houses on all those streets have different numbers related to that place, rather than the normal relation to a street/road.
Regards Karl
On söndag 17 september 2023 09:15:21 CEST Forstner Michael wrote:
Hello Gerd,
I hope that you in OSM do not remove the street names when there are houses with addr:street nearby. That would be wrong. With addr:place the streets should not have a name.
I thought the process was not that easy. Changing the logic could solve the problem. But maybe it has other side effects and so we should try it. Have you perhaps already compiled the change?
Thank you!
Best regards Michael
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hello Gerd, I have now adapted the code. The results can be seen in the image in the attachment. It performs exactly what I wanted. The question is whether to make a release. But I found another problem in the search. Not all addresses are displayed. Should I open an own ticket here? Thank you! Best regards, Michael

Hi Michael, please post a patch so that we can verify whether your change is of general use. Regarding the address search problem: Yes, please start a new thread and try to upload a complete combination of test data, options and style so that we can reproduce the poblem to https://files.mkgmap.org.uk/ Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Forstner Michael <forstner-m@a1.net> Gesendet: Donnerstag, 21. September 2023 19:08 An: 'Development list for mkgmap' Betreff: Re: [mkgmap-dev] House numbers Hello Gerd, I have now adapted the code. The results can be seen in the image in the attachment. It performs exactly what I wanted. The question is whether to make a release. But I found another problem in the search. Not all addresses are displayed. Should I open an own ticket here? Thank you! Best regards, Michael

Hello Gerd, in my map I basically have two line levels. The first lines are used to display streets, paths, etc. with names. But you cannot navigate here. The second level is invisible and is used for navigation. No street names are used here. Therefore, the patch is used to name the streets in the invisible level after the houses. The address will then be displayed correctly in BaseCamp. Thank you! Best regards, Michael

Hi Michael, I guess that means that you see no street names in the routing directions even when roads have names? (In German it's the tab Wegbeschreibung für Routen) when you open a route. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Forstner Michael <forstner-m@a1.net> Gesendet: Samstag, 23. September 2023 09:43 An: 'Development list for mkgmap' Betreff: Re: [mkgmap-dev] House numbers Hello Gerd, in my map I basically have two line levels. The first lines are used to display streets, paths, etc. with names. But you cannot navigate here. The second level is invisible and is used for navigation. No street names are used here. Therefore, the patch is used to name the streets in the invisible level after the houses. The address will then be displayed correctly in BaseCamp. Thank you! Best regards, Michael

It is unclear to me what BaseCamp is doing. In any case, the street names are there... -----Ursprüngliche Nachricht----- Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> Im Auftrag von Gerd Petermann Gesendet: Samstag, 23. September 2023 10:09 An: Development list for mkgmap <mkgmap-dev@lists.mkgmap.org.uk> Betreff: Re: [mkgmap-dev] House numbers Hi Michael, I guess that means that you see no street names in the routing directions even when roads have names? (In German it's the tab Wegbeschreibung für Routen) when you open a route. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Forstner Michael <forstner-m@a1.net> Gesendet: Samstag, 23. September 2023 09:43 An: 'Development list for mkgmap' Betreff: Re: [mkgmap-dev] House numbers Hello Gerd, in my map I basically have two line levels. The first lines are used to display streets, paths, etc. with names. But you cannot navigate here. The second level is invisible and is used for navigation. No street names are used here. Therefore, the patch is used to name the streets in the invisible level after the houses. The address will then be displayed correctly in BaseCamp. Thank you! Best regards, Michael _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Michael, I see. It probably works where roads have nearby houses with addresses since you always assign a road label in that case with your version of code in HousenumberRoad.java Try without --housenumbers and you'll see different results. In some cases highways have different addr:place along the road, maybe even on the left and right side. The displayed name is probably unpredictable in that case and possibly wrong for many numbers. Try e.g. the area around https://www.osm.org/way/495902638 (I am not sure if the road name "Visbeker Straße" is correct there, I have to verify that, but addresses for Holzhausen and Thölstedt are surveyed) So I think it's a very special solution for a minor problem and not always working, right? Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Forstner Michael <forstner-m@a1.net> Gesendet: Samstag, 23. September 2023 10:44 An: 'Development list for mkgmap' Betreff: Re: [mkgmap-dev] House numbers It is unclear to me what BaseCamp is doing. In any case, the street names are there... -----Ursprüngliche Nachricht----- Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> Im Auftrag von Gerd Petermann Gesendet: Samstag, 23. September 2023 10:09 An: Development list for mkgmap <mkgmap-dev@lists.mkgmap.org.uk> Betreff: Re: [mkgmap-dev] House numbers Hi Michael, I guess that means that you see no street names in the routing directions even when roads have names? (In German it's the tab Wegbeschreibung für Routen) when you open a route. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Forstner Michael <forstner-m@a1.net> Gesendet: Samstag, 23. September 2023 09:43 An: 'Development list for mkgmap' Betreff: Re: [mkgmap-dev] House numbers Hello Gerd, in my map I basically have two line levels. The first lines are used to display streets, paths, etc. with names. But you cannot navigate here. The second level is invisible and is used for navigation. No street names are used here. Therefore, the patch is used to name the streets in the invisible level after the houses. The address will then be displayed correctly in BaseCamp. Thank you! Best regards, Michael _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hello Gerd, I entered the route and the results can be seen in the attached image. I cannot find any problem here. It is questionable whether BaseCamp thinks more ahead than a Garmin device. In any case, I will try the modification more closely. Best regards, Michael
participants (4)
-
7770
-
Forstner Michael
-
Gerd Petermann
-
Michael Forstner