[GRASS-user] v.rast.stats stucked

2011-07-17 Thread Milton Cezar Ribeiro
Dear all,

I have a vector map with only 7 features (polygons). I use the command below
to extract raster info.
v.rast.stats vector=my_polygons raster=my_raster colprefix=LG

As my polygons have holes, I receive several messages as the below:
   Area without centroid (may be OK for island)

But I don´t know why grass get stucked and don´t finish the process.

By the way, I am using MSYS grass 6.4.1 version under windows.

cheers

milton
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] help regarding r.cn, r.cn2, r.runoff module

2011-07-17 Thread Markus Neteler
On Sun, Jul 17, 2011 at 6:15 PM, akinchan  wrote:
> Dear all
>
> i need the module mentioned in subject (r.cn, r.cn2, r.runoff module
> available upto GRASS GIS version 4.2) with source code. i have tried my best
> to search but only main page and very little information i have got each
> time. please help me and provide the source codeof these modules. i will e
> thankful for any help regarding this.

The r.cn2 code has become r.cn in GRASS 5. It is available here:
http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_5_5/src.nonGPL/agnps/r.agnps50/hydro_tools/
or
http://grass.osgeo.org/download/software_old.php#g541
-> grass-5.4.1.tar.gz

Concerning r.runoff
http://www.osgeo.org/pipermail/grass-user/2002-May/006651.html
http://www.osgeo.org/pipermail/grass-user/2002-May/006661.html

(to me it suggests that r.runoff's job is done by r.cn)

hope this helps,
Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] help regarding r.cn, r.cn2, r.runoff module

2011-07-17 Thread Sylvain Maillard
just take a look at the "Download old
version"
page, you will find almost every grass relese ;)


regards,
Sylvain


2011/7/17 akinchan 

> Dear all
>
> i need the module mentioned in subject (r.cn, r.cn2, r.runoff module
> available upto GRASS GIS version 4.2) with source code. i have tried my
> best
> to search but only main page and very little information i have got each
> time. please help me and provide the source codeof these modules. i will e
> thankful for any help regarding this.
>
> akinchan
> akinchan.sing...@gmail.com
>
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/help-regarding-r-cn-r-cn2-r-runoff-module-tp6592175p6592175.html
> Sent from the Grass - Users mailing list archive at Nabble.com.
> ___
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] help regarding r.cn, r.cn2, r.runoff module

2011-07-17 Thread akinchan
Dear all

i need the module mentioned in subject (r.cn, r.cn2, r.runoff module
available upto GRASS GIS version 4.2) with source code. i have tried my best
to search but only main page and very little information i have got each
time. please help me and provide the source codeof these modules. i will e
thankful for any help regarding this.

akinchan
akinchan.sing...@gmail.com

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/help-regarding-r-cn-r-cn2-r-runoff-module-tp6592191p6592191.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] help regarding r.cn, r.cn2, r.runoff module

2011-07-17 Thread akinchan
Dear all

i need the module mentioned in subject (r.cn, r.cn2, r.runoff module
available upto GRASS GIS version 4.2) with source code. i have tried my best
to search but only main page and very little information i have got each
time. please help me and provide the source codeof these modules. i will e
thankful for any help regarding this.

akinchan
akinchan.sing...@gmail.com

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/help-regarding-r-cn-r-cn2-r-runoff-module-tp6592175p6592175.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Re: raster stats within vector

2011-07-17 Thread Milton Cezar Ribeiro
Hi Paulo,

Thanks a lot.

cheers

milton

2011/7/17 Paulo van Breugel 

> **
> v.rast.stats (menu: Vector-Update area attribute from raster) will
> calculate n, min, max, range, mean, stddev, variance, coeff_var, sum and
> optionally the 1st quartile, median, 3rd quartile, and given percentile.
> Columns will be created on the fly, you only have to give the 'base name' of
> the columns. I.e., no need to create a column yourself.
>
>
>
> On 07/16/2011 10:14 PM, Milton Cezar Ribeiro wrote:
>
> BTW,
>
> my vector maps have polygons.
>
> milton
>
> 2011/7/16 Milton Cezar Ribeiro 
>
>> Dear all,
>>
>> I have a raster map with continuous values, and need to extract some stats
>> (like mean, std etc) assigning these "zonal" values as a vector column.
>> I just added the empty columns on the my vector map using :
>>   v.db.addcol map=frag_ts columns="FLOW_STD DOUBLE PRECISION"
>>
>> How can I do this on grass?
>>
>> cheers
>>
>> milton
>>
>
>
> ___
> grass-user mailing 
> listgrass-user@lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/grass-user
>
>
>
> ___
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
>
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Re: raster stats within vector

2011-07-17 Thread Paulo van Breugel
v.rast.stats (menu: Vector-Update area attribute from raster) will 
calculate n, min, max, range, mean, stddev, variance, coeff_var, sum and 
optionally the 1st quartile, median, 3rd quartile, and given percentile. 
Columns will be created on the fly, you only have to give the 'base 
name' of the columns. I.e., no need to create a column yourself.



On 07/16/2011 10:14 PM, Milton Cezar Ribeiro wrote:

BTW,

my vector maps have polygons.

milton

2011/7/16 Milton Cezar Ribeiro >


Dear all,

I have a raster map with continuous values, and need to extract
some stats (like mean, std etc) assigning these "zonal" values as
a vector column.
I just added the empty columns on the my vector map using :
  v.db.addcol map=frag_ts columns="FLOW_STD DOUBLE PRECISION"

How can I do this on grass?

cheers

milton



___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user