logo separator

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

From WanMil wmgcnfg at web.de on Wed Sep 4 19:16:05 BST 2013

ref, int_ref, nat_ref and ref_ref is already moved to the style file in 
the branch. They are composed to mkgmap:ref.

exit:facility, exit:road_ref and exit:to might also be removed by 
assigning new tags mkgmap:exit_facility, mkgmap:exit_road_ref and 
mkgmap:exit_to.
But the question is: are these tags used by anyone?
The tags are not or very rarely used in OSM (see 
http://taginfo.openstreetmap.org).
The values that can be used with exit:facility are not really documented 
(apart from the mailing list post: 
http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2009q1/001317.html). So I 
guess this is a dead function.

junction is used to detect roundabouts. We could map that to 
mkgmap:junction but I am not sure if that really helps?

WanMil


> couldn't the int_ref, nat_ref, exit:to and junction also be moved to the
> style-file?
>
> oneway seems to me the only thing, that cannot be moved to the
> style-file - or better would need some additional mkgmap:oneway command
> and be a bit more complicated (values like -1 or reverse, or 1....)
> On 29.08.2013 21:22, WanMil wrote:
>> The patch moves the road speed calculations based on the maxspeed tag
>> to the style file. It uses the new maxspeedkmh function to calculate
>> the new internal tag mkgmap:road-speed-class.
>>
>> This makes the ignore-maxspeeds option superfluous. Anyhow I have kept
>> it to ignore the evaluation of the new tag mkgmap:road-speed-class.
>>
>> The second advantage is that maxspeed can be removed from the
>> builtin-tag-list which meaans the maxspeed tag is not loaded if not
>> referenced in the style file.
>>
>> WanMil
>>
>>
>> _______________________________________________
>> mkgmap-dev mailing list
>> mkgmap-dev at lists.mkgmap.org.uk
>> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
> --
> keep on biking and discovering new trails
>
> Felix
> openmtbmap.org &www.velomap.org
>
>
>
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>



More information about the mkgmap-dev mailing list