[GRASS-user] v.to.rast error

Markus Neteler neteler at itc.it
Mon Jul 31 06:05:04 EDT 2006


Jacolin Yves wrote on 07/31/2006 11:03 AM:
> Ok, I know why I get this error (char type). What I don't understand is why my 
> column is in char type ?
>   
This was defined during import and depends on the data source.

Could you post:
 v.info -c clc_2000_centre
?
> If I want to change this, do I need to use db.execute to create a new column 
> and then copy data from the first column to the new one ?
>   
Right.

> Thank you for your tips !
>
> Y.
> Le Lundi 31 Juillet 2006 10:41, Jacolin Yves a écrit :
>   
>> Hi,
>>
>> I would like to rasterize a vector layer. I tried :
>> v.to.rast input=clc_2000_centre layer=1 output=clc_2000_centre use=attr
>> column=CODE_00 value=1 rows=4096 (using the GUI).
>> I got this error :
>> Column type not supported by db_select_to_array()
>>
>> The data of this column is integer, eg : 123, 234, 623, ...
>>
>> Do you have an idea ? Thanks,
>>
>> Y.
>>     
>
>   




More information about the grass-user mailing list