
Hi Gerd, thanks for the fix, for the issue on Chinese side of the border it works fine. Henning On 13.07.2018 13:19, Gerd Petermann wrote:
Hi,
I've implemented the small change for two node ways in r4195. As expected it fixes the problem for the way in China. In my previous post I forgot to add "in Mongolia" after "the two admin_level 4 ways.".
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <gpetermann_muenchen@hotmail.com> Gesendet: Freitag, 13. Juli 2018 06:50 An: Henning Scholland; Development list for mkgmap Betreff: Re: [mkgmap-dev] Admin relations
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-bounces@lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <gpetermann_muenchen@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-bounces@lists.mkgmap.org.uk> im Auftrag von Henning Scholland <osm@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 _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev