
Hi Paco, no problem here, the admin_centre is Paris, so only the label node matches the name of the boundary. Gerd
Date: Thu, 28 May 2015 15:10:46 +0200 From: paco.tyson@free.fr To: mkgmap-dev@lists.mkgmap.org.uk Subject: Re: [mkgmap-dev] [Patch v1] use role=label member to place POI
Hi Gerd,
I found the case I was talking about, it's the relation for France ( http://www.openstreetmap.org/relation/2202162 )
Paco.
----- Mail original ----- De: "Gerd Petermann" <gpetermann_muenchen@hotmail.com> À: mkgmap-dev@lists.mkgmap.org.uk Envoyé: Mercredi 20 Mai 2015 17:07:32 Objet: Re: [mkgmap-dev] [Patch v1] use role=label member to place POI
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 list mkgmap-dev@lists.mkgmap.org.uk http://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 _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev