logo separator

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

From Minko ligfietser at online.nl on Sat Oct 17 15:04:27 BST 2015

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?


More information about the mkgmap-dev mailing list