Re: [mkgmap-dev] Bug in Road Merging - actually doubling roads.

2018-03-01 Thread Gerd Petermann
Hi Felix, okay, I think I can reproduce a routing problem on my Oregon with your map. I have a route that works from south to north but not in the reverse direction. I'll try to create a similar situation with a modified default style to find out what the problem is. My current prime suspect is

Re: [mkgmap-dev] Bug in Road Merging - actually doubling roads.

2018-03-01 Thread Felix Hartmann
routing issues is on devices only - not in Basecamp. Reported so far from Oregon and Edge - routing from North to East over that road. Well what I thought was that mkgmap should check if another road is put above. Right now it's 1 road supposed to be there, 2 and 3 roads overlapping due to that

Re: [mkgmap-dev] Bug in Road Merging - actually doubling roads.

2018-03-01 Thread Gerd Petermann
Hi Felix, Felix Hartmann-2 wrote > Okay - no-merge-lines makes no difference, also removing > addArcsToMajorRoads(); > function makes no difference. And I just noticed - the patch does not > work. > It works in it's own way - but not achieving the result that is needed. > Whatever I do - I still

Re: [mkgmap-dev] Bug in Road Merging - actually doubling roads.

2018-03-01 Thread Felix Hartmann
Okay - no-merge-lines makes no difference, also removing addArcsToMajorRoads(); function makes no difference. And I just noticed - the patch does not work. It works in it's own way - but not achieving the result that is needed. Whatever I do - I still end up with 6 routable lines. I guess the

Re: [mkgmap-dev] Bug in Road Merging - actually doubling roads.

2018-03-01 Thread Gerd Petermann
Hi Felix, okay, now I have it. Doesn't help much because the debug routine simply creates OSM ways for the data, and since your style creates many duplicated ways JOSM cannot handle the data:-( Maybe I'll change the debug code to create unique way ids and store the osm id in a tag later. Did

Re: [mkgmap-dev] Relation type=area

2018-03-01 Thread Gerd Petermann
The proposal doesn't say that the members of a relation have to build closed rings, I think it is quite different to mp. If you change the type to multipolygon you have to hope that mkgmap connects the ways. No idea if that works. Gerd Von: mkgmap-dev

Re: [mkgmap-dev] Relation type=area

2018-03-01 Thread Henning Scholland
To my understanding type=area needs to be changed to multipolygon. Only issue is the direction of the steps will be random. Henning On 01.03.2018 18:35, Gerd Petermann wrote: > Hi Henning, > > no idea. My understanding is that Enrico wants to render the area between the > two ways with role

Re: [mkgmap-dev] Relation type=area

2018-03-01 Thread Gerd Petermann
Hi Henning, no idea. My understanding is that Enrico wants to render the area between the two ways with role upper/lower, not the ways. Gerd Von: mkgmap-dev im Auftrag von Henning Scholland

Re: [mkgmap-dev] Relation type=area

2018-03-01 Thread Henning Scholland
But it should be possible to handle it by mkgmap style-file. At least you can copy route-relation tags to ways and it should be similar in that case. Or am I wrong @Gerd? Henning On 01.03.2018 15:33, demon.box wrote: > Hi Gerd, thanks very much for your answer but what a pity... it means that at

Re: [mkgmap-dev] Bug in Road Merging - actually doubling roads.

2018-03-01 Thread Felix Hartmann
Sorry typo: https://openmtbmap.org/debug_orig_map2.zip will work. On 1 Mar 2018 10:40 am, "Gerd Petermann" wrote: > Hi Felix, > > tried a few times now but always got "404 Not Found". > Please upload the file to http://files.mkgmap.org.uk/ > > Gerd > >

Re: [mkgmap-dev] Relation type=area

2018-03-01 Thread chris66
Am 01.03.2018 um 09:28 schrieb Gerd Petermann: Yes, it is a pity, but I think this is not only a problem in mkgmap, it is a general problem in OSM, therefore I think you should discuss this first in the OSM forums / lists. The type=area proposal is quite old is not often used. There are

Re: [mkgmap-dev] Bug in Road Merging - actually doubling roads.

2018-03-01 Thread Gerd Petermann
Hi Felix, tried a few times now but always got "404 Not Found". Please upload the file to http://files.mkgmap.org.uk/ Gerd Von: mkgmap-dev im Auftrag von Felix Hartmann Gesendet:

Re: [mkgmap-dev] Relation type=area

2018-03-01 Thread Gerd Petermann
Hi Enrico, Yes, it is a pity, but I think this is not only a problem in mkgmap, it is a general problem in OSM, therefore I think you should discuss this first in the OSM forums / lists. The type=area proposal is quite old is not often used. Gerd Von: