logo separator

[mkgmap-dev] [PATCH v2] Move maxspeed calculations to style file

From WanMil wmgcnfg at web.de on Fri Aug 30 21:11:08 BST 2013

> Just to confirm - this affects only the *max* speed, correct?  So if my
> defaults for single-track unclassified roads suggest 40mph, but tags say
> we're allowed to do up to 60mph (both quite reasonable here in Scotland,
> where the National Speed Limit is unattainable on many roads), then the
> map won't try to take me down the narrow roads just because the allowed
> maximum is higher?
>
> Or will I need to reformulate my speed rules to avoid increasing speed
> class?  (And, if so, does such a reformulation need to be in the default
> rules?)

Yes, I think other guys have explained. With the patch you can write 
your own speed rules. If don't consider maxspeed in your style the 
maxspeed tag is not taken into account.
At the moment the default style uses an include file with the old 
hardcoded rules.

>
> P.S. Please would you post patches in a text/* MIME-type (ideally
> text/x-patch)?  application/x-download isn't really appropriate for
> diffs, as it doesn't imply any charset or line-end conversions, and is
> harder to display inline.

Mmh, my mailtool identifies the patches correctly. I think the 
webinterface changes the MIME-type (?).
Anyhow I do not post any patches for this case any more because all 
changes are directly commited to the branch now.



More information about the mkgmap-dev mailing list