[GRASS-dev] [GRASS GIS] #3540: graphical modeler problems with sql in v.extract

GRASS GIS trac at osgeo.org
Sun Mar 25 07:29:48 PDT 2018


#3540: graphical modeler problems with sql in v.extract
-------------------------+-------------------------
 Reporter:  pvanbosgeo   |      Owner:  grass-dev@…
     Type:  defect       |     Status:  new
 Priority:  normal       |  Milestone:
Component:  Default      |    Version:  unspecified
 Keywords:               |        CPU:  Unspecified
 Platform:  Unspecified  |
-------------------------+-------------------------
 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>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list