[GRASS-user] rasterize vector layer (string column)
Markus Neteler
neteler at osgeo.org
Fri Sep 5 18:16:50 PDT 2014
On Fri, Sep 5, 2014 at 3:00 PM, christophe joey
<christophe0joey at gmail.com> wrote:
> 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:
>
> objectID Type
> 1 A
> 2 A
> 3 B
> 4 A
> 5 C
>
>
> so, i have to rasterize it using the type field wich is not numeric.
> How can i do it ?
You can either do it as Helmut suggested or take a look at Example 3
http://grass.osgeo.org/grass70/manuals/v.to.rast.html#examples
3. Convert a vector polygon map to raster including descriptive labels
Markus
More information about the grass-user
mailing list