[GRASS-user] rasterize vector layer (string column)
christophe0joey at gmail.com
Fri Sep 5 06:00:21 PDT 2014
thank you markus for the reply
well, in vector layer i don't have a field containing numbers in string
field, here is my attribute table:
so, i have to rasterize it using the type field wich is not numeric.
How can i do it ?
On Thu, Sep 4, 2014 at 7:00 PM, Markus Neteler <neteler at osgeo.org> wrote:
> On Thu, Sep 4, 2014 at 4:56 PM, christophe joey
> <christophe0joey at gmail.com> wrote:
> > hello
> > i would like to rasterize a vector layer i guess within: v.to.rast
> > but the type of the column to use in the rasterization is string not
> > numeric.
> > is it possible to do it in grass 6.4 ?
> - use v.db.addcol to add a new numeric column
> - then cast the string numbers to numeric with v.db.update:
> --> see last example (that's for the SQLite or other true SQL
> drivers only, not the DBF backend)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the grass-user