Re: [mkgmap-dev] Resurrect adjust-turn-headings

2020-10-21 Thread Ticker Berkin
> An: Development list for mkgmap > Betreff: Re: [mkgmap-dev] Resurrect adjust-turn-headings > > Hi Gerd > > I kept the existing logic that takes all arcs within one degree and > treats them as one (and fixed the extra case where they straddle + > -180) > so there should b

Re: [mkgmap-dev] Resurrect adjust-turn-headings

2020-10-20 Thread Gerd Petermann
2020 15:21 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Resurrect adjust-turn-headings Hi Gerd I kept the existing logic that takes all arcs within one degree and treats them as one (and fixed the extra case where they straddle +-180) so there should be no difference in this a

Re: [mkgmap-dev] Resurrect adjust-turn-headings

2020-10-20 Thread Ticker Berkin
pear with the default style. > > Gerd > > > Von: mkgmap-dev im Auftrag > von Ticker Berkin > Gesendet: Dienstag, 20. Oktober 2020 14:30 > An: Development list for mkgmap > Betreff: Re: [mkgmap-dev] Resurrect adjust-turn-headings

Re: [mkgmap-dev] Resurrect adjust-turn-headings

2020-10-20 Thread Gerd Petermann
appear with the default style. Gerd Von: mkgmap-dev im Auftrag von Ticker Berkin Gesendet: Dienstag, 20. Oktober 2020 14:30 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Resurrect adjust-turn-headings Hi Gerd With sharp-angle code enabled

Re: [mkgmap-dev] Resurrect adjust-turn-headings

2020-10-20 Thread Ticker Berkin
Hi Gerd With sharp-angle code enabled, most junctions will get compactDirs; just a few less than the existing code. Original gmapsupp.img for my test area was 9801728 and with this change it is 4096 bytes bigger. I looked at some of the NodCheck angle errors and decided that not much could be do

Re: [mkgmap-dev] Resurrect adjust-turn-headings

2020-10-20 Thread Gerd Petermann
rp-angles. > I assume that patch disables the compact dirs when this undocument > option is used? > > Gerd > > > Von: mkgmap-dev im Auftrag > von Gerd Petermann > Gesendet: Mittwoch, 14. Oktober 2020 19:26 > An: Development

Re: [mkgmap-dev] Resurrect adjust-turn-headings

2020-10-20 Thread Ticker Berkin
assume that patch disables the compact dirs when this undocument > option is used? > > Gerd > > > Von: mkgmap-dev im Auftrag > von Gerd Petermann > Gesendet: Mittwoch, 14. Oktober 2020 19:26 > An: Development list for mkgma

Re: [mkgmap-dev] Resurrect adjust-turn-headings

2020-10-20 Thread Gerd Petermann
Gerd Von: mkgmap-dev im Auftrag von Gerd Petermann Gesendet: Mittwoch, 14. Oktober 2020 19:26 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Resurrect adjust-turn-headings Hi Ticker, thanks for the patch. I'll have a closer look at the week

Re: [mkgmap-dev] Resurrect adjust-turn-headings

2020-10-14 Thread Gerd Petermann
Hi Ticker, thanks for the patch. I'll have a closer look at the weekend. Gerd Von: mkgmap-dev im Auftrag von Ticker Berkin Gesendet: Mittwoch, 14. Oktober 2020 10:24 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Resurrect adjust

Re: [mkgmap-dev] Resurrect adjust-turn-headings

2020-10-14 Thread Ticker Berkin
Hi Gerd I've been looking at turn pop-ups and routing decisions and attach a patch that makes improvements: Move decision about when to use compactDir initialHeadings from RouteNode to AngleChecker. The current code checks if any headings from a RouteNode share the same compactDir/4-bit sector an

Re: [mkgmap-dev] Resurrect adjust-turn-headings

2020-09-30 Thread Ticker Berkin
Hi Sharp turn-angles impose a route-choosing penalty. For "fastest" routing this is understandable. However these penalties are so high that the algorithm might choose to cross the road in question and then make 2 or 3 opposite turns to finally onto it in the correct direction. For drive-on:left,

Re: [mkgmap-dev] Resurrect adjust-turn-headings

2020-09-30 Thread Ticker Berkin
Hi I've been experimenting with turn angles, compactDirs (4-bit) or not (8 -bit) format, sharp-angle delay and routing pop-ups and have some observations: 1/ BaseCamp, MapSource, eTrex 30x (newish) and eTrex HCx (old) can give different pop-ups for the same map and route. BaseCamp results are sim

Re: [mkgmap-dev] Resurrect adjust-turn-headings

2020-09-21 Thread Ticker Berkin
Hi Gerd Examining compactDir logic there seem to be some strange issues, eg o When an start-of-road generates the first arc in a RouteNode, the pairing of arcs for any following mid-section of other road is upset. o It seems strange that the code stops using compact format when the initial headi

Re: [mkgmap-dev] Resurrect adjust-turn-headings

2020-09-18 Thread Gerd Petermann
stood. Gerd Von: mkgmap-dev im Auftrag von Ticker Berkin Gesendet: Freitag, 18. September 2020 15:40 An: mkgmap development Betreff: [mkgmap-dev] Resurrect adjust-turn-headings Hi I use mkgmap/Garmin a lot for road routing and driving and frequently

[mkgmap-dev] Resurrect adjust-turn-headings

2020-09-18 Thread Ticker Berkin
Hi I use mkgmap/Garmin a lot for road routing and driving and frequently find cases where 1/ exit roads cause pop-ups telling me to turn to stay on the main road. 2/ an obvious turn is needed to stay on the same road and no pop-up is generated. These were some of problems that --adjust-turn-headi