Hi Michael, I am not sure if I understand what you are trying to achive. Do you think the map should show the name of the place as the name of the road? That would be very misleading when that name is not signed anywhere, also sometimes difficult where the road is used to reach different addr:place addresses (e.g. one the left and right side) Or do you want to see the name of the place (or the full address) when you click on a building? This can be done, maybe with an additional patch like the attached (which is just a quick hack) and seems to be a good idea, maybe with a new tag mkgmap:place. Your idea with { set mkgmap:street='${addr:place}' } is more or less doing the same but might confuse the code that calculates the data for the address search.
I think the important thing is that you can find the address in Basecamp with the address search. I don't know why Basecamp doesn't show the other labels of the road, I think my Oregon does. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von Forstner Michael <forstne...@a1.net> Gesendet: Samstag, 2. September 2023 22:36 An: 'Development list for mkgmap' Betreff: Re: [mkgmap-dev] House numbers Hello Gerd, the behaviour is to be expected that only the house number is displayed for the street if the street has no name. But this behaviour is not nice. Is there a setting or command to bypass this? Anyway, what does not work is this: mkgmap:street!=* & addr:place=* { set mkgmap:street='${addr:place}' } The problem are the rules of OSM. Streets may not be named outside of a town. If there is a house here, it can only be named with addr:place instead of addr:street. Thanks! Best regards, Michael _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Index: src/uk/me/parabola/mkgmap/osmstyle/StyledConverter.java =================================================================== --- src/uk/me/parabola/mkgmap/osmstyle/StyledConverter.java (revision 4909) +++ src/uk/me/parabola/mkgmap/osmstyle/StyledConverter.java (working copy) @@ -1381,7 +1381,10 @@ if(zip != null) ms.setZip(zip); - + + if (street == null) + street = element.getTag("addr:place"); + if(street != null) ms.setStreet(street);
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev