
Gerd, I don't really have an opinion on which one should be preferred, I was just asking out of curiosity. The first matching means the first in the list of objects linked to the relation, am I right ? I have seen label used in the past, I can't guarantee you that both were set but as usual with OSM, we can't eliminate this combination. Paco Le 20 mai 2015 à 17:07, Gerd Petermann <gpetermann_muenchen@hotmail.com> a écrit :
Hi Paco,
the first one that matches is used. Do you think that one should be prefered? Do you have a case where both nodes have the same name as the relation itself?
Gerd
From: paco.tyson@free.fr Date: Wed, 20 May 2015 16:58:45 +0200 To: mkgmap-dev@lists.mkgmap.org.uk Subject: Re: [mkgmap-dev] [Patch v1] use role=label member to place POI
Hi Gerd,
What happens when the relation has both role=label and role=admin_centre ?
Le 20 mai 2015 à 16:41, Gerd Petermann <gpetermann_muenchen@hotmail.com> a écrit :
Hi all,
quite a lot of mp-relations have a node member with role=label.
The attached patch changes the code for the --add-pois-to-areas option so that the location of this node is used for the generated POI when the name of the node and the name of the relation are equal (like with role=admin_centre)
A binary is here: http://files.mkgmap.org.uk/download/268/mkgmap.jar
Gerd
<use-label-node-v1.patch>_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing listmkgmap-dev@lists.mkgmap.org.ukhttp://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev