[GRASS-dev] [GRASS-SVN] r68061 - grass/trunk/lib/gis

Martin Landa landa.martin at gmail.com
Sun May 1 13:51:07 PDT 2016


Hi,

2016-03-15 9:56 GMT+01:00  <svn_grass at osgeo.org>:
> Author: hcho
> Date: 2016-03-15 01:56:28 -0700 (Tue, 15 Mar 2016)
> New Revision: 68061
>
> Modified:
>    grass/trunk/lib/gis/parser.c
> Log:
> G_recreate_command: Add empty answers.
> Fix the command history for e.g., v.edit where="". Without this fix, where="" is not included, which makes an invalid command.

I tried to backport this commit to relbr70. My quick test:

v.random out=n n=100 --o
v.db.addtable n

leads to the all features removed.

v.edit n tool=delete where=""
Selecting features...
100 of 100 features selected from vector map <n at PERMANENT>
100 features deleted

I thought that this should be fixed by this commit, right? So no
features removed (?)

Thanks for explanation. Martin

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


More information about the grass-dev mailing list