Hi all,

I have deleted the column I added and tried all command line permutations of
v.db.addcol map=contour_points_c...@permanent layer=1 `col="rast_value DOUBLE 
PRECISION"`
v.db.addcol map=contour_points_c...@permanent layer=1 `columns="rast_value 
DOUBLE PRECISION"`
that have so far been given in this thread, again with quotes and without. 
Unfortunately it does not recognise this command, which I why I used the GUI

The GUI is tcltk on GRASS 6.4

Micha - I have checked the points are within the raster (they were created from 
a contour map of the raster). The region is consistent with both the raster and 
vector

Thanks!




________________________________
From: Micha Silver <[email protected]>
To: Rebecca Bennett <[email protected]>
Cc: Martin Landa <[email protected]>; [email protected]
Sent: Wed, 9 June, 2010 10:12:28
Subject: Re: [GRASS-user] Re: Problems with v.what.rast

 On 09/06/2010 11:40, Rebecca Bennett wrote: 
> 
>Hi Martin,
>
>>I tried the command that Micha suggested v.db.addcol
>map=contour_points_c...@permanent layer=1
>>columns="rast_value double precision" but this age the following error
>
>
The quotes " " around the "rast_value DOUBLE PRECISION" are necessary.
Just to check can we see the output of 
v.info -c Contour_points_cats

You might also check that the points are all within the raster region.
i.e.:
v.info -g Contour_points_cats
r.info -g Dartmoor1
g.region -p
 

v.db.addcol Contour_points_cats col=rast_value DOUBLE PRECISION
>>Sorry <DOUBLE> is not a valid option
>>Sorry <PRECISION> is not a valid option
>
>>So through the GUI I added a column to the attribute table which gave
>the command line out put 
>>v.db.addcol map=contour_points_c...@permanent layer=1
>{columns=rast_value double precision}
>
>>cheers!
>
>
>
>
________________________________
From: >Martin Landa <[email protected]>
>To: Rebecca Bennett
><[email protected]>
>Cc: Micha Silver
><[email protected]>; [email protected]
>Sent: Wed, 9 June,
>2010 9:37:14
>Subject: Re:
>[GRASS-user] Re: Problems with v.what.rast
>
>>Hi,
>
>>2010/6/9 Rebecca Bennett <[email protected]>:
>>> I added a column v.db.addcol map=contour_points_c...@permanent
>layer=1
>>> {columns=rast_value double precision} (as my raster is a float),
>then ran
>>> with error
>
>>how did you get this command?
>
>>It should be
>
>>v.db.addcol map=contour_points_c...@permanent layer=1
>>columns="rast_value double precision"
>
>>Martin
>
>>-- 
>>Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
>
>
>
>>This mail was received via Mail-SeCure System.
>


-- 
Micha Silver
http://www.surfaces.co.il/
Arava Development Co.  +972-52-3665918



      
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to