<br /><br />Thank you Carlos for your suggestion, the column is of type integer.<br /><br />First the contour levels were of type double. When modulo didn't work I replaced the column with an integer column, which apparently doesn't work as well. This really puzzels me, because when I check it with a test shape file, modulo works as expected. So, maybe an issue with the ArcGIS File Geodatabase? Or what about the length of the integer: it reads 0, but numbers are in the hundreds range. However, I assume length 0 means no limitations.<br /><br />Any suggestions :) ?<br />
<p>Thanks, Torsten<br /><br /><br /><br />Am 28-Nov-2014 14:38:02 +0100 schrieb sig.upagu@gmail.com:</p>
<blockquote style="margin-left: 0; padding-left: 5px; border-left: 2px solid navy;">
<div dir="ltr">
<div>
<div>Hi Torsten<br /><br /></div>
That sentence is right, both for filter or for ruled based styling. Perhaps "contour" is a text column... <br /><br />Regards</div>
<div> </div>
Carlos Cerdán<br />
<div class="gmail_extra"><br />
<div class="gmail_quote">2014-11-28 4:11 GMT-05:00 Torsten Lange <span dir="ltr"><<a href="mailto:torsten.lange@mail.de" target="_blank">torsten.lange@mail.de</a>></span>:<br />
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;"><br />Hi,<br /><br />I've loaded a big set of contour lines with 5 m stepping from an ArcGIS File Geodatabase. From time to time I need to modulo out the 5 m lines in the viewer (showing only 10 m steps). Given a column "contour" this should work (shouldn't it?):<br /><br />"contour" % 10 = 0<br /><br />However, it returns 0 lines with both, double or integer type. The column contains just values of xx0 and xx5.<br /><br />Thanks for any hint!<br /><br /><br />_______________________________________________<br /> Qgis-user mailing list<br /><a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br /><a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote>
</div>
</div>
</div>
</blockquote>