[GRASS-dev] New: v.db.droprow

Martin Landa landa.martin at gmail.com
Fri Aug 14 06:15:03 EDT 2009


2009/8/14 Markus Neteler <neteler at osgeo.org>:
>> * are these extra checks needed (it's done by v.extract) [1,2]
> Yes, I think so: if you create a map with v.random it won't have
> a connected table, so better don't badly crash. Likewise with
> a non-existing map. I used existing msg strings (for translation).

Badly crash? After r38718:

$ v.db.droprow in=x out=x1 w='x' --o
ERROR: Vector map <x> not found

$ v.db.droprow in=p out=x1 w='x' --o
ERROR: Database connection not defined for layer 1

It seems reasonable to me.


Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa

More information about the grass-dev mailing list