[GRASS-user] how to calculate area of voronoi polygons considering the boundary of the catchment

2009-07-27 Thread daljeet
Hi, I have the point rainfall data of a region. Few of the point data are outside the region of interest. I am making the voronoi polygons using the v.voronoi on the vector imported from this point ascii (x,y,z) data. The polygon may be fully inside the region of interest or may be partially ou

Re: [GRASS-user] how to calculate area of voronoi polygons considering the boundary of the catchment

2009-07-28 Thread Moritz Lennert
On 27/07/09 21:38, daljeet wrote: Hi, I have the point rainfall data of a region. Few of the point data are outside the region of interest. I am making the voronoi polygons using the v.voronoi on the vector imported from this point ascii (x,y,z) data. The polygon may be fully inside the region

Re: [GRASS-user] how to calculate area of voronoi polygons considering the boundary of the catchment

2009-07-28 Thread daljeet
Thanks Moritz. I was wrongly using the term "region" in my question above. The requirement is slightly different. Let me explain you in detail. Inputs: 1. I have got the shapefile data of the country. I imported it using v.in.ogr and extracted (v.extract) the vector of the desired "State" using

Re: [GRASS-user] how to calculate area of voronoi polygons considering the boundary of the catchment

2009-07-28 Thread Moritz Lennert
On 28/07/09 16:02, daljeet wrote: Thanks Moritz. I was wrongly using the term "region" in my question above. The requirement is slightly different. Let me explain you in detail. Inputs: 1. I have got the shapefile data of the country. I imported it using v.in.ogr and extracted (v.extract) the v

Re: [GRASS-user] how to calculate area of voronoi polygons considering the boundary of the catchment

2009-07-28 Thread daljeet
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. List of commands issued in sequence: //import of shapefile data of country v.in.ogr -e dsn="IND_adm2.shp" output="Ind_adm2_v" min_area=

Re: [GRASS-user] how to calculate area of voronoi polygons considering the boundary of the catchment

2009-07-28 Thread Moritz Lennert
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_

Re: [GRASS-user] how to calculate area of voronoi polygons considering the boundary of the catchment

2009-07-28 Thread daljeet
These white spots in the voronoi vector may be the cause. But i ran the voronoi module on the "archsites" vector of the Spearfish60 dataset and its runs fine. The cmd was v.voronoi input="archsites" output="arch_voronoi" The only difference is that the region of archsites has got less points (a

Re: [GRASS-user] how to calculate area of voronoi polygons considering the boundary of the catchment

2009-07-28 Thread daljeet
http://www.intevation.de/rt/webrt?serial_num=4292&display=History The problem that we are facing may be related to above issue. Thanks Daljeet daljeet wrote: > > These white spots in the voronoi vector may be the cause. But i ran the > voronoi module on the "archsites" vector of the Spearfi

Re: [GRASS-user] how to calculate area of voronoi polygons considering the boundary of the catchment

2009-07-28 Thread Micha Silver
On Tue, 28 Jul 2009 11:24:19 -0700 (PDT) daljeet wrote: > > > > //d.vect Ind_rain_orig > //The Ind_rain_orig looks like this - when the region is set to > vector of Kerala > //g.region vect=ker_rain_v > > http://n2.nabble.com/file/n3345107/Ind_rain_orig_reg_ker.png > > But when the region

Re: [GRASS-user] how to calculate area of voronoi polygons considering the boundary of the catchment

2009-08-31 Thread daljeet
Hi Micha, I could create isohyetal lines using the suggested steps: -v.in.ascii v.in.ascii x=2 y=1 cat=0 input="01_08nov2001" out="rainvector" columns="x double precision, y double precision, rain_info double precision" --o fs="\t" skip=1 - set the region to smaller vector and set the mask crea

Re: [GRASS-user] how to calculate area of voronoi polygons considering the boundary of the catchment

2009-08-31 Thread Micha Silver
Hi Daljeet daljeet wrote: Hi Micha, I could create isohyetal lines using the suggested steps: ... clipped... Following are the doubts/questions 1. I saw the details of the raster created from v.surf.rst r.info rainraster zmin_data=0.00, zmax_data=141.322000

Re: [GRASS-user] how to calculate area of voronoi polygons considering the boundary of the catchment

2009-09-02 Thread daljeet
Thanks. I am using the first method that you suggested. But it fails to create centroids whereas there are multiple isohyetal strips now and each should have been given the centroid. To give you the details on what i did. In real scenario, we will have the defined catchment area (which will be a

Re: [GRASS-user] how to calculate area of voronoi polygons considering the boundary of the catchment

2009-09-04 Thread daljeet
The issue was that the contours vector was 3d. Now i could put the centroids and add the area within the boundaries. I am struck at how to associate the area (cat|area) with the associated isohyetal lines? Any idea. Thanks Daljeet daljeet wrote: > > Thanks. > > I am using the first method t