logo separator

[mkgmap-dev] Continue patch not working on two routable roads.

From Felix Hartmann extremecarver at googlemail.com on Wed Sep 30 22:32:32 BST 2009

In general the continue patch works great. However the continue patch 
does not seems to drop stuff if mkgmap later on thinks it is identical??
After messing for 3 hours now trying to find out why some actions don't 
work I have found out that mkgmap does not enact the "continue" action, 
in case it thinks that the result is identical - or the tags are identical.
OR if there is a difference in the routing attributes (or oneway).

So currently it is not possible to put two oneway streets counterfacing 
via continue command, nor two identical ways with different routing speed.

So lets start easy:
*The following also does not work *
highway=* [0x01 road_class=0 road_speed=1 resolution 20 continue]
highway=* [0x01 road_class=0 road_speed=1 resolution 24]
highway=* [0x01 road_class=0 road_speed=1 resolution 24]

*While the following works without probs:*
highway=* [0x02 road_class=0 road_speed=1 resolution 20 continue]
highway=path [0x01 road_class=0 road_speed=1 resolution 24]
highway=path [0x01 road_class=0 road_speed=1 resolution 24]



*The following example simply does not work:*

highway=* & incline=down {set oneway=yes; set copy=98}
highway=* & incline=up {set oneway=-1; set copy=99}
highway=* & incline<0 {set oneway=yes; set copy=98}
highway=* & incline>0 {set oneway=-1; set copy=99}

highway=* & copy=* [0x16 *road_class=4 road_speed=3* resolution 20 continue]
highway=* & copy=99 {set oneway=yes} [0x01 road_class=0 road_speed=1 
resolution 24]
highway=* & copy=98 {set oneway=-1} [0x01 road_class=0 road_speed=1 
resolution 24]

*- here 0x16 only is output. The following example will work however:*

highway=* & incline=down {set oneway=yes; set copy=98}
highway=* & incline=up {set oneway=-1; set copy=99}
highway=* & incline<0 {set oneway=yes; set copy=98}
highway=* & incline>0 {set oneway=-1; set copy=99}

highway=* & copy=* [0x16  continue resolution 20]
highway=* & copy=99 {set oneway=yes} [0x01 road_class=0 road_speed=1 
resolution 24]
highway=* & copy=98 {set oneway=-1} [0x01 road_class=0 road_speed=1 
resolution 24]




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090930/08281cfc/attachment.html 


More information about the mkgmap-dev mailing list