Re: [GRASS-user] MASK does not do it's work (?) with r.mapcalc -- Again!

2008-01-23 Thread Hamish
Glynn:
  The mask is read as an integer map. If MASK is actually a
  floating-point map, the values will be converted to integers using
  the map's quantisation rules (this defaults to round-to-nearest,
  but can be changed with r.quant).

Nikos Alexandris wrote:
 Thanks for the important clarification.
 
 Do you think it would be useful to add this information in the manual
 of r.mask?


already added to the MASK section of the 2D-raster intro help page in
6.3svn. It makes some sense to add it to the r.mask help page too.


H



  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

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


[GRASS-user] No table after 'v.dissolve'

2008-01-23 Thread Evelyne Granier


I'm trying to dissolve (on an integer column) a vector map. It works well
but no table is created.

The db.connect -p reports :
driver:dbf
database : ... /dbf/
schema : (null)
group : (null)

and the dbf/ subdirectory already exists in the mapset

What's the problem ?
Thank you,
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Variables in r.mapcalc other than raster?

2008-01-23 Thread Roland Pape

Hi,
thanks to all for help!
As recommended in the manual, I put single quotes around my expressions 
and got invalid map for any no-map variables. Using double quotes 
instead solved the problem. - Sometimes it is rather simple...


Best regards,

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


[GRASS-user] Use of r.watershed

2008-01-23 Thread hydro

Hello All,

I am new to GRASS but have been using GIS (mainly ESRI products) for  
quite a few years.  I am trying to learn how to use GRASS to carry out  
hydrology related analyses.  Currently, I am trying to use the  
r.watershed command to delineate the basins for a watershed.  My  
question is, how long would you expect it to take to run?  I am  
wondering if I am doing it wrong or if it just takes longer than I  
would expect.  The DEM is about 170MB TIFF before I import it to  
GRASS.  I have tried to run it a few times using different options,  
each time letting it run for 3 - 4 hours before killing it. I have  
tried both the -m and -4 flags.  Any input would be appreciated.

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


RE: [GRASS-user] Use of r.watershed

2008-01-23 Thread Charles Ehlschlaeger
How many rows and columns are in the input map? Also include the exact
command line statement you use to run the program.

Sincerely, chuck

Chuck Ehlschlaeger, Geospatial Science Consultant
PERTAN GROUP, http://pertan.com/
[EMAIL PROTECTED], 309-255-2727
http://chuck.ehlschlaeger.info/


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, January 23, 2008 7:15 AM
To: grass-user@lists.osgeo.org
Subject: [GRASS-user] Use of r.watershed

Hello All,

I am new to GRASS but have been using GIS (mainly ESRI products) for  
quite a few years.  I am trying to learn how to use GRASS to carry out  
hydrology related analyses.  Currently, I am trying to use the  
r.watershed command to delineate the basins for a watershed.  My  
question is, how long would you expect it to take to run?  I am  
wondering if I am doing it wrong or if it just takes longer than I  
would expect.  The DEM is about 170MB TIFF before I import it to  
GRASS.  I have tried to run it a few times using different options,  
each time letting it run for 3 - 4 hours before killing it. I have  
tried both the -m and -4 flags.  Any input would be appreciated.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.19.9/1238 - Release Date: 1/22/2008
8:12 PM
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.19.9/1238 - Release Date: 1/22/2008
8:12 PM
 
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


RE: [GRASS-user] MASK does not do it's work (?) with r.mapcalc --Again!

2008-01-23 Thread Patton, Eric
Nikos Alexandris wrote:
 Thanks for the important clarification.
 
 Do you think it would be useful to add this information in the manual
 of r.mask?

already added to the MASK section of the 2D-raster intro help page in
6.3svn. It makes some sense to add it to the r.mask help page too.
H

r.mask help page updated in svn trunk and grass63_release branch.

~ Eric.



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


RE: [GRASS-user] Use of r.watershed

2008-01-23 Thread hydro

Chuck,

Thanks for your reply.  The DEM has 8,627 rows and 10,270 columns.   
The command line statement I used is:


r.watershed el=fill th=400 ac=fac ba=basins st=str

I have also tried using the -m and -4 flags placed after the r.watershed part.

Thanks,

Matt

Quoting Charles Ehlschlaeger [EMAIL PROTECTED]:


How many rows and columns are in the input map? Also include the exact
command line statement you use to run the program.

Sincerely, chuck

Chuck Ehlschlaeger, Geospatial Science Consultant
PERTAN GROUP, http://pertan.com/
[EMAIL PROTECTED], 309-255-2727
http://chuck.ehlschlaeger.info/


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, January 23, 2008 7:15 AM
To: grass-user@lists.osgeo.org
Subject: [GRASS-user] Use of r.watershed

Hello All,

I am new to GRASS but have been using GIS (mainly ESRI products) for
quite a few years.  I am trying to learn how to use GRASS to carry out
hydrology related analyses.  Currently, I am trying to use the
r.watershed command to delineate the basins for a watershed.  My
question is, how long would you expect it to take to run?  I am
wondering if I am doing it wrong or if it just takes longer than I
would expect.  The DEM is about 170MB TIFF before I import it to
GRASS.  I have tried to run it a few times using different options,
each time letting it run for 3 - 4 hours before killing it. I have
tried both the -m and -4 flags.  Any input would be appreciated.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.9/1238 - Release Date: 1/22/2008
8:12 PM


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.9/1238 - Release Date: 1/22/2008
8:12 PM





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


RE: [GRASS-user] MASK does not do it's work (?) with r.mapcalc --Again!

2008-01-23 Thread Nikos Alexandris
Folks,

(with all the respect) the GRASS community is a phenomenon!

Cheers,

Nikos.


On Wed, 2008-01-23 at 09:24 -0500, Patton, Eric wrote:
 Nikos Alexandris wrote:
  Thanks for the important clarification.
  
  Do you think it would be useful to add this information in the manual
  of r.mask?
 
 already added to the MASK section of the 2D-raster intro help page in
 6.3svn. It makes some sense to add it to the r.mask help page too.
 H
 
 r.mask help page updated in svn trunk and grass63_release branch.
 
 ~ Eric.
 
 
 
-- 
Nikos Alexandris
.
Department of Remote Sensing  Landscape Information Systems
Faculty of Forestry  Environmental Sciences, Albert-Ludwigs-University Freiburg
.
Tel.  +49 (0) 761 203 3697 / Fax.  +49 (0) 761 203 3701 / Skype: 
Nikos.Alexandris
.
Address: Tennenbacher str. 4, D-79106 Freiburg i. Br., Germany


signature.asc
Description: This is a digitally signed message part
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


RE: [GRASS-user] Use of r.watershed

2008-01-23 Thread hydro

Thanks.  I will try and change my threshold value this evening.

A little background, I have completed this phase of the project at  
work using ArcHydro and it took about half a day total to run  
through the tools (fill, flow direction, flow accumulation, etc.).  I  
am trying to now do the same project at home using open source tools  
as a means of learning grass and as a comparison.  I wonder if the  
r.watershed algorithms differ enough from the ArcHydro ones to make  
execution times very different?  Any thoughts?


Quoting Charles Ehlschlaeger [EMAIL PROTECTED]:


r.watershed will take a long time for a 8,600x10,300 cell DEM under any
circumstance. Your threshold value (400) might also be slowing things down.

How large should your smallest exterior watershed basin be? If your grid
cells are 10mx10m, your basins will be 400x10mx10m = 40,000 m^2: not that
large. The larger the th value, the faster the program will run.

Sincerely, chuck

Chuck Ehlschlaeger, Geospatial Science Consultant
PERTAN GROUP, http://pertan.com/
[EMAIL PROTECTED], 309-255-2727
http://chuck.ehlschlaeger.info/


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, January 23, 2008 8:52 AM
To: Charles Ehlschlaeger
Cc: grass-user@lists.osgeo.org
Subject: RE: [GRASS-user] Use of r.watershed

Chuck,

Thanks for your reply.  The DEM has 8,627 rows and 10,270 columns.
The command line statement I used is:

r.watershed el=fill th=400 ac=fac ba=basins st=str

I have also tried using the -m and -4 flags placed after the r.watershed
part.

Thanks,

Matt

Quoting Charles Ehlschlaeger [EMAIL PROTECTED]:


How many rows and columns are in the input map? Also include the exact
command line statement you use to run the program.

Sincerely, chuck

Chuck Ehlschlaeger, Geospatial Science Consultant
PERTAN GROUP, http://pertan.com/
[EMAIL PROTECTED], 309-255-2727
http://chuck.ehlschlaeger.info/


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, January 23, 2008 7:15 AM
To: grass-user@lists.osgeo.org
Subject: [GRASS-user] Use of r.watershed

Hello All,

I am new to GRASS but have been using GIS (mainly ESRI products) for
quite a few years.  I am trying to learn how to use GRASS to carry out
hydrology related analyses.  Currently, I am trying to use the
r.watershed command to delineate the basins for a watershed.  My
question is, how long would you expect it to take to run?  I am
wondering if I am doing it wrong or if it just takes longer than I
would expect.  The DEM is about 170MB TIFF before I import it to
GRASS.  I have tried to run it a few times using different options,
each time letting it run for 3 - 4 hours before killing it. I have
tried both the -m and -4 flags.  Any input would be appreciated.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.9/1238 - Release Date: 1/22/2008
8:12 PM


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.9/1238 - Release Date: 1/22/2008
8:12 PM





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

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.9/1238 - Release Date: 1/22/2008
8:12 PM


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.9/1238 - Release Date: 1/22/2008
8:12 PM





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


Re: [GRASS-user] Use of r.watershed

2008-01-23 Thread hydro

Markus,

I am running GRASS version 6.2.2 on Ubuntu 7.10.  I am at work right  
now and don't have access to the machine, but I am pretty sure about  
the GRASS version.  If I am wrong I will post a correction when I get  
home.


Matt

Quoting Markus Neteler [EMAIL PROTECTED]:


Matt,

please also post to the list which GRASS version on which
operating system you use.

Markus

On Jan 23, 2008 3:51 PM,  [EMAIL PROTECTED] wrote:

Chuck,

Thanks for your reply.  The DEM has 8,627 rows and 10,270 columns.
The command line statement I used is:

r.watershed el=fill th=400 ac=fac ba=basins st=str

I have also tried using the -m and -4 flags placed after the   
r.watershed part.


Thanks,

Matt


Quoting Charles Ehlschlaeger [EMAIL PROTECTED]:

 How many rows and columns are in the input map? Also include the exact
 command line statement you use to run the program.

 Sincerely, chuck

 Chuck Ehlschlaeger, Geospatial Science Consultant
 PERTAN GROUP, http://pertan.com/
 [EMAIL PROTECTED], 309-255-2727
 http://chuck.ehlschlaeger.info/


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 [EMAIL PROTECTED]
 Sent: Wednesday, January 23, 2008 7:15 AM
 To: grass-user@lists.osgeo.org
 Subject: [GRASS-user] Use of r.watershed

 Hello All,

 I am new to GRASS but have been using GIS (mainly ESRI products) for
 quite a few years.  I am trying to learn how to use GRASS to carry out
 hydrology related analyses.  Currently, I am trying to use the
 r.watershed command to delineate the basins for a watershed.  My
 question is, how long would you expect it to take to run?  I am
 wondering if I am doing it wrong or if it just takes longer than I
 would expect.  The DEM is about 170MB TIFF before I import it to
 GRASS.  I have tried to run it a few times using different options,
 each time letting it run for 3 - 4 hours before killing it. I have
 tried both the -m and -4 flags.  Any input would be appreciated.
 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user

 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.5.516 / Virus Database: 269.19.9/1238 - Release Date: 1/22/2008
 8:12 PM


 No virus found in this outgoing message.
 Checked by AVG Free Edition.
 Version: 7.5.516 / Virus Database: 269.19.9/1238 - Release Date: 1/22/2008
 8:12 PM




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





--
Open Source Geospatial Foundation
http://www.osgeo.org/
http://www.grassbook.org/




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


Re: [GRASS-user] Collapsing many layers into 1

2008-01-23 Thread Neil Godfrey
My problem is a little different.  I have just one map, but many layers.
I want to get one map, with just one layer.

On Tue, 2008-01-22 at 10:58 +0100, Martin Landa wrote:
 Hi,
 
 2008/1/22, Neil Godfrey [EMAIL PROTECTED]:
  The census 2000 administrative boundaries are shapefiles, where every
  county is a separate file.  So v.in.ogr creates a layer for every
  county.  So for example, I get 83 layers for the 83 counties in
  Michigan, which correspond to 83 tables, each with just one category.
 
  What I want is one layer with 83 categories.  I've had no luck with
  v.overlay, v.extract, v.patch, etc. because all those tools preserve the
  layers in the output map.
 
  Is there any way to do this?
 
 If the attribute tables have the same structure (number of columns,
 data types and key column), you can patch maps using
 
 v.patch -e in=`g.mlist vect pat='con*' out=con_patch
 v.clean in=con_patch out=con_clean tool=snap,break,rmdupl thresh=[value]
 
 ?
 
 Martin
 

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


Re: [GRASS-user] Use of r.watershed

2008-01-23 Thread hydro
Thanks for pointing out the excerpt from the manual.  So, based on  
that it seems that r.watershed will take longer to run than the  
ArcHydro tools.  How much longer? I guess I will just let it run and  
see if I can find out.  Then I will run r.terraflow and compare the  
differences between ArcHydro, r.terrafow and r.watershed.


If anyone has used r.watershed on a comparably sized DEM, I would be  
interested to hear how long it took to run.  By the way my machine has  
a 2.8Ghz P4 processor and 1.25G of RAM.


Quoting M S [EMAIL PROTECTED]:


If you are in a relatively flat area, there needs to be consideration given
to the algorithm (to my knowledge there is no choice in the ArcGIS suite)
used to do the most important thing:  delineate the watershed basin.  Since
the question was asked about differences, this may apply if your terrain is
relatively flat.

From the r.watershed manual, If watershed divides contain flat to low
slope, *r.watershed* will generate better basin results than *r.terraflow*.
(*r.terraflow* uses the same type of algorithm as ESRI's ArcGIS watershed
software which fails under these conditions.)
http://download.osgeo.org/grass/grass63/manuals/html63_user/r.watershed.html


Mark

On Jan 23, 2008 11:42 AM, [EMAIL PROTECTED] wrote:


Thanks.  I will try and change my threshold value this evening.

A little background, I have completed this phase of the project at
work using ArcHydro and it took about half a day total to run
through the tools (fill, flow direction, flow accumulation, etc.).  I
am trying to now do the same project at home using open source tools
as a means of learning grass and as a comparison.  I wonder if the
r.watershed algorithms differ enough from the ArcHydro ones to make
execution times very different?  Any thoughts?

Quoting Charles Ehlschlaeger [EMAIL PROTECTED]:

 r.watershed will take a long time for a 8,600x10,300 cell DEM under any
 circumstance. Your threshold value (400) might also be slowing things
down.

 How large should your smallest exterior watershed basin be? If your grid
 cells are 10mx10m, your basins will be 400x10mx10m = 40,000 m^2: not
that
 large. The larger the th value, the faster the program will run.

 Sincerely, chuck

 Chuck Ehlschlaeger, Geospatial Science Consultant
 PERTAN GROUP, http://pertan.com/
 [EMAIL PROTECTED], 309-255-2727
 http://chuck.ehlschlaeger.info/


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 [EMAIL PROTECTED]
 Sent: Wednesday, January 23, 2008 8:52 AM
 To: Charles Ehlschlaeger
 Cc: grass-user@lists.osgeo.org
 Subject: RE: [GRASS-user] Use of r.watershed

 Chuck,

 Thanks for your reply.  The DEM has 8,627 rows and 10,270 columns.
 The command line statement I used is:

 r.watershed el=fill th=400 ac=fac ba=basins st=str

 I have also tried using the -m and -4 flags placed after the r.watershed
 part.

 Thanks,

 Matt

 Quoting Charles Ehlschlaeger [EMAIL PROTECTED]:

 How many rows and columns are in the input map? Also include the exact
 command line statement you use to run the program.

 Sincerely, chuck

 Chuck Ehlschlaeger, Geospatial Science Consultant
 PERTAN GROUP, http://pertan.com/
 [EMAIL PROTECTED], 309-255-2727
 http://chuck.ehlschlaeger.info/


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 [EMAIL PROTECTED]
 Sent: Wednesday, January 23, 2008 7:15 AM
 To: grass-user@lists.osgeo.org
 Subject: [GRASS-user] Use of r.watershed

 Hello All,

 I am new to GRASS but have been using GIS (mainly ESRI products) for
 quite a few years.  I am trying to learn how to use GRASS to carry out
 hydrology related analyses.  Currently, I am trying to use the
 r.watershed command to delineate the basins for a watershed.  My
 question is, how long would you expect it to take to run?  I am
 wondering if I am doing it wrong or if it just takes longer than I
 would expect.  The DEM is about 170MB TIFF before I import it to
 GRASS.  I have tried to run it a few times using different options,
 each time letting it run for 3 - 4 hours before killing it. I have
 tried both the -m and -4 flags.  Any input would be appreciated.
 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user

 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.5.516 / Virus Database: 269.19.9/1238 - Release Date:
1/22/2008
 8:12 PM


 No virus found in this outgoing message.
 Checked by AVG Free Edition.
 Version: 7.5.516 / Virus Database: 269.19.9/1238 - Release Date:
1/22/2008
 8:12 PM




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

 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.5.516 / Virus Database: 269.19.9/1238 - Release Date:
1/22/2008
 8:12 PM


 No virus found in this outgoing 

Re: [GRASS-user] Collapsing many layers into 1

2008-01-23 Thread Martin Landa
Hi,

2008/1/23, Neil Godfrey [EMAIL PROTECTED]:

 My problem is a little different.  I have just one map, but many layers.
 I want to get one map, with just one layer.

you can use `v.category chlayer=` to change layer number, but it will
not touch attribute data.

v.category in=map out=map_1 chlayer=2,1,3,1,4,1

You can also extract layers to single-layer vector maps and the to patch them.

for layer in `seq 2 10`; do
v.extract in=map out=map_${layer} layer=$layer where=cat0;
done

v.patch in=`g.mlist vect pat=map_*` out=map_patch -e
v.clean ...

Martin

 On Tue, 2008-01-22 at 10:58 +0100, Martin Landa wrote:
  Hi,
 
  2008/1/22, Neil Godfrey [EMAIL PROTECTED]:
   The census 2000 administrative boundaries are shapefiles, where every
   county is a separate file.  So v.in.ogr creates a layer for every
   county.  So for example, I get 83 layers for the 83 counties in
   Michigan, which correspond to 83 tables, each with just one category.
  
   What I want is one layer with 83 categories.  I've had no luck with
   v.overlay, v.extract, v.patch, etc. because all those tools preserve the
   layers in the output map.
  
   Is there any way to do this?
 
  If the attribute tables have the same structure (number of columns,
  data types and key column), you can patch maps using
 
  v.patch -e in=`g.mlist vect pat='con*' out=con_patch
  v.clean in=con_patch out=con_clean tool=snap,break,rmdupl thresh=[value]
 
  ?
 
  Martin
 

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



-- 
Martin Landa [EMAIL PROTECTED] * http://gama.fsv.cvut.cz/~landa *
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Collapsing many layers into 1

2008-01-23 Thread Martin Landa
Hi,

2008/1/23, Martin Landa [EMAIL PROTECTED]:
 v.category in=map out=map_1 chlayer=2,1,3,1,4,1

ops, sorry, of course

v.category in=map out=map_1 opt=chlayer layer=2,1,3,1,4,1

Martin

-- 
Martin Landa [EMAIL PROTECTED] * http://gama.fsv.cvut.cz/~landa *
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Use of r.watershed

2008-01-23 Thread Markus Neteler
On Jan 23, 2008 6:28 PM,  [EMAIL PROTECTED] wrote:
 Thanks for pointing out the excerpt from the manual.  So, based on
 that it seems that r.watershed will take longer to run than the
 ArcHydro tools.  How much longer? I guess I will just let it run and
 see if I can find out.  Then I will run r.terraflow and compare the
 differences between ArcHydro, r.terrafow and r.watershed.

see also here for some comparison:
 http://www.cs.duke.edu/geo*/terraflow/speedup.html

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


[GRASS-user] clipping point with poly

2008-01-23 Thread Poizot Emmanuel

Dear all,

I would like to know how to clip a point vector layer using a polygon 
vector layer with grass62.

Thanks

--
Cordialement


Emmanuel Poizot
Cnam/Intechmer
B.P. 324
50103 Cherbourg Cedex

Phone (Direct) : (00 33)(0)233887342
Fax : (00 33)(0)233887339


begin:vcard
fn:Emmanuel Poizot
n:Poizot;Emmanuel
org:Cnam;Intechmer
adr:;;B.P. 324;Cherbourg;;50103;France
email;internet:[EMAIL PROTECTED]
title;quoted-printable:Ing=C3=A9nieur d'Etudes
tel;work:(0033)(0)233887342
tel;fax:(0033)(0)233887339
x-mozilla-html:FALSE
url:http://www.intechmer.cnam.fr
version:2.1
end:vcard

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


Re: [GRASS-user] Use of r.watershed

2008-01-23 Thread Hamish
hydromodeling.com wrote:
  I have also tried using the -m and -4 flags placed after the
  r.watershed part.

On modern systems using -m will slow it down a lot for minor memory
savings. Don't use it. I wouldn't bother with -4 either.

 r.terraflow

note as far as output basins go this calculates something different-
sink-watersheds not catchment watersheds. see
  http://thread.gmane.org/gmane.comp.gis.grass.user/21564/focus=21579

But r.terraflow should run in minutes.


 If anyone has used r.watershed on a comparably sized DEM, I would be 
 interested to hear how long it took to run.  By the way my machine
 has a 2.8Ghz P4 processor and 1.25G of RAM.

Yes I have run on something that size, and bigger. It could take up to
two days to complete, but it gets there with nice results. I usually
set it up to run on a friday afternoon and it's done by the time I get
back on monday. Setting the process priority low (ie high renice value)
helps if you leave it running during the week.


To get started, you might try the examples given for the Spearfish
dataset in the help page and on the wiki,

http://download.osgeo.org/grass/grass63/manuals/html63_user/r.watershed.html
  (help page home is in transition- broken link right now)
  http://grass.gdf-hannover.de/wiki/Psmap_flooding_example



Hamish



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


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


Re: [GRASS-user] clipping point with poly

2008-01-23 Thread Hamish
Poizot Emmanuel wrote:
 I would like to know how to clip a point vector layer using a
 polygon vector layer with grass62.


v.select or v.overlay


Hamish



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


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


Re: [GRASS-user] Use of r.watershed

2008-01-23 Thread Hamish
Markus:
 see also here for some comparison:
  http://www.cs.duke.edu/geo*/terraflow/speedup.html

it doesn't list GRASS version but from the Pentium III and March 2001
references I would expect that the version of r.watershed there was
from GRASS 5.0 and using the old color setting code which proved to be
a terrible bottleneck. The r.watershed in  newer versions of GRASS can
be much much faster.


Hamish



  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

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