logo separator

[mkgmap-dev] [PATCH v2] modify road speed and class from a POI

From Felix Hartmann extremecarver at googlemail.com on Wed Oct 14 23:30:51 BST 2009


Mark Burton wrote:
> Felix,
>
>   
>> Just a small question. If I add to a poi { add road_speed_min='-1'; add 
>> road_speed_min='1' } what happens if the original road had road_speed=0 
>> will it be increased or stay at 0?
>> (I assume and hope for the latter).
>>     
>
> Yes, the min/max tags only have an effect if mkgmap:road-speed or
> mkgmap:road-class are in use for the way in question.
>
> BTW - the syntax is mkgmap:road-speed-min and not road_speed_min as in
> your example (I think you knew that, really)
>   
Hmm no, I find this confusing as in the lines file I have always been 
using road_speed and road_class...
Or is road-speed working everywhere?
okay so now I use this:
highway=traffic_signals  { add mkgmap:road_speed = '-1'; add 
mkgmap:road_class = '-1'; add mkgmap:road-speed-min = '1' }

I noticed that setting only road_speed or road_class was not significant 
enough. with the min values we have no I will try whether maybe
highway=traffic_signals  { add mkgmap:road_speed = '-2'; add 
mkgmap:road-speed-min = '1' } is more appropriate.
> Mark
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20091015/afc1944e/attachment.html 


More information about the mkgmap-dev mailing list