[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qgis-user
Subject:    Re: [Qgis-user] layer query with modulo (source File Geodatabase)
From:       Torsten Lange <torsten.lange () mail ! de>
Date:       2014-11-28 15:01:21
Message-ID: 20141128150121.B10714044E () postfix03 ! mail ! de
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Attachment #5 (text/html)]

<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>&nbsp;</div>
Carlos Cerd&aacute;n<br />
<div class="gmail_extra"><br />
<div class="gmail_quote">2014-11-28 4:11 GMT-05:00 Torsten Lange <span \
dir="ltr">&lt;<a href="mailto:torsten.lange@mail.de" \
target="_blank">torsten.lange@mail.de</a>&gt;</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>



_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic