Hi Gerd,
sorry I should have tested better. Ì actually just inserted the rules into my normal ruleset and only used a clean lines file with example c) after noticing nothings seems to work - should have done that for b) too. So it seems there is some problem with continue following this statement!
My testfile an the following lines file:
service=driveway & ( highway=service | highway=track | highway=path | highway=footway | highway=residential ) & access!=yes & access!=designated & ( bicycle=no | bicycle=private | bicycle!=* ) & ( vehicle=no | vehicle=private | vehicle!=* ) & foot!=private & foot!=yes & foot!=designated & bicycle!=designated & bicycle!=yes & sac_scale!=* & mtb:scale!=* {set mkgmap:set_semi_connected_type=none; set mkgmap:set_unconnected_type=none}
service=driveway {set mkgmap:set_unconnected_type=none} [0x13 road_class=0 road_speed=0 resolution 24 continue]
service=driveway [0x1040c resolution 24]
leads to:
unconnected driveway, as well as semi_connected driveway both ending up in the map as 0x1040c. However the first 0x13 road is not in the map (neither unconnected, nor semi_connected).
So it seems like after the continue command the previous (1. line of rules) ruleset is simply ignored.
And yes - my testfile was intentional designed this way because I wanted to test out if roads being joined could change something.
Changing the lines file to:
service=driveway & ( highway=service | highway=track | highway=path |
highway=footway | highway=residential ) & access!=yes &
access!=designated & ( bicycle=no | bicycle=private | bicycle!=* )
& ( vehicle=no | vehicle=private | vehicle!=* ) & foot!=private
& foot!=yes & foot!=designated & bicycle!=designated &
bicycle!=yes & sac_scale!=* & mtb:scale!=* {set
mkgmap:set_semi_connected_type=none; set
mkgmap:set_unconnected_type=none}
service=driveway [0x13 road_class=0 road_speed=0 resolution 24 continue]
service=driveway [0x1040c resolution 24]
leads to:
same result.
even this:
service=driveway & ( highway=service | highway=track | highway=path |
highway=footway | highway=residential ) & access!=yes &
access!=designated & ( bicycle=no | bicycle=private | bicycle!=* )
& ( vehicle=no | vehicle=private | vehicle!=* ) & foot!=private
& foot!=yes & foot!=designated & bicycle!=designated &
bicycle!=yes & sac_scale!=* & mtb:scale!=* {set
mkgmap:set_semi_connected_type=none; set
mkgmap:set_unconnected_type=none}
service=driveway {set mkgmap:set_unconnected_type=none} [0x13 road_class=0 road_speed=0 resolution 24 continue]
service=driveway {set mkgmap:set_unconnected_type=none} [0x1040c resolution 24]
leads to the 0x1040c line still being present in the final map. So the continue statement somehow havocs both the mkgmap:set_unconnected_type as well as the mkgmap:set_semi_connected_tye.
Felix