logo separator

[mkgmap-dev] feedback on sharp-angles-v4.patch?

From Gerd Petermann GPetermann_muenchen at hotmail.com on Sat Oct 17 15:12:01 BST 2015

Hi Minko,

you may see a difference when two roads with road_speed=3 build a sharp angle.
Maybe the only difference is the calculated travel time, in rare cases a different 
route will be used because of this difference.

Gerd

________________________________________
Von: mkgmap-dev-bounces at lists.mkgmap.org.uk <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Minko <ligfietser at online.nl>
Gesendet: Samstag, 17. Oktober 2015 16:04
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] feedback on sharp-angles-v4.patch?

Hi Gerd,
My highest road_speed value is 3.
Maybe this is why this option doesn't make very little difference, if any at all?


> Hi Minko,
>
> if you can't find any, that is also telling me that the option is rather
> useless.
>
> With --cycle-map mkgmap might produce larger changes when the
> sum of the road_speed values of two arcs is rather high.
>
> The corresponding part of the patch:
> +                     if (cycleMap){
> +//                           if (sumSpeeds >= 14)
> +//                                   maskedMinAngle = 0x80;
> +//                           if (sumSpeeds >= 12)
> +//                                   maskedMinAngle = 0x70;
> +//                           if (sumSpeeds >= 10)
> +//                                   maskedMinAngle = 0x60;
> +                             if (sumSpeeds >= 8)
> +                                     maskedMinAngle = 0x50;
> +                             else if (sumSpeeds >= 6)
> +                                     maskedMinAngle = 0x40;
> +                             else if (sumSpeeds >= 4)
> +                                     maskedMinAngle = 0x30;
> +                     }
>
> Does that help?
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list