[Qgis-user] Feature Subset query builder

Jonathan Moules jonathanmoules at warwickshire.gov.uk
Thu Aug 8 05:35:21 PDT 2013


Oooh, that works.
I'm afraid using "&" is a holdover from my MySQL days. I really should get
in the habit of using "and".

Many thanks!
Jonathan



On 8 August 2013 13:31, Régis Haubourg
<regis.haubourg at eau-adour-garonne.fr>wrote:

> Jonathan Moules-2 wrote
> > 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)
>
>
> Hi ,
> did you test something like this?
> area > 10000000000 AND  area < 100000000000
> I'm afraid & is not a logical operator but a text concatenator..
> Régis
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Feature-Subset-query-builder-tp5071434p5071477.html
> Sent from the Quantum GIS - User mailing list archive at Nabble.com.
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>

-- 
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/4096c76d/attachment.html>


More information about the Qgis-user mailing list