[GRASS-user] how to calculate area of voronoi polygons considering
the boundary of the catchment
Moritz Lennert
mlennert at club.worldonline.be
Tue Jul 28 13:22:02 EDT 2009
On 28/07/09 18:42, daljeet wrote:
> Hi Moritz,
>
> I am new to GRASS and the basic concepts of this field. Below, I tried my
> best to share all the information. Please write if I have missed anything.
This is perfect, thanks !
> //creating the voronoi
> v.voronoi input="Ind_rain_orig" output="Ind_rain_ker_vor"
>
> //display the voronoi
> d.vect "Ind_rain_ker_vor"
>
> http://n2.nabble.com/file/n3344342/Ind_rain_ker_vor.png
>
The problem is here, with v.voronoi, as you can see the white spots
here. What do the original points (Ind_rain_orig) look like ?
I don't know the module well enough, but I think you might have hit a
bug there (I've just tried a simple example for myself and also get
weird white spots). Please file a report in the bug tracker.
>
> //storing the area of each polygon to a csv file
> v.report ker_rain_vor_over option=area units=k >ker_area.csv --o
Note that you can use v.addcol and v.to.db upload the polygon areas to
the attribute table.
Moritz
More information about the grass-user
mailing list