[GRASS-dev] Re: [GRASS GIS] #488: v.db.addcol/v.rast.stats not working

GRASS GIS trac at osgeo.org
Mon Feb 9 14:38:39 EST 2009


#488: v.db.addcol/v.rast.stats not working
------------------------------+---------------------------------------------
  Reporter:  hellik           |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect           |      Status:  new                      
  Priority:  major            |   Milestone:  6.4.0                    
 Component:  Vector           |     Version:  6.4.0 RCs                
Resolution:                   |    Keywords:  v.db.addcol v.rast.stats 
  Platform:  MSWindows Vista  |         Cpu:  Unspecified              
------------------------------+---------------------------------------------
Comment (by hellik):

 if i execute the following command of the example above in the command-
 line of the GRASS Gis Layer Manager:

 v.db.addcol map=vrandb2 at user1 columns="barea double precision"

 i get the following message:

    Sorry <double> is not a valid option       <=
    Sorry <precision"> is not a valid option   <=
    Description:
    Adds one or more columns to the attribute table connected
    to a given vector map.
    Keywords:
    vector, database, attribute table
    Usage:
    v.db.addcol map=name [layer=value] columns=string
    [--verbose]
    [--quiet]
     Flags:
     --v   Verbose module output
     --q   Quiet module output
     Parameters:
       map   Vector map for which to edit attribute table
     layer   Layer where to add column
             default: 1
    columns   Name and type of the new column(s) (types depend
    on database backend, but all support VARCHAR(), INT, DOUBLE
    PRECISION and DATE)

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/488#comment:1>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list