[Qgis-user] layer query with modulo (source File Geodatabase)

Torsten Lange torsten.lange at mail.de
Fri Nov 28 07:01:21 PST 2014


Thank you Carlos for your suggestion, the column is of type integer.

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.

Any suggestions :) ?

Thanks, Torsten

Am 28-Nov-2014 14:38:02 +0100 schrieb sig.upagu at gmail.com: 
   Hi Torsten

 That sentence is right, both for filter or for ruled based styling. Perhaps "contour" is a text column... 

Regards   Carlos Cerdn

 2014-11-28 4:11 GMT-05:00 Torsten Lange :

Hi,

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?):

"contour" % 10 = 0

However, it returns 0 lines with both, double or integer type. The column contains just values of xx0 and xx5.

Thanks for any hint!

_______________________________________________
 Qgis-user mailing list
Qgis-user at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20141128/efbb63c4/attachment.html>


More information about the Qgis-user mailing list