[GRASSLIST:7226] v.to.rast val=area/cell_area

"Zaboj Hrazsky, DAPHNE ČR" zaboj.hrazsky at daphne.cz
Sat Jun 18 15:29:54 EDT 2005


Hallo List,

Any suggestions how to get area ratio for vector representation in each raster cell
   as raster cell value (ideal something like v.to.rast val=area),
   except the way of preparing a vector grid and using v.overlay?


+---------+----------+
|      ooo|ooo       |
|   oooooo|ooo       |
|   oooooo|oo        |
|    ooooo|o         |
+---------+----------+

v.to.rast val=area/cell_area

+---------+----------+
|         |          |
|   0.5   |   0.3    |
|         |          |
|         |          |
+---------+----------+



Thanks for any idea...

Zaboj Hrazsky




More information about the grass-user mailing list