[GRASS-user] v.to.rast shell script
Hamish
hamish_b at yahoo.com
Sat Sep 20 02:54:20 EDT 2008
John:
> Ok, applying my little grey cells (as Poirot would say) to the problem
> at hand, I believe I have resolved this as follows:
>
> for LAYER in `v.category -g option=report in=vect | awk '{print $1}' |
> uniq` ; do
> v.to.rast in=vect layer="$LAYER" out=vect_$LAYER use=val
> done
And my little grey cells are still to brittle to read that you wanted
layer numbers not map names or attribute columns.
oh well, glad you found a solution.
Hamish
More information about the grass-user
mailing list