[GRASS-user] v.to.rast error

Jacolin Yves yjacolin at free.fr
Mon Jul 31 05:03:11 EDT 2006


Ok, I know why I get this error (char type). What I don't understand is why my 
column is in char type ?

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 ?

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.

-- 
Yves Jacolin
http://yjacolin.gloobe.org
----
Stagiaire Conservatoire Régional des Espaces Naturels de la région Centre
http://cahiersnaturalistes.free.fr/cpnrc/
----
- Qu'est-ce que cela peut faire que je lutte pour la mauvaise cause 
puisque je suis de bonne foi?
- Et qu'est-ce que ça peut faire que je sois de mauvaise foi
puisque c'est pour la bonne cause. (Jacques Prévert)




More information about the grass-user mailing list