[Qgis-user] Feature Subset query builder

Jonathan Moules jonathanmoules at warwickshire.gov.uk
Thu Aug 8 01:56:16 PDT 2013


Hi List,
  A general question:

Why does this query:

> area > 10000000000 & area < 100000000000


return the entire dataset,

when this query (same but with brackets):

> (area > 10000000000) & (area < 100000000000)


returns the correct subset?

Surely they both evaluate to the same thing - my (limited) understanding of
boolean logic says they both equate to the same thing because there is only
the one logical operator so strictly speaking the brackets are not
necessary.

Is my understanding of the logic wrong, or should that work?

Cheers,
Jonathan

-- 
This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED and 
should be handled accordingly. Unless you are the named addressee (or 
authorised to receive it for the addressee) you may not copy or use it, or 
disclose it to anyone else. If you have received this transmission in error 
please notify the sender immediately. All email traffic sent to or from us, 
including without limitation all GCSX traffic, may be subject to recording 
and/or monitoring in accordance with relevant legislation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20130808/7c601d2f/attachment.html>


More information about the Qgis-user mailing list