Hi Dave,
the patch changes the rules in the default style so that exist on primary roads are taken
into account.
More important for your test case: It also changes the code so that
exists on motorway_links to other motorway_links are taken into account.
The old code only looked at exits on highway=motorway and highway=trunk,
the new code checks these highway types:
"motorway", "trunk", "primary", "motorway_link", "trunk_link", "primary_link"
So, when you use the patched binary with your own style, the big change is that the
condition
(highway=motorway_link | highway=trunk_link) & mkgmap:exit_hint=true & mkgmap:dest_hint=true
is now true, and that's why echotags is executed.
You can double check by adding this rule to your lines file:
(mkgmap:exit_hint=* | mkgmap:dest_hint=*) { echotags "hint" }
Test this once with the patched binary and once with the normal one and you should
see the difference.
Gerd
From: daveswarthout@gmail.com
Date: Tue, 19 May 2015 18:37:26 -0700
To: mkgmap-dev@lists.mkgmap.org.uk
Subject: Re: [mkgmap-dev] [Patch v1] improve handling of exits
When you say you didn't change the echotags code, did you rewrite the style rule? If you did that I'm embarrassed to admit I am unable to see the difference.
AFAIK I'm using the exact same style file for both runs, but the run with the older executables produced no output. I replaced that jar file with the new one (modified r3598) and all of a sudden output from echotags appeared.
Anyway, it's all good.
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev