<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
</head><body style="">
<div>
Hello,
</div>
<div>
</div>
<div>
I am using QGIS 2.0.1. and I am testing the graphical modeler. It is a very simple testmodel where I have got a vector layer with one integer table field. Then I use a 'select by attribute' operation, where I query all datasets which are smaller or equal 16. The result consists of all datasets with values in {0,1,10,11,12,13,14,15,16,100}. A 'normal' query results in the expected range 0 - 16.
</div>
<div>
</div>
<div>
The model saved as python:
</div>
<div>
##Selektion Einwohner 2=name
<br/>##vectorlayer_einwohner=vector
<br/>outputs_0=Processing.runalg("qgis:selectbyattribute", vectorlayer_einwohner, MyField, 5, 16, None)
</div>
<div>
</div>
<div>
Does anybody have an idea, where my model missunderstand me?
</div>
<div>
</div>
<div>
Thanks
</div>
<div>
Stefan
</div>
<div>
</div>
</body></html>