Hi Henning, cannot find a problem in source.osm. I've tried with an old bounds.zip and with the current one from http://osm2.pleiades.uni-wuppertal.de/bounds/latest/bounds.zip With both the LocationHook sets mkgmap:admin_level2=MNG for the two admin_level 4 ways.
Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <gpetermann_muenc...@hotmail.com> Gesendet: Donnerstag, 12. Juli 2018 19:16 An: Henning Scholland; Development list for mkgmap Betreff: Re: [mkgmap-dev] Admin relations Hi Henning, for a way with 2 nodes n/2 gives 1, and the nodes are numbered starting with 0, so the n/2 node is the last, not the first. The last is in the north. Maybe it would be better to calculate the position of the middle for a way with just 2 nodes, at least this would solve this problem and it should not produce new problems. I'll check your sample file tomorrow. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von Henning Scholland <o...@hscholland.de> Gesendet: Donnerstag, 12. Juli 2018 17:30 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] Admin relations Hi Gerd, while checking the process with echotags function, I can confirm the mkgmap:country tag is set wrong, but set. Henning _______________________________________________ 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