[GRASS-dev] strange problem running GRASS 7

2010-05-18 Thread Michael Barton
I compiled GRASS 7 from svn today and posted it to my website were some of the students and others here can use it. A student tried it and got the strange error message below. GRASS won't start at all. It works fine on my new MacBook Pro (OS X 10.6.3). She has a fairly new MacBook Pro (this

[GRASS-dev] i.pr in GRASS6.4

2010-05-18 Thread António Rocha
anyone tried to redone this tool to GRASS6.4.? Thank you so much for your help Best regards, Antonio Rocha __ Information from ESET NOD32 Antivirus, version of virus signature database 5123 (20100518) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

Re: [GRASS-dev] i.pr in GRASS6.4

2010-05-18 Thread Hamish
António wrote: I've seen a few emails, at GRASS users mailing list regarding i.pr module. This module, developed for GRASS5 by Stefano Merler , is a multi-tool to perform Classification for a wide set of methods. This is a good asset for GRASS having this tool fully working on GRASS 6.4.

Re: [GRASS-dev] diglib test.c fails on 64bit win

2010-05-18 Thread Markus Metz
Glynn Clements wrote: Markus Metz wrote: In GRASS, config.h does not know about __MINGW32__ even if __MINGW32__ is (somewhere else) defined, thus off_t is not redefined for mingw32, and I placed the redefinitions for testing in another header. Looks like a lot of hacking to get LFS for

[GRASS-dev] Re: [GRASS-SVN] r42277 - grass/trunk/lib/raster

2010-05-18 Thread Markus Neteler
Glynn, should this go into GRASS 6? Looks like a potential speedup for large color tables, say, to avoid them. ? Markus On Tue, May 18, 2010 at 1:28 AM, svn_gr...@osgeo.org wrote: Author: glynn Date: 2010-05-17 19:28:45 -0400 (Mon, 17 May 2010) New Revision: 42277 Modified:  

Re: [GRASS-dev] i.pr in GRASS6.4

2010-05-18 Thread António Rocha
, without changes) Hamish __ Information from ESET NOD32 Antivirus, version of virus signature database 5124 (20100518) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __ Information from ESET NOD32 Antivirus, version of virus

Re: [GRASS-dev] RE: [GRASS-user] Question with Python-SWIG example [SEC=UNCLASSIFIED]

2010-05-18 Thread Martin Landa
Hi, 2010/5/16 Glynn Clements gl...@gclements.plus.com: I've already replaced the SWIG bindings in 7.0 with the ctypesgen version. trying ctypesgen version I have problem with G_find_raster2() mapset = grass.G_find_raster2(elevation, ) print mapset WARNING: Illegal filename �pT�. Character

[GRASS-dev] Re: [GRASS GIS] #1016: v.info support for level 1 (patch)

2010-05-18 Thread GRASS GIS
#1016: v.info support for level 1 (patch) --+- Reporter: neteler | Owner: grass-dev@lists.osgeo.org Type: enhancement | Status: new Priority: normal | Milestone:

Re: [GRASS-dev] diglib test.c fails on 64bit win

2010-05-18 Thread Glynn Clements
Markus Metz wrote: In GRASS, config.h does not know about __MINGW32__ even if __MINGW32__ is (somewhere else) defined, thus off_t is not redefined for mingw32, and I placed the redefinitions for testing in another header. Looks like a lot of hacking to get LFS for wingrass.

Re: [GRASS-dev] Re: [GRASS-SVN] r42277 - grass/trunk/lib/raster

2010-05-18 Thread Glynn Clements
Markus Neteler wrote: should this go into GRASS 6? Looks like a potential speedup for large color tables, say, to avoid them. Maybe. It does change the behaviour slightly, but situations where the difference would be visible are unlikely to occur in practice. Specifically, if previously you

[GRASS-dev] Illegal filename. Character ? not allowed.

2010-05-18 Thread jzabalza
Hi everybody, I have compiled a program and when I run it Illegal filename. Character ? not allowed. ERROR: Raster map   

Re: [GRASS-dev] diglib test.c fails on 64bit win

2010-05-18 Thread Markus Metz
Glynn Clements wrote: Markus Metz wrote: In 6.x, LFS is enabled for specific libraries or modules using e.g.:        ifneq ($(USE_LARGEFILES),)                EXTRA_CFLAGS = -D_FILE_OFFSET_BITS=64        endif in the corresponding Makefile. This needs to be done on a case-by-case basis

[GRASS-dev] Re: i.pr in GRASS6.4

2010-05-18 Thread António Rocha
help Best regards, Antonio Rocha __ Information from ESET NOD32 Antivirus, version of virus signature database 5124 (20100518) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ grass-dev mailing list

[GRASS-dev] Re: i.pr in GRASS6.4

2010-05-18 Thread António Rocha
on GRASS 6.4. has anyone tried to redone this tool to GRASS6.4.? Thank you so much for your help Best regards, Antonio Rocha __ Information from ESET NOD32 Antivirus, version of virus signature database 5124 (20100518) __ The message was checked by ESET NOD32 Antivirus. http

[GRASS-dev] [GRASS GIS] #1073: G_fatal_error segfault outside of GRASS session

2010-05-18 Thread GRASS GIS
#1073: G_fatal_error segfault outside of GRASS session ---+ Reporter: kyngchaos | Owner: grass-dev@lists.osgeo.org Type: defect | Status: new Priority: normal |

Re: [GRASS-dev] RE: [GRASS-user] Question with Python-SWIG example [SEC=UNCLASSIFIED]

2010-05-18 Thread Glynn Clements
Martin Landa wrote: I've already replaced the SWIG bindings in 7.0 with the ctypesgen version. trying ctypesgen version I have problem with G_find_raster2() mapset = grass.G_find_raster2(elevation, ) print mapset WARNING: Illegal filename �pT�. Character not allowed. Odd. Can you

Re: [GRASS-dev] diglib test.c fails on 64bit win

2010-05-18 Thread Glynn Clements
Markus Metz wrote: In 6.x, LFS is enabled for specific libraries or modules using e.g.:        ifneq ($(USE_LARGEFILES),)                EXTRA_CFLAGS = -D_FILE_OFFSET_BITS=64        endif in the corresponding Makefile. This needs to be done on a case-by-case basis because not all

[GRASS-dev] Re: [GRASS GIS] #1073: G_fatal_error segfault outside of GRASS session

2010-05-18 Thread GRASS GIS
#1073: G_fatal_error segfault outside of GRASS session +--- Reporter: kyngchaos | Owner: grass-dev@lists.osgeo.org Type: defect | Status: new Priority: normal |

Re: [GRASS-dev] RE: [GRASS-user] Question with Python-SWIG example [SEC=UNCLASSIFIED]

2010-05-18 Thread Martin Landa
Hi, 2010/5/18 Glynn Clements gl...@gclements.plus.com: Odd. Can you try it under GDB and check what arguments G_find_raster2() is getting? Also, are you calling G_gisinit() first? sample script below --- #!/usr/bin/env python import os, sys from grass.lib import grass, raster from ctypes

Re: [GRASS-dev] RE: [GRASS-user] Question with Python-SWIG example [SEC=UNCLASSIFIED]

2010-05-18 Thread Glynn Clements
Martin Landa wrote: Odd. Can you try it under GDB and check what arguments G_find_raster2() is getting? Also, are you calling G_gisinit() first? sample script below --- #!/usr/bin/env python import os, sys from grass.lib import grass, raster from ctypes import * input =

[GRASS-dev] Re: [gdal-dev] gdaldem hillshade directions / GRASS r.shaded.relief

2010-05-18 Thread Even Rouault
Vincent, I'm CC'ing the grass-dev list as gdaldem shares the same formula with the GRASS r.shaded.relief utility and I also think they are affected (I've only compared the code, not tested r.shaded.relief, so I could be wrong of course) I think your analysis is right. To check, I've created an

Re: [GRASS-dev] RE: [GRASS-user] Question with Python-SWIG example [SEC=UNCLASSIFIED]

2010-05-18 Thread Martin Landa
Hi, 2010/5/18 Glynn Clements gl...@gclements.plus.com: What platform, Python version, ctypesgen version? Debian GNU/Linux unstable, x86-32 Python 2.5.5 ctypesgen from SVN The G_find_raster2() definition should look like: #

[GRASS-dev] Re: [GRASS GIS] #1051: wxgui: SEARCH_PATH corruption

2010-05-18 Thread GRASS GIS
#1051: wxgui: SEARCH_PATH corruption ---+ Reporter: msieczka | Owner: grass-dev@lists.osgeo.org Type: defect| Status: new Priority: critical | Milestone: 6.4.0

Re: [GRASS-dev] RE: [GRASS-user] Question with Python-SWIG example [SEC=UNCLASSIFIED]

2010-05-18 Thread Glynn Clements
Martin Landa wrote: 2010/5/18 Glynn Clements gl...@gclements.plus.com: What platform, Python version, ctypesgen version? Debian GNU/Linux unstable, x86-32 Python 2.5.5 ctypesgen from SVN FWIW, I'm using Python 2.6.4. I've also checked with the latest SVN version of ctypesgen, but

Re: [GRASS-dev] Re: [GRASS-SVN] r42277 - grass/trunk/lib/raster

2010-05-18 Thread Hamish
Markus wrote: should this go into GRASS 6? Looks like a potential speedup for large color tables, say, to avoid them. ? I am really quite concerned about the effects of this change. Please don't backport it to gr6 as the default action. Hamish (more later, badly lacking time right now)

Re: [GRASS-dev] diglib test.c fails on 64bit win

2010-05-18 Thread Hamish
Glynn wrote: We don't use fseeko() directly. In 6.x, modules which use fseek() are built without LFS; in 7.0, G_fseek() is used. fwiw r.terraflow does, see include/iostream/ami_stream.h (wrapped in a #ifdef HAVE_LARGEFILES) Hamish ___

Re: [GRASS-dev] Re: [gdal-dev] gdaldem hillshade directions / GRASS r.shaded.relief

2010-05-18 Thread Hamish
Even wrote: #correct azimuth to East (GRASS convention): #  this seems to be backwards, but in fact it works so leave it. az = float(azimuth) - 90 I'm not into checking-in fudge factors which I don't understand, and I seem to recall that when I wrote that comment I did actually investigate