[GRASS-user] How to remove nonexistent vector map

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

ERROR: Vector map already exists

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

Removing raster

Raster map not found

nothing removed

But then you may say, “Hey, moron, that’s a vector layer! Use the right command.” OK, I ran g.remove vect=pointdata and I get:

Removing vector

DBMI-DBF driver error:

Unable to open database <cat C:\Users\Aren Cambre\Desktop\DEEM documents\GRASS\DallasCountyCrashes\Crases2\dbf> by driver

Unable open database <cat C:\Users\Aren Cambre\Desktop\DEEM documents\GRASS\DallasCountyCrashes\Crases2\dbf> by driver

Unable to find table linked to vector map

couldn’t be removed

nothing removed

Huh?

Aren

I’ve reported this as a bug: http://trac.osgeo.org/grass/ticket/1438

On Sun, Sep 4, 2011 at 9:18 PM, Aren Cambre <aren@arencambre.com> wrote:

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

ERROR: Vector map already exists

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

Removing raster

Raster map not found

nothing removed

But then you may say, “Hey, moron, that’s a vector layer! Use the right command.” OK, I ran g.remove vect=pointdata and I get:

Removing vector

DBMI-DBF driver error:

Unable to open database <cat C:\Users\Aren Cambre\Desktop\DEEM documents\GRASS\DallasCountyCrashes\Crases2\dbf> by driver

Unable open database <cat C:\Users\Aren Cambre\Desktop\DEEM documents\GRASS\DallasCountyCrashes\Crases2\dbf> by driver

Unable to find table linked to vector map

couldn’t be removed

nothing removed

Huh?

Aren

On Sun, 2011-09-04 at 22:10 -0500, Aren Cambre wrote:

I've reported this as a bug: http://trac.osgeo.org/grass/ticket/1438

should be a duplicate of

http://trac.osgeo.org/grass/ticket/1158

try GRASS svn, it should be fixed.

cheers

-- Giovanni --

Thanks. Marked 1438 as duplicate of 1158.

On Mon, Sep 5, 2011 at 2:19 AM, Giovanni Manghi <giovanni.manghi@gmail.com> wrote:

On Sun, 2011-09-04 at 22:10 -0500, Aren Cambre wrote:

I’ve reported this as a bug: http://trac.osgeo.org/grass/ticket/1438

should be a duplicate of

http://trac.osgeo.org/grass/ticket/1158

try GRASS svn, it should be fixed.

cheers

– Giovanni –