Re: [GRASS-user] Get current location projection in a Python Script

2010-05-30 Thread Nikos Alexandris
[...] Nikos Alexandris: Just for the records, a thread not _directly_ about it but close (enough?): http://osgeo-org.1803224.n2.nabble.com/Getting-rows-cols-of-a-region-i n -a- script-tc2787474.html#a2788062 [...] 1. http://www.mail-archive.com/grass-user@lists.osgeo.org/msg08280.html

Re: [GRASS-user] Trying python scripts.

2010-05-30 Thread Nikos Alexandris
Marcello Gorini: ... I am a total beginner in python and GRASS (and any other programming language), so I am trying to run the first examples found in http://grass.osgeo.org/wiki/GRASS_and_Python. Marcello, just fyi: I've added another simple example script in

Re: [GRASS-user] GRASS GUI assessment

2010-05-30 Thread Martin Landa
Hi, 2010/5/30 Mohammed Rashad rasha...@yahoo.com: how to submit data catalog code to grass trunk. is it possible to use datacatalog as the new grass gui manager. I would vote to keep data catalog in addons and rather to improve g.extension to install also wxGUI extensions. Probably later it

Re: [GRASS-user] Get current location projection in a Python Script

2010-05-30 Thread Michael Barton
Thanks. Quite helpful. Michael C. Michael Barton Director, Center for Social Dynamics Complexity Professor of Anthropology, School of Human Evolution Social Change Arizona State University voice: 480-965-6262 (SHESC), 480-727-9746 (CSDC) fax: 480-965-7671

[GRASS-user] Re: Trying python scripts.

2010-05-30 Thread Marcello Gorini
Nikos Alexandris wrote: Marcello Gorini: ... I am a total beginner in python and GRASS (and any other programming language), so I am trying to run the first examples found in http://grass.osgeo.org/wiki/GRASS_and_Python. Marcello, just fyi: I've added another simple example script

Re: [GRASS-user] v.lidar.growing - rasterized step

2010-05-30 Thread Markus Neteler
On Fri, May 28, 2010 at 1:50 PM, Mark Seibel msei...@gmail.com wrote: In the v.lidar.growing manual, it mentions how double pulses are considered, The classification categories from v.lidar.edgedetection are now rasterized.  Does this use region cell size, r is it all handled behind the scenes

Re: [GRASS-user] Re: Trying python scripts.

2010-05-30 Thread Martin Landa
Hi, 2010/5/30 Marcello Gorini gor...@gmail.com: I am a total beginner in python and GRASS (and any other programming language), so I am trying to run the first examples found in http://grass.osgeo.org/wiki/GRASS_and_Python. GRASS 6.4.0RC5 is quite old. Try RC6 or better download code from SVN

[GRASS-user] Re: Trying python scripts.

2010-05-30 Thread Marcello Gorini
Martin Landa wrote: Hi, 2010/5/30 Marcello Gorini gor...@gmail.com: I am a total beginner in python and GRASS (and any other programming language), so I am trying to run the first examples found in http://grass.osgeo.org/wiki/GRASS_and_Python. GRASS 6.4.0RC5 is quite old. Try RC6 or

Re: [GRASS-user] Re: Trying python scripts.

2010-05-30 Thread Nikos Alexandris
[...] Martin Landa wrote: GRASS 6.4.0RC5 is quite old. Try RC6 or better download code from SVN http://trac.osgeo.org/grass/wiki/DownloadSource#GRASS6.4 Marcello Gorini: Yes, I think I need to move on and download a newer version. I will probably try to install GRASS 7. Gr7 is under

[GRASS-user] Re: Trying python scripts.

2010-05-30 Thread Marcello Gorini
OK, right after a wrote that, I thought I was being too bold. Should I go for: svn checkout https://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 grass64_release or this one? svn checkout https://svn.osgeo.org/grass/grass/tags/release_20090609_grass_6_4_0RC5 grass640_rc5 Thanks again

Re: [GRASS-user] Re: Trying python scripts.

2010-05-30 Thread stephen sefick
This is a script that I wrote this morning to grab the latest 6.4 svn sources and the addons, and then compile the addons that I want and install grass. the sources are checked out to ~/sources/grass/grass64_release and ../grass-addons. I don't know if you are on *nix, but this has made me a

Re: [GRASS-user] Re: Trying python scripts.

2010-05-30 Thread Nikos Alexandris
On Monday 31 of May 2010 00:11:00 Marcello Gorini wrote: OK, right after a wrote that, I thought I was being too bold. Should I go for: svn checkout https://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 grass64_release or this one? svn checkout

[GRASS-user] Re: Trying python scripts.

2010-05-30 Thread Marcello Gorini
On Monday 31 of May 2010 00:11:00 Marcello Gorini wrote: Should I go for: svn checkout https://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 grass64_release or this one? svn checkout https://svn.osgeo.org/grass/grass/tags/release_20090609_grass_6_4_0RC5 grass640_rc5 Nikos

Re: [GRASS-user] Re: Trying python scripts.

2010-05-30 Thread Hamish
Marcello wrote: checking for lex... no configure: error: *** Unable to locate lex. ... P.S. I use Ubuntu 9.10 64 bits. you need to install all the Build-depends packages listed here: http://svn.debian.org/viewsvn/pkg-grass/packages/grass/trunk/debian/control (

[GRASS-user] Re: Trying python scripts.

2010-05-30 Thread Marcello Gorini
hamish-2 wrote: Marcello wrote: checking for lex... no configure: error: *** Unable to locate lex. ... P.S. I use Ubuntu 9.10 64 bits. you need to install all the Build-depends packages listed here: http://svn.debian.org/viewsvn/pkg-grass/packages/grass/trunk/debian/control (

[GRASS-user] Re: Trying python scripts.

2010-05-30 Thread Marcello Gorini
Marcello Gorini wrote: hamish-2 wrote: Marcello wrote: checking for lex... no configure: error: *** Unable to locate lex. ... P.S. I use Ubuntu 9.10 64 bits. you need to install all the Build-depends packages listed here:

Re: [GRASS-user] Get current location projection in a Python Script

2010-05-30 Thread Glynn Clements
[CC to grass-dev] Nikos Alexandris wrote: # faster/ easier way: use of the grass.region() function rows = int(grass.region()['rows']) cols = int(grass.region()['cols']) In 7.0, these fields are already integers; r40555 should be backported. -- Glynn Clements

Re: [GRASS-user] Re: Trying python scripts.

2010-05-30 Thread Markus Neteler
On Mon, May 31, 2010 at 12:11 AM, Marcello Gorini gor...@gmail.com wrote: OK, right after a wrote that, I thought I was being too bold. Should I go for: svn checkout https://svn.osgeo.org/grass/grass/branches/releasebranch_6_4 grass64_release Yes. Subsequently, it is sufficient to run cd