<p dir="ltr"><br>
On 31 Jul 2015 11:07 am, "Nick Papadonis" <<a href="mailto:npapadonis@gmail.com">npapadonis@gmail.com</a>> wrote:<br>
><br>
> HI Folks,<br>
><br>
> I’m trying to use the following expression to pick up the red colored routes on a map in which I used the info pointer tool to get the band values for the color.<br>
><br>
> (“m@1" < 238 AND “m@1" > 213 AND “m@2" < 123 AND “m@2" > 98 AND “m@3" < 125 AND “m@3" < 99) * 1</p>
<p dir="ltr">Should that last check be "m@3" > 99?</p>
<p dir="ltr">Nyall</p>
<p dir="ltr">><br>
> Unfortunately, when this expression is used the resulting map is black with no other pixels for the detected color.<br>
><br>
> If I break down this expression to a simple “greater than” line for single band, then things work.<br>
><br>
> Does anyone know where this expression needs to be corrected?<br>
><br>
> Thanks again,<br>
> Nick<br>
> _______________________________________________<br>
> Qgis-user mailing list<br>
> <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></p>