[GRASS-dev] [GRASS GIS] #1438: g.remove cannot remove vector map

GRASS GIS trac at osgeo.org
Sun Sep 4 23:09:48 EDT 2011


#1438: g.remove cannot remove vector map
-------------------------+--------------------------------------------------
 Reporter:  arencambre   |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:                           
Component:  Vector       |     Version:  unspecified              
 Keywords:               |    Platform:  MSWindows 7              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 I have a vector map named '''pointdata'''. I can confirm this because if I
 run '''v.in.ogr''' against a PostGIS database with '''output''' set to
 '''pointdata''', 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'''

 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 <pointdata>
 DBMI-DBF driver error:
 Unable to open database <cat C:\Users\Aren Cambre\Desktop\DEEM
 documents\GRASS\DallasCountyCrashes\Crases2\dbf\> by driver <dbf>
 Unable open database <cat C:\Users\Aren Cambre\Desktop\DEEM
 documents\GRASS\DallasCountyCrashes\Crases2\dbf\> by driver <dbf>
 Unable to find table <crash> linked to vector map <pointdata>
 couldn't be removed
 <pointdata> nothing removed'''

 I've attached a copy of the mapset in concern.

 This is for GRASS GIS 6.4.1 (that option not available in the
 '''Version''' dropdown).

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1438>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list