Re: [GRASS-dev] python with grass

2009-06-05 Thread Markus Neteler
On Thu, Jun 4, 2009 at 7:56 PM, Danho Fursy Rodelec Neuba wrote: > Hy everybody, > this is me again. Bound_box work very well and i am  happy. I need to > know something new. When I can launch my program directly in grass using > python test.py there is this error message: >  File "test.py", line 4

Re: [GRASS-dev] G_parser and python

2009-06-05 Thread Markus Neteler
On Fri, Jun 5, 2009 at 3:00 PM, Glynn Clements wrote: ... > This should be: > >      18. if (gl6.G_parser(len(sys.argv),sys.argv)): > > However, there isn't a typemap for char**. ... > I've added a typemap for char** in r37741 (trunk): > >        http://trac.osgeo.org/grass/changeset/37741 Backpor

Re: [GRASS-dev] Nearest neighbour

2009-06-05 Thread andrea antonello
Hi Francesco, > I noted that both r.proj/r.proj.seg use floor() in the NN method > (at least in 6.4). Should not be a proper rounding to the nearest integer > more appropriate? glad you raise the question. I found the same methodology in the java NN methods and was right these days I was wonderin

[GRASS-dev] Nearest neighbour

2009-06-05 Thread Francesco P. Lovergine
I noted that both r.proj/r.proj.seg use floor() in the NN method (at least in 6.4). Should not be a proper rounding to the nearest integer more appropriate? -- Francesco P. Lovergine ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.os

[GRASS-dev] [Report #2] Kriging with GRASS and R: v.autokrige port to wxPython and more

2009-06-05 Thread Anne Ghisla
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello all, here's second report for my project. See wiki page for more detail [0]. = Done = - - Ended "An Introduction to Applied Geostatistics", great source of information of what the module is supposed to do. Now I can be both developer and user,

Re: [GRASS-dev] G_parser and python

2009-06-05 Thread Glynn Clements
Danho Fursy Rodelec Neuba wrote: > i am try to use option and flag in python script in this code: > 10. opt=gl6.Option() This is unnecessary. > 18. if (gl6.G_parser(0,gl6.sys.argv)): This should be: 18. if (gl6.G_parser(len(sys.argv),sys.argv)): However, there isn't a typemap