Re: [GRASS-user] Calling GRASS command in multi-threads

2012-12-31 Thread Paul Meems
Thanks Paulo,

That page really helps.
I'll have a look at the Python multithreading example.

I also noticed something about r.sun and OpenCL:
http://grasswiki.osgeo.org/wiki/R.sun#OpenCL
This page doesn't say if it is already implemented in the current version
of GRASS. I do think I need to use GRASS7, am I right?
I have a ATI Radeon HD 4800 with 4GB, this should speed up r.sun, right?
I've looked at the download page of GRASS, but didn't see a GRASS7
installer for Windows. Isn't this available? I really don't hope I need to
compile it myself ;)

Thanks,

Paul

2012/12/29 Paulo van Breugel p.vanbreu...@gmail.com

  Perhaps this will give you some useful pointers:
 http://grasswiki.osgeo.org/wiki/Parallel_GRASS_jobs


 On 12/29/2012 01:03 PM, Paul Meems wrote:

  Hi list,

  Last night my test script successfully finished processing my small area
 and created a annual solar radiation raster.

 I did a comparison with the solar radiation produced by ArcMap and noticed
 its radiation is almost twice as high as the one produced by Grass.
 Probably I'm not using the correct output files.
  I'm using glob_rad from r.sun as my result. I will have a closer look why
 this difference is happening.
  If anyone can give me some pointers that would be must appreciated.

  My real question today is how to speed up the process. My script took 7
 hours to finish, but only used a fraction of the available resources. While
 running the script (on Windows) only 30% of my quadcore CPU was used and
 only 3GB of my 8GB RAM.
  Since I'm looping on r.sun, calling it 365 times I was thinking of
 calling it several times at once.
  Is this possible? Calling r.sun 4 or 5 times at once will decrease the
 time for the script to workable proportions.
 Probably this is more of a Python question than a GRASS question but any
 pointers would be very helpful.

  Thanks,

  Paul






 ___
 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


Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-31 Thread Markus Metz
On Sun, Dec 30, 2012 at 11:44 PM, Milton Cezar Ribeiro
miltinho.astrona...@gmail.com wrote:
 Hi Markus

 I am using this commands.

 r.cost -k input=friction_landuse_roads output=cost_map
 start_points=map_source_pt stop_points=map_target_pt --o
 r.drain input=cost_map output=drain_map vector_points=map_target_pt --o

r.drain in GRASS 6.4 does not work with cost surfaces generated with
the Knight's Move (r.cost -k). Actually, r.drain does not work at all
with cost surfaces in GRASS 6.4. You need the direction map together
with the cost surface, and this is only available in 6.5 and 7.


 I have not a direction map, and as for other source-target-friction
 maps everything works fine without direction map I thougth that this
 should work for all.

I doubt that it works fine if you do not use the direction map
generated by r.cost, because r.drain modifies the input surface if no
direction map is given, but for a cumulative cost surface these
modifications introduce errors.


 If you have the chance, please run the command and take a look that
 the drain line finish on right border.

I see. The output is correct with regard to the input cost surface
only if a direction map is used as indir input for r.drain.

I am going to backport r.cost/r.walk/r.drain from 6.5 to 6.4.

Happy new year,

Markus M


 best wishes

 miltinho


 2012/12/30, Markus Metz markus.metz.gisw...@gmail.com:
 On Sun, Dec 30, 2012 at 8:59 PM, Milton Cezar Ribeiro
 miltinho.astrona...@gmail.com wrote:
 Hi Rashad

 I tested with the trunk svn, but apparently it still not worked to me.
 Are you able to test with my datased?

 https://www.yousendit.com/download/UW16RE9zTkxlM1JBSXNUQw

 What are the commands you used? I found
 r.drain input=custo_aux_cost output=custo_aux_cost_drain
 vector_points=map_target_pt

 You need to also provide a direction map with the indir option of r.drain.

 Markus M


 Thanks!

 miltinho

 2012/12/27, Mohammed Rashad mohammedrasha...@gmail.com:
 Hi Milton,

 I think this fix will solve the problem[0]. For elevation data there
 might
 be cases where no path exists ie, only single pixel is the selected path.
 I
 had tested it by myself and it worked.

 Please apply the patch and let me know.

 If any problem comes in compilation or doing r.drain let me know. It
 will
 be great if you can share the test data you are using in case not
 working
 after applying the patch

 [0] http://trac.osgeo.org/grass/attachment/ticket/1840/r.drain.diff
 [1] http://trac.osgeo.org/grass/attachment/ticket/1840/drain.c


 On Thu, Dec 27, 2012 at 2:31 AM, Milton Cezar Ribeiro 
 miltinho.astrona...@gmail.com wrote:

 Hi Mohamed and Markus

 Mohamed, thanks for your reply, I will wait for a solution within GRASS
 :-)

 Markus, thanks for your reply,. Sorry  but I disagree a tiny bit,
 because is expected that between a source and target I will find a
 solution with the Least Cost path. Do you think that is there any
 situation where a least cost between source and target will not be
 found? Maybe if other software provide the soluction, although is not
 the bestest option, I prefere receive one complete output than a
 broken one.

 Happy new year!

 miltinho

 2012/12/23, Markus Metz markus.metz.gisw...@gmail.com:
  On Sun, Dec 23, 2012 at 7:07 PM, Milton Cezar Ribeiro
  miltinho.astrona...@gmail.com wrote:
  Dear all,
 
  I am running a least cost path analysis combining r.cost and
  r.drain.
  But on some cases, when the least cost path between source and
  target
  reach the border of my map, r.drain stop on that position, and
  target
  point isn´t reached.
 
  This is correct because at the borders, the direction can not be
  determined, the path could lead out of the current region, you can
  not
  tell.
 
  Running on other softwares the algorithms the
  source and target is connected using edges without problem.
 
  If in doubt, I would call it a bug in that other software.
 
 
  Any hint are welcome.
 
  Try to expand the current region
 
  Markus M
 


 --
 Miltinho - m...@rc.unesp.br
 Laboratório de Ecologia Espacial e Conservação - LEEC
 Depto de Ecologia - UNESP - Rio Claro
 Av. 24A, 1515- Bela Vista
 13506-900 Rio Claro, SP, Brasil

 Fone: +55 19 3526-9647 (office)  19 3526-9680 (lab)
 Cel: 19 9853-3220 / 19 9853-5430

 Depto Ecologia http://www.rc.unesp.br/ib/ecologia/

 PG ECO  BIODIV
 http://www.rc.unesp.br/ib/ecologia/posbiodiversidade/index.php

 CV
 http://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4792988H6mostrarNroCitacoesISI=truemostrarNroCitacoesScopus=true

 Google citations http://scholar.google.com/citations?user=OWX_2eAJ
 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user




 --
 Regards,
Rashad



 --
 Miltinho - m...@rc.unesp.br
 Laboratório de Ecologia Espacial e Conservação - LEEC
 Depto de Ecologia - UNESP - Rio Claro
 Av. 24A, 1515- Bela Vista
 13506-900 Rio Claro, SP, Brasil

 Fone: 

Re: [GRASS-user] Calling GRASS command in multi-threads

2012-12-31 Thread Markus Neteler
Hi Paul,

On Mon, Dec 31, 2012 at 11:37 AM, Paul Meems bontepaar...@gmail.com wrote:
 I also noticed something about r.sun and OpenCL:
 http://grasswiki.osgeo.org/wiki/R.sun#OpenCL
 This page doesn't say if it is already implemented in the current version of
 GRASS. I do think I need to use GRASS7, am I right?
 I have a ATI Radeon HD 4800 with 4GB, this should speed up r.sun, right?

well, only if you compile that particularly modified r.sun/OpenCL version
which didn't make it so far into core GRASS.

It may be worthwhile to study OpenMP support for r.sun since it is
offered by the gcc compiler directly. Unfortunately OpenMP is a bit
tricky.

 I've looked at the download page of GRASS, but didn't see a GRASS7 installer
 for Windows. Isn't this available?

Ops, yes, it is: I have just added the missing link at

http://grass.osgeo.org/download/software/ms-windows/
- SVN nightly winGRASS 7 experimental builds

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


Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-31 Thread Markus Metz
Markus Metz wrote:

 I am going to backport r.cost/r.walk/r.drain from 6.5 to 6.4.

Done in r54470-1.


 Happy new year,

 Markus M


 best wishes

 miltinho


 2012/12/30, Markus Metz markus.metz.gisw...@gmail.com:
 On Sun, Dec 30, 2012 at 8:59 PM, Milton Cezar Ribeiro
 miltinho.astrona...@gmail.com wrote:
 Hi Rashad

 I tested with the trunk svn, but apparently it still not worked to me.
 Are you able to test with my datased?

 https://www.yousendit.com/download/UW16RE9zTkxlM1JBSXNUQw

 What are the commands you used? I found
 r.drain input=custo_aux_cost output=custo_aux_cost_drain
 vector_points=map_target_pt

 You need to also provide a direction map with the indir option of r.drain.

 Markus M


 Thanks!

 miltinho

 2012/12/27, Mohammed Rashad mohammedrasha...@gmail.com:
 Hi Milton,

 I think this fix will solve the problem[0]. For elevation data there
 might
 be cases where no path exists ie, only single pixel is the selected path.
 I
 had tested it by myself and it worked.

 Please apply the patch and let me know.

 If any problem comes in compilation or doing r.drain let me know. It
 will
 be great if you can share the test data you are using in case not
 working
 after applying the patch

 [0] http://trac.osgeo.org/grass/attachment/ticket/1840/r.drain.diff
 [1] http://trac.osgeo.org/grass/attachment/ticket/1840/drain.c


 On Thu, Dec 27, 2012 at 2:31 AM, Milton Cezar Ribeiro 
 miltinho.astrona...@gmail.com wrote:

 Hi Mohamed and Markus

 Mohamed, thanks for your reply, I will wait for a solution within GRASS
 :-)

 Markus, thanks for your reply,. Sorry  but I disagree a tiny bit,
 because is expected that between a source and target I will find a
 solution with the Least Cost path. Do you think that is there any
 situation where a least cost between source and target will not be
 found? Maybe if other software provide the soluction, although is not
 the bestest option, I prefere receive one complete output than a
 broken one.

 Happy new year!

 miltinho

 2012/12/23, Markus Metz markus.metz.gisw...@gmail.com:
  On Sun, Dec 23, 2012 at 7:07 PM, Milton Cezar Ribeiro
  miltinho.astrona...@gmail.com wrote:
  Dear all,
 
  I am running a least cost path analysis combining r.cost and
  r.drain.
  But on some cases, when the least cost path between source and
  target
  reach the border of my map, r.drain stop on that position, and
  target
  point isn´t reached.
 
  This is correct because at the borders, the direction can not be
  determined, the path could lead out of the current region, you can
  not
  tell.
 
  Running on other softwares the algorithms the
  source and target is connected using edges without problem.
 
  If in doubt, I would call it a bug in that other software.
 
 
  Any hint are welcome.
 
  Try to expand the current region
 
  Markus M
 


 --
 Miltinho - m...@rc.unesp.br
 Laboratório de Ecologia Espacial e Conservação - LEEC
 Depto de Ecologia - UNESP - Rio Claro
 Av. 24A, 1515- Bela Vista
 13506-900 Rio Claro, SP, Brasil

 Fone: +55 19 3526-9647 (office)  19 3526-9680 (lab)
 Cel: 19 9853-3220 / 19 9853-5430

 Depto Ecologia http://www.rc.unesp.br/ib/ecologia/

 PG ECO  BIODIV
 http://www.rc.unesp.br/ib/ecologia/posbiodiversidade/index.php

 CV
 http://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4792988H6mostrarNroCitacoesISI=truemostrarNroCitacoesScopus=true

 Google citations http://scholar.google.com/citations?user=OWX_2eAJ
 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user




 --
 Regards,
Rashad



 --
 Miltinho - m...@rc.unesp.br
 Laboratório de Ecologia Espacial e Conservação - LEEC
 Depto de Ecologia - UNESP - Rio Claro
 Av. 24A, 1515- Bela Vista
 13506-900 Rio Claro, SP, Brasil

 Fone: +55 19 3526-9647 (office)  19 3526-9680 (lab)
 Cel: 19 9853-3220 / 19 9853-5430

 Depto Ecologia http://www.rc.unesp.br/ib/ecologia/

 PG ECO  BIODIV
 http://www.rc.unesp.br/ib/ecologia/posbiodiversidade/index.php

 CV
 http://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4792988H6mostrarNroCitacoesISI=truemostrarNroCitacoesScopus=true

 Google citations http://scholar.google.com/citations?user=OWX_2eAJ



 --
 Miltinho - m...@rc.unesp.br
 Laboratório de Ecologia Espacial e Conservação - LEEC
 Depto de Ecologia - UNESP - Rio Claro
 Av. 24A, 1515- Bela Vista
 13506-900 Rio Claro, SP, Brasil

 Fone: +55 19 3526-9647 (office)  19 3526-9680 (lab)
 Cel: 19 9853-3220 / 19 9853-5430

 Depto Ecologia http://www.rc.unesp.br/ib/ecologia/

 PG ECO  BIODIV 
 http://www.rc.unesp.br/ib/ecologia/posbiodiversidade/index.php

 CV 
 http://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4792988H6mostrarNroCitacoesISI=truemostrarNroCitacoesScopus=true

 Google citations http://scholar.google.com/citations?user=OWX_2eAJ
___
grass-user mailing list
grass-user@lists.osgeo.org

Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-31 Thread Milton Cezar Ribeiro
Hi Markus

Thanks for all your help.
Please, which svn command I need to run to get the daily trunk subversion?

best

miltinho

2012/12/31, Markus Metz markus.metz.gisw...@gmail.com:
 Markus Metz wrote:

 I am going to backport r.cost/r.walk/r.drain from 6.5 to 6.4.

 Done in r54470-1.


 Happy new year,

 Markus M


 best wishes

 miltinho


 2012/12/30, Markus Metz markus.metz.gisw...@gmail.com:
 On Sun, Dec 30, 2012 at 8:59 PM, Milton Cezar Ribeiro
 miltinho.astrona...@gmail.com wrote:
 Hi Rashad

 I tested with the trunk svn, but apparently it still not worked to me.
 Are you able to test with my datased?

 https://www.yousendit.com/download/UW16RE9zTkxlM1JBSXNUQw

 What are the commands you used? I found
 r.drain input=custo_aux_cost output=custo_aux_cost_drain
 vector_points=map_target_pt

 You need to also provide a direction map with the indir option of
 r.drain.

 Markus M


 Thanks!

 miltinho

 2012/12/27, Mohammed Rashad mohammedrasha...@gmail.com:
 Hi Milton,

 I think this fix will solve the problem[0]. For elevation data there
 might
 be cases where no path exists ie, only single pixel is the selected
 path.
 I
 had tested it by myself and it worked.

 Please apply the patch and let me know.

 If any problem comes in compilation or doing r.drain let me know. It
 will
 be great if you can share the test data you are using in case not
 working
 after applying the patch

 [0] http://trac.osgeo.org/grass/attachment/ticket/1840/r.drain.diff
 [1] http://trac.osgeo.org/grass/attachment/ticket/1840/drain.c


 On Thu, Dec 27, 2012 at 2:31 AM, Milton Cezar Ribeiro 
 miltinho.astrona...@gmail.com wrote:

 Hi Mohamed and Markus

 Mohamed, thanks for your reply, I will wait for a solution within
 GRASS
 :-)

 Markus, thanks for your reply,. Sorry  but I disagree a tiny bit,
 because is expected that between a source and target I will find a
 solution with the Least Cost path. Do you think that is there any
 situation where a least cost between source and target will not be
 found? Maybe if other software provide the soluction, although is
 not
 the bestest option, I prefere receive one complete output than a
 broken one.

 Happy new year!

 miltinho

 2012/12/23, Markus Metz markus.metz.gisw...@gmail.com:
  On Sun, Dec 23, 2012 at 7:07 PM, Milton Cezar Ribeiro
  miltinho.astrona...@gmail.com wrote:
  Dear all,
 
  I am running a least cost path analysis combining r.cost and
  r.drain.
  But on some cases, when the least cost path between source and
  target
  reach the border of my map, r.drain stop on that position, and
  target
  point isn´t reached.
 
  This is correct because at the borders, the direction can not be
  determined, the path could lead out of the current region, you can
  not
  tell.
 
  Running on other softwares the algorithms the
  source and target is connected using edges without problem.
 
  If in doubt, I would call it a bug in that other software.
 
 
  Any hint are welcome.
 
  Try to expand the current region
 
  Markus M
 


 --
 Miltinho - m...@rc.unesp.br
 Laboratório de Ecologia Espacial e Conservação - LEEC
 Depto de Ecologia - UNESP - Rio Claro
 Av. 24A, 1515- Bela Vista
 13506-900 Rio Claro, SP, Brasil

 Fone: +55 19 3526-9647 (office)  19 3526-9680 (lab)
 Cel: 19 9853-3220 / 19 9853-5430

 Depto Ecologia http://www.rc.unesp.br/ib/ecologia/

 PG ECO  BIODIV
 http://www.rc.unesp.br/ib/ecologia/posbiodiversidade/index.php

 CV
 http://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4792988H6mostrarNroCitacoesISI=truemostrarNroCitacoesScopus=true

 Google citations
 http://scholar.google.com/citations?user=OWX_2eAJ
 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user




 --
 Regards,
Rashad



 --
 Miltinho - m...@rc.unesp.br
 Laboratório de Ecologia Espacial e Conservação - LEEC
 Depto de Ecologia - UNESP - Rio Claro
 Av. 24A, 1515- Bela Vista
 13506-900 Rio Claro, SP, Brasil

 Fone: +55 19 3526-9647 (office)  19 3526-9680 (lab)
 Cel: 19 9853-3220 / 19 9853-5430

 Depto Ecologia http://www.rc.unesp.br/ib/ecologia/

 PG ECO  BIODIV
 http://www.rc.unesp.br/ib/ecologia/posbiodiversidade/index.php

 CV
 http://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4792988H6mostrarNroCitacoesISI=truemostrarNroCitacoesScopus=true

 Google citations http://scholar.google.com/citations?user=OWX_2eAJ



 --
 Miltinho - m...@rc.unesp.br
 Laboratório de Ecologia Espacial e Conservação - LEEC
 Depto de Ecologia - UNESP - Rio Claro
 Av. 24A, 1515- Bela Vista
 13506-900 Rio Claro, SP, Brasil

 Fone: +55 19 3526-9647 (office)  19 3526-9680 (lab)
 Cel: 19 9853-3220 / 19 9853-5430

 Depto Ecologia http://www.rc.unesp.br/ib/ecologia/

 PG ECO  BIODIV
 http://www.rc.unesp.br/ib/ecologia/posbiodiversidade/index.php

 CV
 http://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4792988H6mostrarNroCitacoesISI=truemostrarNroCitacoesScopus=true

 Google citations 

Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-31 Thread Markus Neteler
On Mon, Dec 31, 2012 at 3:05 PM, Milton Cezar Ribeiro
miltinho.astrona...@gmail.com wrote:
 Hi Markus

 Thanks for all your help.
 Please, which svn command I need to run to get the daily trunk subversion?

See here:
http://trac.osgeo.org/grass/wiki/Release/6.4.3RC2-News
-- SVN Checkout latest 6.4 release branch (including unreleased bugfixes):


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


Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-31 Thread Milton Cezar Ribeiro
Hi all,

thanks again for the help with this.
I tried several versions of 6.4X (6.42 weekly snapshot, 6.43.. ) and
6.5 but in none of them, when I try to see the parameters for create
output direction on r.cost man page I can't see how can I generate
direction for input on r.drain.

Including the suggestion of M.Neterler
svn checkout https://svn.osgeo.org/grass/grass/branches/develbranch_6
grass6_devel

Sorry to do this so trouble, but maybe I am not finding where can I
get an updated version of r.cost, r.drain and r.walk.

Happy 2013!

miltinho


2012/12/31, Markus Neteler nete...@osgeo.org:
 On Mon, Dec 31, 2012 at 3:05 PM, Milton Cezar Ribeiro
 miltinho.astrona...@gmail.com wrote:
 Hi Markus

 Thanks for all your help.
 Please, which svn command I need to run to get the daily trunk
 subversion?

 See here:
 http://trac.osgeo.org/grass/wiki/Release/6.4.3RC2-News
 -- SVN Checkout latest 6.4 release branch (including unreleased bugfixes):


 Best
 MarkusN



-- 
Miltinho - m...@rc.unesp.br
Laboratório de Ecologia Espacial e Conservação - LEEC
Depto de Ecologia - UNESP - Rio Claro
Av. 24A, 1515- Bela Vista
13506-900 Rio Claro, SP, Brasil

Fone: +55 19 3526-9647 (office)  19 3526-9680 (lab)
Cel: 19 9853-3220 / 19 9853-5430

Depto Ecologia http://www.rc.unesp.br/ib/ecologia/

PG ECO  BIODIV http://www.rc.unesp.br/ib/ecologia/posbiodiversidade/index.php

CV 
http://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4792988H6mostrarNroCitacoesISI=truemostrarNroCitacoesScopus=true

Google citations http://scholar.google.com/citations?user=OWX_2eAJ
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-31 Thread Markus Metz
On Mon, Dec 31, 2012 at 3:52 PM, Milton Cezar Ribeiro
miltinho.astrona...@gmail.com wrote:
 Hi all,

 thanks again for the help with this.
 I tried several versions of 6.4X (6.42 weekly snapshot, 6.43.. ) and
 6.5 but in none of them, when I try to see the parameters for create
 output direction on r.cost man page I can't see how can I generate
 direction for input on r.drain.

For r.cost and r.walk, the option to write directions to a raster map
is outdir, see

http://grass.osgeo.org/grass65/manuals/r.cost.html
http://grass.osgeo.org/grass65/manuals/r.walk.html

For r.drain, the option to use directions as input is indir, see

http://grass.osgeo.org/grass65/manuals/r.drain.html



 Including the suggestion of M.Neterler
 svn checkout https://svn.osgeo.org/grass/grass/branches/develbranch_6
 grass6_devel

 Sorry to do this so trouble, but maybe I am not finding where can I
 get an updated version of r.cost, r.drain and r.walk.

Within the root directory of the source tree
svn up

Markus M

 Happy 2013!

 miltinho


 2012/12/31, Markus Neteler nete...@osgeo.org:
 On Mon, Dec 31, 2012 at 3:05 PM, Milton Cezar Ribeiro
 miltinho.astrona...@gmail.com wrote:
 Hi Markus

 Thanks for all your help.
 Please, which svn command I need to run to get the daily trunk
 subversion?

 See here:
 http://trac.osgeo.org/grass/wiki/Release/6.4.3RC2-News
 -- SVN Checkout latest 6.4 release branch (including unreleased bugfixes):


 Best
 MarkusN



 --
 Miltinho - m...@rc.unesp.br
 Laboratório de Ecologia Espacial e Conservação - LEEC
 Depto de Ecologia - UNESP - Rio Claro
 Av. 24A, 1515- Bela Vista
 13506-900 Rio Claro, SP, Brasil

 Fone: +55 19 3526-9647 (office)  19 3526-9680 (lab)
 Cel: 19 9853-3220 / 19 9853-5430

 Depto Ecologia http://www.rc.unesp.br/ib/ecologia/

 PG ECO  BIODIV http://www.rc.unesp.br/ib/ecologia/posbiodiversidade/index.php

 CV 
 http://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4792988H6mostrarNroCitacoesISI=truemostrarNroCitacoesScopus=true

 Google citations http://scholar.google.com/citations?user=OWX_2eAJ
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] r.drain problem when flow reach the border

2012-12-31 Thread Markus Neteler
On Mon, Dec 31, 2012 at 4:41 PM, Markus Metz
markus.metz.gisw...@gmail.com wrote:
 see

 http://grass.osgeo.org/grass65/manuals/r.cost.html
 http://grass.osgeo.org/grass65/manuals/r.walk.html

 For r.drain, the option to use directions as input is indir, see

 http://grass.osgeo.org/grass65/manuals/r.drain.html

Just FYI:
I forced the creation of the 6.4 manual an hour ago, so that's
also already updated (usually it happens on Saturdays).

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


Re: [GRASS-user] Upon improving the GRASS-wiki

2012-12-31 Thread Nikos Alexandris
Nikos:

   BTW, where are the official GRASS-color combinations?

Martin:

  logos ? http://grass.osgeo.org/download/logos/

Nikos:

  Thought maybe I missed some list with the official colors.

Markus:

 You can grab them from the logos.
 
 The old green is in the stylesheet here: http://grassold.osgeo.org/
 For the new CMS, we made it a bit warmer: http://grass.osgeo.org/

 I agree that we should list the RGB/hex values on the logos page.

Adding this in my ToDo list.

Nikos

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] r.drain problem when flow reach the border

2012-12-31 Thread Milton Cezar Ribeiro
Hi there

Everything worked fine.
Congrats for all your great job on GRASS-GIS solution, and again many
thanks for the effert on deal with this in the transition 2012/2013
(yes! 2013 in Australia and other places around world!).

best wishes

miltinho

2012/12/31, Markus Neteler nete...@osgeo.org:
 On Mon, Dec 31, 2012 at 4:41 PM, Markus Metz
 markus.metz.gisw...@gmail.com wrote:
 see

 http://grass.osgeo.org/grass65/manuals/r.cost.html
 http://grass.osgeo.org/grass65/manuals/r.walk.html

 For r.drain, the option to use directions as input is indir, see

 http://grass.osgeo.org/grass65/manuals/r.drain.html

 Just FYI:
 I forced the creation of the 6.4 manual an hour ago, so that's
 also already updated (usually it happens on Saturdays).

 MarkusN



-- 
Miltinho - m...@rc.unesp.br
Laboratório de Ecologia Espacial e Conservação - LEEC
Depto de Ecologia - UNESP - Rio Claro
Av. 24A, 1515- Bela Vista
13506-900 Rio Claro, SP, Brasil

Fone: +55 19 3526-9647 (office)  19 3526-9680 (lab)
Cel: 19 9853-3220 / 19 9853-5430

Depto Ecologia http://www.rc.unesp.br/ib/ecologia/

PG ECO  BIODIV http://www.rc.unesp.br/ib/ecologia/posbiodiversidade/index.php

CV 
http://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4792988H6mostrarNroCitacoesISI=truemostrarNroCitacoesScopus=true

Google citations http://scholar.google.com/citations?user=OWX_2eAJ
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] r.mapcalc generates one pixel map

2012-12-31 Thread Gökçen Güner
Hello,
I'm a GIS student and in my project I need to generate vegetation indexes.
I've generated it succesfully yesterday using both python2.7 and grass gui
.I'm using WinGRASS-6.5.svn-r54428-453 on Win7. Today -I don't know why-
grass started to generate 1 pixel NDVI map. The formula is as simple as it
could be: float(b4-b3)/(b4+b3) as most of you already know. My data is not
corrupted, I'd saved original maps somewhere else and it was my first check
that whether there is a corruption. Also using QGis 1.8.1 I can generate
correct NDVI map with same data. You can check it here:

r.info map=ndvi4@PERMANENT
++
| Layer: ndvi4@PERMANENT Date: Tue Jan 01 04:06:35 2013 |
| Mapset: PERMANENT Login of Creator: murat |
| Location: newLocation |
| DataBase: D:\gis\grassWS |
| Title: ( ndvi4 ) |
| Timestamp: none |
||
| |
| Type of Map: raster Number of Categories: 255 |
| Data Type: FCELL |
| Rows: 1 |
| Columns: 1 |
| Total Cells: 1 |
| Projection: UTM (zone 36) |
| N: 1 S: 0 Res: 1 |
| E: 1 W: 0 Res: 1 |
| Range of data: min = nan max = nan |
| |
| Data Description: |
| generated by r.mapcalc |
| |
| Comments: |
| float(L71175034_03420050627_B40@PERMANENT - |
| L71175034_03420050627_B30@PERMANENT) / |
| (L71175034_03420050627_B40@PERMANENT + |
| L71175034_03420050627_B30@PERMANENT) |
| |
++
(Tue Jan 01 04:06:51 2013) Command finished (0 sec)

I uninstalled WinGRASS-6.5.svn-r54428-453  and installed
WinGRASS-7.0.svn-r54453-453, I've deleted mapset and location and the
recrated them also. I couldn't think anything else please give me some
information.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] r.mapcalc generates one pixel map

2012-12-31 Thread Glynn Clements

Gökçen Güner wrote:

 I'm a GIS student and in my project I need to generate vegetation indexes.
 I've generated it succesfully yesterday using both python2.7 and grass gui
 .I'm using WinGRASS-6.5.svn-r54428-453 on Win7. Today -I don't know why-
 grass started to generate 1 pixel NDVI map.

The map generated by r.mapcalc (and by most r.* commands) has the
bounds and resolution of the current region. Use g.region to set the
region to something more appropriate.

-- 
Glynn Clements gl...@gclements.plus.com
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user