<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi all,<br><br>see also <br>http://gis.19327.n5.nabble.com/Error-not-detected-tp5823898p5823965.html<br><br>I've implemented a quick solution which reports how often a rule expression was <br>evaluated and how often the evaluation returned true.<br><br>I can think of many ways to report this info, so I started with the most simple format:<br><prefix> <style file> "stats (rule/evals/true)" <expression> /<numEval>/<numTrue><br><br>Attached is the patch that implements this and a sample configuration file<br>for the logging containing this line:<br>uk.me.parabola.mkgmap.osmstyle.StyleImpl.level=INFO <br><br>The new option is activated with --report-style-stats.<br><br>A compiled mkgmap binary can be found here:<br><code><a href="http://files.mkgmap.org.uk/download/226/mkgmap.jar" target="_blank">http://files.mkgmap.org.uk/download/226/mkgmap.jar</a><br><br></code>Any comment is welcome!<br><br>Gerd<br>                                            </div></body>
</html>