[Qgis-user] One question about Dufour modeler

Wiegand Stefan wiegand at citkomm.de
Tue Oct 1 00:59:54 PDT 2013


Hello,

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.

The model saved as python:
##Selektion Einwohner 2=name
##vectorlayer_einwohner=vector
outputs_0=Processing.runalg("qgis:selectbyattribute", vectorlayer_einwohner,
MyField, 5, 16, None)

Does anybody have an idea, where my model missunderstand me?

Thanks
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20131001/dc97bedc/attachment.html>


More information about the Qgis-user mailing list