[GRASS-dev] [GRASS GIS] #3694: WHERE statement in v.generalize do not work

GRASS GIS trac at osgeo.org
Tue Nov 13 07:16:16 PST 2018


#3694: WHERE statement in v.generalize do not work
------------------------+--------------------------
  Reporter:  BastienFR  |      Owner:  grass-dev@…
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:
 Component:  Default    |    Version:  7.4.1
Resolution:             |   Keywords:  v.generalize
       CPU:  x86-64     |   Platform:  MSWindows
------------------------+--------------------------

Comment (by BastienFR):

 Thanks for your answer.  I did try with the good option `layer=1` directly
 in GRASS and it worked as expected.  I'll update my question on
 StackExchange to give the answer (or if you want to do it, I'll accept
 your answer).

 However, note that your tutorial do not state that properly
 (https://grasswiki.osgeo.org/wiki/V.generalize_tutorial#Gereneral_Parameters).
 There is no `layer` option in the call given.

 `v.generalize -c input=roads output=roads_douglas_reduction2
 method=douglas_reduction threshold=0 reduction=50 type=line where="cat<3"`

 The fact the the QGIS v.generalize tool do not allow to set the `layer`
 option even if allowing setting the `WHERE` statement, how or where should
 we document the problem so it's fix there?

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3694#comment:3>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list