<div dir="ltr"><div><div><div><div>Hi,<br></div>David, in expression_builder2 picture, there is a "no filter" rule (which means all the features of your layer) at the top of the "WAPENTAKE" IS NOT NULL rule.<br></div>Try to replace the rule "no filter" by *else* or just delete it to see.<br><br></div>Regards,<br></div>Harrissou<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-01 18:50 GMT+02:00 James Keener <span dir="ltr"><<a href="mailto:jim@jimkeener.com" target="_blank">jim@jimkeener.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Interesting. I haven't noticed this behavior before. I'll see if I can<br>
reproduce it on my end.<br>
<br>
If you deselected the empty style in your pictures, does the problem<br>
still occur? (I know, stupid question; I'd expect it not to matter)<br>
<br>
Jim<br>
<br>
PS: Note I'm not a dev, but I'm willing to help look into what's up, as<br>
this is weird :)<br>
<div class="HOEnZb"><div class="h5"><br>
On 10/01/2015 12:25 PM, David Addy wrote:<br>
> Hi,<br>
> First up comes how the styling should look.<br>
> <<a href="http://osgeo-org.1560.x6.nabble.com/file/n5227414/correct_style_result.jpg" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/file/n5227414/correct_style_result.jpg</a>><br>
> Now two views using the Expression builder, showing the result:<br>
> <<a href="http://osgeo-org.1560.x6.nabble.com/file/n5227414/Expression_builder1.jpg" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/file/n5227414/Expression_builder1.jpg</a>><br>
> <<a href="http://osgeo-org.1560.x6.nabble.com/file/n5227414/Expression_builder2.jpg" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/file/n5227414/Expression_builder2.jpg</a>><br>
><br>
> Thanks for looking at this issue, and I hope these imagesĀ  help. I note that<br>
> the Expression builder returns '1' as the result, but this is assigned to<br>
> the wrong polygons.<br>
><br>
><br>
><br>
> --<br>
> View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Rule-based-styling-issue-tp5227403p5227414.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/Rule-based-styling-issue-tp5227403p5227414.html</a><br>
> Sent from the Quantum GIS - User mailing list archive at Nabble.com.<br>
> _______________________________________________<br>
> Qgis-user mailing list<br>
> <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
><br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</div></div></blockquote></div><br></div>