[GRASS-dev] [GRASS GIS] #3540: graphical modeler problems with sql in v.extract
GRASS GIS
trac at osgeo.org
Sun Mar 25 07:50:34 PDT 2018
#3540: graphical modeler problems with sql in v.extract
--------------------------+-------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.4.1
Component: wxGUI | Version: svn-trunk
Resolution: | Keywords: modeler
CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Changes (by martinl):
* keywords: => modeler
* version: unspecified => svn-trunk
* component: Default => wxGUI
* milestone: => 7.4.1
Old description:
> I have a model in graphical modeler in which I want to extract features
> using
>
> v.extract input=bodem at PERMANENT where="bodemcode LIKE 'pZ%' OR bodemcode
> LIKE 'Z%'" output=sand
>
> When used 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?
>
> Feedback from Martin Landa on the email list:
>
> right, it seems to be bug - modeler threats everything between two '%'
> as variable name
New description:
I have a model in graphical modeler in which I want to extract features
using
{{{
v.extract input=bodem at PERMANENT where="bodemcode LIKE 'pZ%' OR bodemcode
LIKE 'Z%'" output=sand
}}}
When used 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?
Feedback from Martin Landa on the email list:
right, it seems to be bug - modeler threats everything between two '%'
as variable name
--
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3540#comment:1>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list