[GRASS-dev] [GRASS GIS] #3694: WHERE statement in v.generalize do not work
GRASS GIS
trac at osgeo.org
Tue Nov 13 07:10:17 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 mmetz):
Replying to [comment:1 mmetz]:
> Replying to [ticket:3694 BastienFR]:
> > The `WHERE` statement from `v.generalize` do not seem to work anymore.
>
> Looking at the manual G7:v.generalize:
>
> layer=string
> Layer number or name ('-1' for all layers)
>
> A single vector map can be connected to multiple database tables.
This number determines which table to use. When used with direct OGR
access this is the layer name.
>
> Default: -1
>
> By default all layers are processed, in which case the cats and where
options are ignored because they require a single layer to be selected.
FWIW, I have added a warning in trunk r73673 if the cats and where options
are ignored.
The QGIS interface description for v.generalize needs to be fixed to use
`layer=1`.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3694#comment:2>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list