
19 Nov
2014
19 Nov
'14
8:40 a.m.
Hi all, see also http://gis.19327.n5.nabble.com/Error-not-detected-tp5823898p5823965.html I've implemented a quick solution which reports how often a rule expression was evaluated and how often the evaluation returned true. I can think of many ways to report this info, so I started with the most simple format: <prefix> <style file> "stats (rule/evals/true)" <expression> /<numEval>/<numTrue> Attached is the patch that implements this and a sample configuration file for the logging containing this line: uk.me.parabola.mkgmap.osmstyle.StyleImpl.level=INFO The new option is activated with --report-style-stats. A compiled mkgmap binary can be found here: http://files.mkgmap.org.uk/download/226/mkgmap.jar Any comment is welcome! Gerd