[GRASS-dev] modelbuilder problem

Hi,

I have a model in graphical modeler in which I want to extract features using

v.extract input=bodem@PERMANENT where=“bodemcode LIKE ‘pZ%’ OR bodemcode LIKE ‘Z%’” output=sand

The command above works fine directly in the console, but when used the same in the graphical modeler, I am getting the error message:

Model is not valid. Do you want to run the model anyway? v.extract: undefined variable ‘“”’

It seems it is not parsing the where statement. Any idea?

Best wishes,

Paulo

Hi,

2018-03-25 15:07 GMT+02:00 Paulo van Breugel <p.vanbreugel@gmail.com>:

v.extract input=bodem@PERMANENT where="bodemcode LIKE 'pZ%' OR bodemcode
LIKE 'Z%'" output=sand

The command above works fine directly in the console, but when used the same
in the graphical modeler, I am getting the error message:

Model is not valid. Do you want to run the model anyway? v.extract:
undefined variable '""'

It seems it is not parsing the where statement. Any idea?

right, it seems to be bug (modeler threats everything between two '%'
as variable name. Please fill the bug-report. Thanks, Ma

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa