Re: R: R: R: [GRASS-dev] Re: [GRASS GIS] #160: WinGRASS:v.reportincompatability issue

2008-05-19 Thread Michael Barton
/143 __ Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution Social Change Center for Social Dynamics Complexity Arizona State University phone: 480-965-6213 fax: 480-965-7671 www: http://www.public.asu.edu

Re: [GRASS-dev] Changes which may need to be merged

2008-05-21 Thread Michael Barton
working copies of both, e.g.: svn diff \ https://svn.osgeo.org/grass/grass/trunk/general/g.region/main.c \ https://svn.osgeo.org/grass/grass/branches/develbranch_6/general/g.region/main .c -- Glynn Clements [EMAIL PROTECTED] __ Michael Barton

Re: [GRASS-dev] Changes which may need to be merged

2008-05-21 Thread Michael Barton
gui/tcltk/gis.m/mapcanvas.tcl I responded on the following batch gui/tcltk/gis.m/runandoutput.tcl lib/gis/gui.tcl lib/gtcltk/gronsole.tcl __ Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human

Re: [GRASS-dev] Changes which may need to be merged

2008-05-21 Thread Michael Barton
on. Michael On 5/21/08 11:13 AM, Markus Neteler [EMAIL PROTECTED] wrote: I mean: keep trunk AND develbranch_6 sync'ed. Or delete gis.m from trunk. Markus On Wed, May 21, 2008 at 8:08 PM, Michael Barton [EMAIL PROTECTED] wrote: You mean always sync trunk AND develbranch_6 or sync

Re: [GRASS-dev] Changes which may need to be merged

2008-05-22 Thread Michael Barton
__ Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution Social Change Center for Social Dynamics Complexity Arizona State University phone: 480-965-6213 fax: 480-965-7671 www: http://www.public.asu.edu/~cmbarton

Re: [GRASS-dev] georeferencer - inspiration from gvSIG

2008-05-23 Thread Michael Barton
and feels inspired. Or for next years Google Summer of Code ? Moritz __ Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution Social Change Center for Social Dynamics and Complexity Arizona State University phone: 480

Re: [GRASS-dev] WinGRASS Plans

2008-06-05 Thread Michael Barton
__ Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution Social Change Center for Social Dynamics Complexity Arizona State University phone: 480-965-6213 fax: 480-965-7671 www: http://www.public.asu.edu/~cmbarton

Re: R: [GRASS-dev] WinGRASS Plans

2008-06-07 Thread Michael Barton
... Da: Glynn Clements [mailto:[EMAIL PROTECTED] Inviato: ven 06/06/2008 3.19 A: [EMAIL PROTECTED] Cc: Michael Barton; grass-dev@lists.osgeo.org Oggetto: Re: [GRASS-dev] WinGRASS Plans Marco Pasetti wrote: Maybe this is what you have in mind, but I think that the wx-config is only

Re: R: [GRASS-dev] WinGRASS Plans

2008-06-13 Thread Michael Barton
because it has been built using MS Visual C++. I think I'll need to build wxPython from source using MinGW to have the wx-config file and, thus, build the new GRASS v.digit. I'll let you know. Regards, Marco __ Michael Barton, Professor

[GRASS-dev] Re: [SoC] [SoC Report] 2.5/3D visualization tool for wxPython GRASS GUI

2008-06-14 Thread Michael Barton
module. Afterwards I will start working on wxGUI NVIZ tool based on NVIZ CLI functionality (planned 'nvizlib' used by wxGUI tool and CLI module). 3. Are you blocked on anything? Not really (hoping;-) Regards, Martin Landa __ Michael Barton, Professor

[GRASS-dev] Re: [GRASS GIS] #163: g.transform no longer calculating error for 2nd order transformation

2008-06-17 Thread Michael Barton
order transformations still work fine AFAICT. The 2nd order transformations requires at least 6 GCPs. Your input POINTS file contains 6 points. Then forward/reverse error is 0.0's. Martin __ Michael Barton, Professor of Anthropology Director

[GRASS-dev] Re: [GRASS GIS] #163: g.transform no longer calculating error for 2nd order transformation

2008-06-18 Thread Michael Barton
if this is a function of something that is now fixed, or a problem with the Mac. Michael Regards, Martin 2008/6/17 Michael Barton [EMAIL PROTECTED]: Michael On 6/17/08 3:44 AM, GRASS GIS [EMAIL PROTECTED] wrote: #163: g.transform no longer calculating error for 2nd order transformation

[GRASS-dev] Re: r.walk and r.drain improvements

2008-06-24 Thread Michael Barton
__ Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution Social Change Center for Social Dynamics Complexity Arizona State University phone: 480-965-6213 fax: 480-965-7671 www: http://www.public.asu.edu/~cmbarton

[GRASS-dev] Re: [SoC] Re: [SoC Report] 2.5/3D visualization tool for wxPython GRASS GUI

2008-06-27 Thread Michael Barton
with TCL/TK Nviz and its debugging... Martin [1] http://grass.osgeo.org/wiki/Image:Wxnviz-alpha-0.png __ Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution Social Change Center for Social Dynamics and Complexity

[GRASS-dev] Re: [SoC Report] 2.5/3D visualization tool for wxPython GRASS GUI

2008-06-30 Thread Michael Barton
/nviz2 -- Martin Landa landa.martin gmail.com * http://gama.fsv.cvut.cz/~landa * __ Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution Social Change Center for Social Dynamics and Complexity Arizona State

[GRASS-dev] GRASS won't compile - can't 'find' gdal

2008-07-06 Thread Michael Barton
. If anyone has suggestions I'll try them out.ThanksMichael C. Michael Barton, Professor of AnthropologyDirector of Graduate StudiesSchool of Human Evolution Social ChangeCenter for Social Dynamics ComplexityArizona State UniversityPhone: 480-965-6262Fax: 480-965-7671www

[GRASS-dev] GRASS won't compile - can't 'find' gdal

2008-07-06 Thread Michael Barton
. If anyone has suggestions I'll try them out.ThanksMichael C. Michael Barton, Professor of AnthropologyDirector of Graduate StudiesSchool of Human Evolution Social ChangeCenter for Social Dynamics ComplexityArizona State UniversityPhone: 480-965-6262Fax: 480-965-7671www

[GRASS-dev] Re: configuration error compiling 6.4 - can't find gdal

2008-07-06 Thread Michael Barton
I got Williams's post just after sending off my error report. I just updated again from the SVN and GRASS 6.4 configures fine. I'm building it now and will try 7 once this is finished. Michael C. Michael Barton, Professor of Anthropology Director of Graduate Studies

[GRASS-dev] errors compiling nviz in GRASS 7

2008-07-06 Thread Michael Barton
. For the record, I'm on a Mac OS X 10.5. If this is bug-worthy, I'll go ahead and put it in Trac too. Michael C. Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution Social Change Center for Social Dynamics Complexity Arizona State University

Re: [GRASS-dev] errors compiling nviz in GRASS 7

2008-07-06 Thread Michael Barton
I'm sure that OpenGL is on my machine somewhere, but can't find it at the moment. Once I do, I can check for gl.h and report it's path back to you all. Michael C. Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution Social

Re: [GRASS-dev] errors compiling nviz in GRASS 7

2008-07-06 Thread Michael Barton
somewhat more complicated. Michael C. Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution Social Change Center for Social Dynamics Complexity Arizona State University Phone: 480-965-6262 Fax: 480-965-7671 www: www.public.asu.edu

Re: [GRASS-dev] errors compiling nviz in GRASS 7

2008-07-06 Thread Michael Barton
Here is the location of the native OGL (called AGL on Mac). /System/Library/Frameworks/AGL.framework/Versions/A/Headers/gl.h Michael C. Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution Social Change Center for Social Dynamics

[GRASS-dev] Re: Line of Sight Update

2008-07-09 Thread Michael Barton
On Jul 9, 2008, at 11:11 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: This is a very nice update, especially the extraordinary speed increase. I hope that this can eventually be included into a cumulative viewshed module. Thanks very much. Some comments in the text below. Date:

[GRASS-dev] Re: nvizlib compile error

2008-07-09 Thread Michael Barton
Are we at a place yet where I can compile and test this on a Mac, given it's location of OpenGL in the agl directory? Michael On Jul 9, 2008, at 12:36 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Date: Tue, 08 Jul 2008 18:48:05 +0200 From: Moritz Lennert [EMAIL PROTECTED] Subject:

Re: [GRASS-dev] Re: nvizlib compile error

2008-07-09 Thread Michael Barton
Thanks much William. Sounds like it's getting closer to working on a Mac. Michael C. Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution Social Change Center for Social Dynamics Complexity Arizona State University Phone: 480

Re: [GRASS-dev] Re: nvizlib compile error

2008-07-10 Thread Michael Barton
Martin, I'm more than happy to test and report, but I have to at least get it compiled. It seems like it's getting closer. Michael C. Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution Social Change Center for Social

Re: [GRASS-dev] Re: nvizlib compile error

2008-07-10 Thread Michael Barton
I'll give it a try. Michael C. Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution Social Change Center for Social Dynamics Complexity Arizona State University Phone: 480-965-6262 Fax: 480-965-7671 www: www.public.asu.edu

[GRASS-dev] trying to compile wxPython NVIZ

2008-07-14 Thread Michael Barton
Hi Martin, Finally getting a bit of time. I am trying to compile GRASS 7 so that I can take a look at the new NVIZ. I got the following errors again. /Users/cmbarton/grass_dev/grass7_src/lib/nviz /Users/cmbarton/grass_dev/grass7_src/gui/wxpython/vdigit

Re: [GRASS-dev] trying to compile wxPython NVIZ

2008-07-15 Thread Michael Barton
On Jul 15, 2008, at 8:36 PM, William Kyngesburye wrote: As I mentionaed a while back, for the nviz library to operate cleanly with wxpython, which is Aqua, or AGL-based, you should configure OpenGL for Aqua, not X11. This means you should also disable X11 and TclTk features, or you will

Re: [GRASS-dev] trying to compile wxPython NVIZ

2008-07-15 Thread Michael Barton
it was problematic in 8.4. Michael C. Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution Social Change Center for Social Dynamics Complexity Arizona State University Phone: 480-965-6262 Fax: 480-965-7671 www: www.public.asu.edu

Re: [GRASS-dev] trying to compile wxPython NVIZ

2008-07-15 Thread Michael Barton
0x00010fed main + 109 14 nviz0x282e start + 54 Michael On Jul 15, 2008, at 10:42 PM, Michael Barton wrote: I just managed to compile GRASS on the Mac OS X (10.5.4) without x11 and with aqua tcltk 8.5.1. It actually works and looks pretty good

Re: [GRASS-dev] trying to compile wxPython NVIZ

2008-07-16 Thread Michael Barton
On Jul 15, 2008, at 10:42 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Message: 5 Date: Tue, 15 Jul 2008 23:02:03 -0500 From: William Kyngesburye [EMAIL PROTECTED] Subject: Re: [GRASS-dev] trying to compile wxPython NVIZ To: Martin Landa [EMAIL PROTECTED] Cc: grass developers

Re: [GRASS-dev] Python Scripting

2008-07-16 Thread Michael Barton
On Jul 16, 2008, at 1:28 AM, Glynn Clements wrote: Michael Barton wrote: subprocess.call([ v.extract, input=%s % os.getenv(GIS_OPT_INPUT), output=%s_%s % (os.getenv(GIS_OPT_OUTPUT), i), type=point, layer=1, new=-1

[GRASS-dev] Re: grass-dev Digest, Vol 27, Issue 41

2008-07-16 Thread Michael Barton
On Jul 16, 2008, at 6:34 AM, [EMAIL PROTECTED] wrote: Date: Wed, 16 Jul 2008 08:33:59 -0500 From: William Kyngesburye [EMAIL PROTECTED] Subject: Re: [GRASS-dev] trying to compile wxPython NVIZ To: Glynn Clements [EMAIL PROTECTED] Cc: Martin Landa [EMAIL PROTECTED], grass developers

Re: [GRASS-dev] trying to compile wxPython NVIZ

2008-07-16 Thread Michael Barton
it is just necessary to build TOGL 2.0 against the PrivateHeaders in 8.5 for this. Michael C. Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution Social Change Center for Social Dynamics Complexity Arizona State University Phone

[GRASS-dev] WIKI Python script example won't run

2008-07-16 Thread Michael Barton
I wanted to see how it would be to port one of the bash scripts to Python. I followed the WIKI template and it didn't run. So I made a script that is ONLY from the WIKI template and it doesn't run either. I've tried it by just typing the script into the command prompt and also by typing:

Re: [GRASS-dev] trying to compile wxPython NVIZ

2008-07-17 Thread Michael Barton
Would it work with 2.0? Michael C. Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution Social Change Center for Social Dynamics Complexity Arizona State University Phone: 480-965-6262 Fax: 480-965-7671 www: www.public.asu.edu

[GRASS-dev] Re: WIKI Python script example won't run

2008-07-17 Thread Michael Barton
. However, if I pass the script through another editor and save it, I don't get this error about a missing line feed. I'm not sure what is going on. I got the missing linefeed error when I dropped the WIKI code directly into the editor and saved it. Michael On Jul 16, 2008, at 10:38 PM, Michael

Re: [GRASS-dev] problems with gdalwarp

2008-07-19 Thread Michael Barton
, 2008, at 6:01 PM, Michael Barton wrote: My GRASS is in 32 bit mode. Does gdal default to 64 bit anyway? Michael __ Michael Barton, Professor Professor of Anthropology Director of Graduate Studies School of Human Diversity Social Change Center for Social Dynamics

Re: [GRASS-dev] Python Scripting

2008-07-19 Thread Michael Barton
On Jul 18, 2008, at 11:03 PM, [EMAIL PROTECTED] wrote: Date: Fri, 18 Jul 2008 18:20:46 +0100 From: Glynn Clements [EMAIL PROTECTED] Subject: Re: [GRASS-dev] Python Scripting To: Dan D'Alimonte [EMAIL PROTECTED], grass-dev@lists.osgeo.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain;

[GRASS-dev] python question - how to test if file is executable in path?

2008-07-19 Thread Michael Barton
I'd like to test if a program is executable or not (i.e., in this case, whether it is in the PATH) in a python script. Any suggestions as to how to do this in a way that does not raise a Python error? Michael C. Michael Barton, Professor of Anthropology Director

Re: [GRASS-dev] Python Scripting

2008-07-19 Thread Michael Barton
. And if Python is indeed the right environment to do this in (I know speed of raster processing has already been brought up). -- Dan. Michael Barton wrote: Hi Dan, This sounds intriguing. What we need to ask is what would this gain us and how much work would it take. Michael On Jul 17, 2008, at 9

[GRASS-dev] Python script test

2008-07-19 Thread Michael Barton
new and improved functionality. My question is, would anyone like me to upload this someplace to test-- and possibly modify to try out Glynn's changes? I can put it into the SVN for GRASS 7 or elsewhere. Michael C. Michael Barton, Professor of Anthropology Director

Re: [GRASS-dev] Python Scripting

2008-07-19 Thread Michael Barton
On Jul 19, 2008, at 12:01 PM, Glynn Clements wrote: Michael Barton wrote: On Jul 18, 2008, at 11:03 PM, [EMAIL PROTECTED] wrote: Date: Fri, 18 Jul 2008 18:20:46 +0100 From: Glynn Clements [EMAIL PROTECTED] Subject: Re: [GRASS-dev] Python Scripting To: Dan D'Alimonte [EMAIL PROTECTED

Re: [GRASS-dev] Python script test

2008-07-20 Thread Michael Barton
On Jul 19, 2008, at 3:50 PM, Glynn Clements wrote: Michael Barton wrote: My question is, would anyone like me to upload this someplace to test-- and possibly modify to try out Glynn's changes? I can put it into the SVN for GRASS 7 or elsewhere. Probably the easiest route for now is to add

Re: [GRASS-dev] Python script test

2008-07-20 Thread Michael Barton
it that I can think of is that the temp file ends up in a GRASS mapset rather than the global gmp directory. Michael On Jul 20, 2008, at 2:43 AM, Glynn Clements wrote: Michael Barton wrote: I just posted a new Python version of the r.in.aster script. It is called r_in_aste.py

Re: [GRASS-dev] Python script test

2008-07-20 Thread Michael Barton
Thanks again Glynn. This will be very useful. When you get a chance, can you provide a quick summary of these new python interfaces in grass.py? Once I get my system back up and running, I'll update from the SVN and look at this library. Michael C. Michael Barton

Re: [GRASS-dev] Python script test

2008-07-21 Thread Michael Barton
On Jul 20, 2008, at 12:33 PM, Glynn Clements wrote: Michael Barton wrote: I haven't tried this without wxPython, but I thought it was needed for the parser code. I'll test it with GRASS 6.4 g.parser calls G_parser(); if the module has at least one required option but you don't provide

Re: [GRASS-dev] Python script test

2008-07-21 Thread Michael Barton
On Jul 21, 2008, at 2:17 AM, Glynn Clements wrote: Michael Barton wrote: Init.sh is not updating PYTHONPATH on my Mac for some reason. I've looked at the code and it seems fine. I DO have a PYTHONPATH. So I'm not sure why it is not updating it. If I change it manually, by simply pasting

Re: [GRASS-dev] Python script test

2008-07-21 Thread Michael Barton
Thanks Glynn. These will make all Python scripting easier. Michael Michael Barton wrote: Thanks again Glynn. This will be very useful. When you get a chance, can you provide a quick summary of these new python interfaces in grass.py? Once I get my system back up and running, I'll update

Re: [GRASS-dev] Python Scripting

2008-07-21 Thread Michael Barton
been unclear. Probably my lack of understanding of the more advanced aspects of Python. Michael Michael Barton wrote: I can see how it could be handy to be able to access GRASS library functions from Python. Would this differ from the Python SWIG interface? I thought that SWIG

Re: [GRASS-dev] Python script test

2008-07-21 Thread Michael Barton
I just found out that .profile (and I suppose other shell configuration scripts) won't recognize backslashes as a line continuation in PATH or PYTHONPATH statements. Michael Michael Barton wrote: Init.sh is not updating PYTHONPATH on my Mac for some reason. I've looked at the code

Re: [GRASS-dev] Python script test

2008-07-21 Thread Michael Barton
On Jul 21, 2008, at 4:13 PM, Glynn Clements wrote: Michael Barton wrote: I just found out that .profile (and I suppose other shell configuration scripts) won't recognize backslashes as a line continuation in PATH or PYTHONPATH statements. Are you quoting the value? Within single quotes

[GRASS-dev] wxGUI doesn't start in newest GRASS 7 svn

2008-07-21 Thread Michael Barton
Something changed in the past 24 hours so that the wxPython GUI won't start in GRASS 7 (trunk). Here is the error. I have to leave for a bit, but will also try to track it down if need be. Last login: Mon Jul 21 19:04:12 on ttys001 cmb-MBP-2:~ cmbarton$

[GRASS-dev] Re: wxGUI doesn't start in newest GRASS 7 svn - magically fixed

2008-07-21 Thread Michael Barton
On Jul 21, 2008, at 7:07 PM, Michael Barton wrote: Something changed in the past 24 hours so that the wxPython GUI won't start in GRASS 7 (trunk). Here is the error. I have to leave for a bit, but will also try to track it down if need be. Last login: Mon Jul 21 19:04:12 on ttys001 cmb

[GRASS-dev] debugging nviz with TclTk 8.5 aqua

2008-07-22 Thread Michael Barton
Glynn, After some delays, I managed to recompile GRASS 7 with CFLAGS=-arch i386 -g, etc so that gdb would produce useful output, and with TclTk 8.5 aqua for Mac. Running nviz in gdb gives the results below. Hopefully these are more helpful. It freezes at the last line. (gdb) run -f

Re: [GRASS-dev] debugging nviz with TclTk 8.5 aqua

2008-07-22 Thread Michael Barton
On Jul 22, 2008, at 5:07 AM, Glynn Clements wrote: Michael Barton wrote: After some delays, I managed to recompile GRASS 7 with CFLAGS=-arch i386 -g, etc so that gdb would produce useful output, and with TclTk 8.5 aqua for Mac. Running nviz in gdb gives the results below. Hopefully

Re: [GRASS-dev] debugging nviz with TclTk 8.5 aqua

2008-07-22 Thread Michael Barton
On Jul 22, 2008, at 1:41 PM, Glynn Clements wrote: Michael Barton wrote: togl and togl-aglCtx are known to be non-NULL (otherwise it would have crashed before then). Can you try the following: print ((MacDrawable *) (window)) print ((MacDrawable *) (window))-toplevel

[GRASS-dev] matplotlib again

2008-07-22 Thread Michael Barton
://matplotlib.sourceforge.net/. It could be used within the GUI of course, but also within scripts to output to graphic files. Michael C. Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution Social Change Center for Social Dynamics Complexity

Re: [GRASS-dev] debugging nviz with TclTk 8.5 aqua

2008-07-22 Thread Michael Barton
On Jul 22, 2008, at 6:29 PM, Glynn Clements wrote: Michael Barton wrote: (gdb) print ((MacDrawable *) (window)) No symbol MacDrawable in current context. Hmm; does this work: print ((struct TkWindowPrivate *) (window)) print ((struct TkWindowPrivate *) (window))-toplevel

Re: [GRASS-dev] debugging nviz with TclTk 8.5 aqua

2008-07-22 Thread Michael Barton
On Jul 22, 2008, at 6:49 PM, Glynn Clements wrote: Glynn Clements wrote: This actually produced some results. (gdb) print ((struct TkWindowPrivate *) (window)) $1 = (struct TkWindowPrivate *) 0x1d7c648 (gdb) print ((struct TkWindowPrivate *) (window))-toplevel $2 = (struct

[GRASS-dev] PYTHONPATH issue

2008-07-22 Thread Michael Barton
C. Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution Social Change Center for Social Dynamics Complexity Arizona State University Phone: 480-965-6262 Fax: 480-965-7671 www: www.public.asu.edu/~cmbarton

Re: [GRASS-dev] debugging nviz with TclTk 8.5 aqua

2008-07-23 Thread Michael Barton
On Jul 23, 2008, at 5:17 AM, Glynn Clements wrote: I'd say it's a fairly safe bet that Togl is being compiled with the 8.5 headers but linked against the 8.4 library. So is this fixable? Michael ___ grass-dev mailing list

Re: [GRASS-dev] debugging nviz with TclTk 8.5 aqua

2008-07-23 Thread Michael Barton
On Jul 23, 2008, at 6:38 AM, William Kyngesburye wrote: On Jul 23, 2008, at 7:17 AM, Glynn Clements wrote: Mac OS X 10.5 comes with TclTk aqua 8.4 and 8.5. But I also have to install an x11 version that I compile (in /usr/local/tcltk) in order to compile and run GRASS with the standard x11

Re: [GRASS-dev] debugging nviz with TclTk 8.5 aqua

2008-07-23 Thread Michael Barton
On Jul 23, 2008, at 7:05 AM, William Kyngesburye wrote: On Jul 23, 2008, at 8:38 AM, William Kyngesburye wrote: I'd say it's a fairly safe bet that Togl is being compiled with the 8.5 headers but linked against the 8.4 library. Michael, for the line that links nviz, do you see -L/usr/lib?

Re: [GRASS-dev] debugging nviz with TclTk 8.5 aqua

2008-07-23 Thread Michael Barton
On Jul 23, 2008, at 10:52 AM, William Kyngesburye wrote: On Jul 23, 2008, at 12:28 PM, Glynn Clements wrote: William Kyngesburye wrote: Ideally, I think GRASS needs to detect a framework TclTk Aqua and use -framework Tcl -framework Tk instead of -ltcl -ltk to link tcltk, then the symlinks

Re: [GRASS-dev] debugging nviz with TclTk 8.5 aqua

2008-07-23 Thread Michael Barton
On Jul 23, 2008, at 1:48 PM, Glynn Clements wrote: Michael Barton wrote: Something else to keep in mind. The header I posted is needed by Togl I think. But I also think that it is 8.5 only. Do you mean that the packages for earlier versions don't include tkMacOSXInt.h? Togl definitely

Re: [GRASS-dev] debugging nviz with TclTk 8.5 aqua

2008-07-23 Thread Michael Barton
On Jul 23, 2008, at 3:01 PM, William Kyngesburye wrote: On Jul 23, 2008, at 4:18 PM, Michael Barton wrote: I don't know enough about make to offer suggestions. But if you get a procedure sorted out, I'm happy to try it. It's possible you can get it right purely by configuration. Do you

Re: [GRASS-dev] debugging nviz with TclTk 8.5 aqua

2008-07-23 Thread Michael Barton
of the visual issues have been resolved? Would this be difficult? NVIZ might not work, but it could be worth a try to see. Michael C. Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution Social Change Center for Social Dynamics

Re: [GRASS-dev] debugging nviz with TclTk 8.5 aqua

2008-07-23 Thread Michael Barton
On Jul 23, 2008, at 5:40 PM, William Kyngesburye wrote: On Jul 23, 2008, at 7:16 PM, Michael Barton wrote: I also have TclTk libs in /usr/local/lib, but these are not links. Maybe I should delete them? I'm not sure if go to the x11 install that I need for compiling the 'normal' TclTk GUI

Re: [GRASS-dev] debugging nviz with TclTk 8.5 aqua

2008-07-23 Thread Michael Barton
not work. When I tried to add a new raster surface from within NVIZ, it crashed. Michael On Jul 23, 2008, at 7:40 PM, William Kyngesburye wrote: On Jul 23, 2008, at 7:16 PM, Michael Barton wrote: I also have TclTk libs in /usr/local/lib, but these are not links. Maybe I should delete them

Re: [GRASS-dev] debugging nviz with TclTk 8.5 aqua

2008-07-23 Thread Michael Barton
On Jul 23, 2008, at 8:41 PM, William Kyngesburye wrote: 1. start with new tcltk 8.5 source tcl8.5.3/unix: If we are doing this with aqua, shouldn't this be tcl8.5.3/macosx? Michael ./configure --enable-framework --enable-threads make sudo make install tk8.5.3/unix: ./configure

Re: [GRASS-dev] debugging nviz with TclTk 8.5 aqua

2008-07-23 Thread Michael Barton
OK. I'll stick to the same way you did it to make sure that I can replicate. Michael C. Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution Social Change Center for Social Dynamics Complexity Arizona State University Phone

Re: [GRASS-dev] debugging nviz with TclTk 8.5 aqua

2008-07-23 Thread Michael Barton
On Jul 23, 2008, at 9:00 PM, William Kyngesburye wrote: On Jul 23, 2008, at 10:41 PM, William Kyngesburye wrote: It pretty much worked. BUT the weird thing was that the main GUI was in tcltk x11 and only nviz was in tcltk aqua. Most stuff worked. Font setting did not work. When I tried

Re: [GRASS-dev] matplotlib example script

2008-07-24 Thread Michael Barton
24, 2008, at 9:12 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Date: Thu, 24 Jul 2008 09:12:41 -0700 From: Michael Barton [EMAIL PROTECTED] Subject: [GRASS-dev] matplotlib example script To: grass developers grass-dev@lists.osgeo.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain

Re: [GRASS-dev] matplotlib example script

2008-07-24 Thread Michael Barton
Thanks for the input Glynn. A few responses below. On Jul 24, 2008, at 12:24 PM, Glynn Clements wrote: Michael Barton wrote: I've attached an example script and output for using the MatPlotLib Python library in GRASS. One of the Apple Mail developers needs a dose of the clue-stick

Re: [GRASS-dev] d.thematic.area: need for a bit of help in C-programming/debugging

2008-07-24 Thread Michael Barton
On Jul 24, 2008, at 12:25 PM, [EMAIL PROTECTED] wrote: Date: Thu, 24 Jul 2008 18:46:31 +0200 From: Moritz Lennert [EMAIL PROTECTED] Subject: [GRASS-dev] d.thematic.area: need for a bit of help in C-programming/debugging To: grass-dev grass-dev@lists.osgeo.org Message-ID: [EMAIL

Re: [GRASS-dev] debugging nviz with TclTk 8.5 aqua

2008-07-24 Thread Michael Barton
On Jul 24, 2008, at 12:25 PM, [EMAIL PROTECTED] wrote: Date: Thu, 24 Jul 2008 19:02:06 +0200 From: Lorenzo Moretti [EMAIL PROTECTED] Subject: Re: [GRASS-dev] debugging nviz with TclTk 8.5 aqua To: grass-dev@lists.osgeo.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain;

[GRASS-dev] still compilation problems on iMac with GRASS 7

2008-07-24 Thread Michael Barton
sense. Neither of these sections of the code have been altered in a while. But that shouldn't matter. What compiles on my MacBook *ought* to compile on my iMac. Any suggestions as to where to start to look to sort this out? Michael __ C. Michael Barton, Professor

Re: [GRASS-dev] still compilation problems on iMac with GRASS 7

2008-07-24 Thread Michael Barton
On Jul 24, 2008, at 6:42 PM, Glynn Clements wrote: Michael Barton wrote: Below are the errors. They simply don't make any sense. Neither of these sections of the code have been altered in a while. But that shouldn't matter. What compiles on my MacBook *ought* to compile on my iMac. Any

Re: [GRASS-dev] matplotlib example script

2008-07-24 Thread Michael Barton
On Jul 24, 2008, at 6:03 PM, Glynn Clements wrote: Michael Barton wrote: This script replicates the functionality of d.histogram, but makes a much nicer looking plot. It also has more options, although I've included only a very few of the formatting possibilities here. The script sends

Re: [GRASS-dev] still compilation problems on iMac with GRASS 7

2008-07-24 Thread Michael Barton
On Jul 24, 2008, at 5:11 PM, William Kyngesburye wrote: On Jul 24, 2008, at 6:42 PM, Michael Barton wrote: Aarrgh! I reupdated from trunk, recompiled TclTk from source, reinstalled your newest frameworks and I still get errors compiling GRASS 7 on my iMac. AFAICT, same OS and setup

Re: [GRASS-dev] matplotlib example script

2008-07-24 Thread Michael Barton
On Jul 24, 2008, at 6:03 PM, Glynn Clements wrote: Even if it takes just as long, you're less likely to have it fail because plotlist consumed all available RAM. As it stands, plotlist will have one entry for every non-null cell in the raster. When processing bulk data, anything that uses a

[GRASS-dev] readme for grass.py

2008-07-24 Thread Michael Barton
Glynn, Can the readme file for grass.py be copied to $GISBASE/etc/python along with grass.py during compilation? Michael ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] readme for grass.py

2008-07-25 Thread Michael Barton
Thanks. It's really helpful. Michael On Jul 25, 2008, at 11:04 AM, Glynn Clements wrote: Michael Barton wrote: Can the readme file for grass.py be copied to $GISBASE/etc/python along with grass.py during compilation? Done. -- Glynn Clements [EMAIL PROTECTED

Re: [GRASS-dev] matplotlib example script

2008-07-25 Thread Michael Barton
. Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution Social Change Center for Social Dynamics Complexity Arizona State University Tempe, AZ 85287-2402 USA voice: 480-965-6262; fax: 480-965-7671 www: http://www.public.asu.edu/~cmbarton On Jul 25, 2008, at 4

[GRASS-dev] new MatPlotLib example

2008-07-25 Thread Michael Barton
easier. Enjoy Michael __ C. Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution Social Change Center for Social Dynamics Complexity Arizona State University Tempe, AZ 85287-2402 USA voice: 480-965-6262; fax: 480-965-7671

Re: [GRASS-dev] matplotlib example script

2008-07-25 Thread Michael Barton
Yann, Have you tried this on a dataset without NAN values? Michael __ C. Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution Social Change Center for Social Dynamics Complexity Arizona State University Tempe, AZ 85287

[GRASS-dev] success compiling GRASS 7 trunk ... sort of

2008-07-25 Thread Michael Barton
. I have not updated and recompiled on my MacBook in the last 36 hours and so wonder if something has changed in the source? Is anyone else having this problem? Michael __ C. Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human

Re: [GRASS-dev] matplotlib example script

2008-07-26 Thread Michael Barton
On Jul 25, 2008, at 6:56 PM, Glynn Clements wrote: Michael Barton wrote: ax.hist() and numpy.histogram() are broken by design. They should accept an iterator as an argument. Requiring the entire data to be passed as a list makes them useless for large amounts of data. Well. For *really

[GRASS-dev] Re: python not launching in trunk

2008-07-26 Thread Michael Barton
the .grass_bashrc file. This is not where my PYTHONPATH is located, but is where I was putting some environmental settings related to a Python issue on the MacBook--and they were not taking. Michael C. Michael Barton, Professor of Anthropology Director of Graduate Studies School

[GRASS-dev] Re: requiring 2.8.1.1???

2008-07-26 Thread Michael Barton
Please see below On Jul 26, 2008, at 2:57 AM, Martin Landa wrote: Hi, 2008/7/25 Michael Barton [EMAIL PROTECTED]: I commented out the CheckForWx() line in globalvar.py and got the following message... do you mean? http://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/gui_modules

Re: [GRASS-dev] debugging nviz with TclTk 8.5 aqua

2008-07-27 Thread Michael Barton
On Jul 27, 2008, at 10:12 AM, Glynn Clements wrote: William Kyngesburye wrote: Since the app startup doesn't have access to the user's startup environment, they can't set it before running GRASS. We could do with having Init.sh explicitly source a file containing variable settings. Why

[GRASS-dev] Re: problem with CheckForWx in wxGUI

2008-07-27 Thread Michael Barton
On Jul 27, 2008, at 1:18 AM, Martin Landa wrote: Hi, 2008/7/27 Michael Barton [EMAIL PROTECTED]: [...] try: import wxversion wxversion.select(str(majorVersion)) import wx The problem lies in wxversion.select. It is looking for the SOURCE CODE files in a BINARY

Re: [GRASS-dev] debugging nviz with TclTk 8.5 aqua

2008-07-27 Thread Michael Barton
On Jul 26, 2008, at 9:36 PM, William Kyngesburye wrote: On Jul 26, 2008, at 8:26 PM, Michael Barton wrote: AFAICT, the only things of TclTk that actually get into the Mac binary for GRASS proper are the ancient BWidgets folder, which goes into all GRASS distributions, a copy of tclsh8.4

Re: [GRASS-dev] Re: requiring 2.8.1.1???

2008-07-27 Thread Michael Barton
On Jul 26, 2008, at 4:07 PM, Glynn Clements wrote: Michael Barton wrote: Just try in python import wxversion wxversion.select(str(2.8)) import wx wx.__version__ '2.8.8.1' This version check is failing with 2.8.8.0 on the Mac even if the correct version is installed. It may be failing

Re: [GRASS-dev] debugging nviz with TclTk 8.5 aqua

2008-07-27 Thread Michael Barton
AFAICT, the only things of TclTk that actually get into the Mac binary for GRASS proper are the ancient BWidgets folder, which goes into all GRASS distributions, a copy of tclsh8.4 that doesn't seem to get used for anything, and copies of wish. Currently, my GRASS 7 binary, using TclTk

[GRASS-dev] Trying TclTk 8.5 x11

2008-07-27 Thread Michael Barton
as nice in x11 as 8.4. So maybe we should stick with 8.4 for x11 build and go with 8.5 for an aqua build. Michael C. Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution Social Change Center for Social Dynamics Complexity Arizona

[GRASS-dev] updates to nviz for TclTk 8.5 aqua

2008-07-27 Thread Michael Barton
Since the TclTk GUI works so well in ver. 8.5 aqua, I did some cosmetic improvements to make it look a bit better. I just committed them to trunk and backported to develbranch_6. Michael C. Michael Barton, Professor of Anthropology Director of Graduate Studies School

[GRASS-dev] problem with CheckForWx in wxGUI

2008-07-27 Thread Michael Barton
or higher. If not, it throws an error and does not load wxgui. Michael On Jul 26, 2008, at 12:42 PM, Martin Landa wrote: Micheal, 2008/7/26 Michael Barton [EMAIL PROTECTED]: import wxversion wxversion.select(str(2.8)) import wx wx.__version__ '2.8.8.1' This version check is failing

<    1   2   3   4   5   6   7   8   9   10   >