[GRASS-user] Re: Having some difficulties with v.to.rast

Achim Kisseler ak7 at jupiter.uni-freiburg.de
Fri Nov 5 10:55:37 EDT 2010


Am 05.11.2010 15:31, schrieb Luisa Peña:
> v.to.rast --overwrite input=teste01_centroid at Brazil
> output=teste01centroid at Brazil use=val value=5
>


> But I do have 1 (last) question:
> When I use the Query pixel value feature, I get this:
> 568209.941176|9248338.294118||5|Value 5 Does this means that each pixel
> has a raster value of 5 right? Because I'm also getting Value 5 and I
> don't what it is..
>

Yes, setting value=5 means, all areas will be covered with pixels value 
5. If you want different values for each area, you have to use use=attr 
and define a column name containing a numeric (column=your_column) or 
use=cat to use the categogy value.

You can see the categories with "v.category input=... option=report".

When you use an attribute, you have to have an table connected with the 
vector layer.

Achim




More information about the grass-user mailing list