[GRASS-dev] Re: [GRASS-user] How to remove nonexistent vector map

Hi,

2011/9/5 Aren Cambre <aren@arencambre.com>:

I am trying to run v.in.ogr against a PostGIS database. The command's output
is:

ERROR: Vector map <pointdata> already exists

Yet when I run g.remove pointdata, I get:

Removing raster <pointdata>
Raster map <pointdata> not found
<pointdata> nothing removed

yes, this can be confusing for the user. I would vote to change this
behaviour (also for g.copy, g.rename). GRASS is for many years hybrid
GIS with strong vector-based tools. Noted modules in GRASS7 should
require option for defining element type, e.g.

g.remove pointdata

-> ERROR: You need define one of options <rast>, <rast3d>...

What do you think?

Martin

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