[mkgmap-dev] Key "motorcar"
From Gerd Petermann gpetermann_muenchen at hotmail.com on Sun Feb 21 10:31:52 GMT 2016
Dave Swarthout wrote > I ask because I am confused by line 29, where it seems my assumption is > reversed because the value for motor_vehicle is being transferred to the > motorcar tag : > > Line 29: motor_vehicle=* { add motorcar='${motor_vehicle}'; add > goods='${motor_vehicle}'; add hgv='${motor_vehicle}'; add > psv='${motor_vehicle}'; add emergency='${motor_vehicle}'; } > > And also this comment: > > Line 46: # Therefore we have to choose one vehicle type - and the winner > is: motorcar > > After which access is set for a range of situations all involving the term > "motorcar" > > Can someone take a few minutes to explain these rules? The idea is simple , if motor_vehicle=* is used and motorcar is not set,then set motorcar=* to the same value. Note that the action is add, not set. The line 46 is preceeded by this: # throughroute cannot be handled differently for different vehicle types It means that the Garmin format has only one bit that means "allow no through route" So, if we find motorcar=destination we set the flag. If I got that right, the flag is ignored when you select a bicycle as vehicle when routing with Garmin software, so the solution seems to be ok for me. One who creates a map for trucks should change this rule. Gerd -- View this message in context: http://gis.19327.n5.nabble.com/Key-motorcar-tp5868207p5868217.html Sent from the Mkgmap Development mailing list archive at Nabble.com.
- Previous message: [mkgmap-dev] Key "motorcar"
- Next message: [mkgmap-dev] Key "motorcar"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list