RE: [GRASS-dev] Python SWIG

2009-06-07 Thread Glynn Clements
chris carleton wrote: Do you think I could use G_put_map_row_random to fill a new raster with the modified values of cells at various locations in the region and then use patch to change the original raster? Note that G_put_map_row_random() has been removed in 7.0. Nothing was using it, and

Re: [GRASS-dev] Python SWIG

2009-06-07 Thread Glynn Clements
Hamish wrote: However, some of those wrappers will be unusable because of an inability to pass an argument from Python or return the result to Python. is NumPtr of any help here? (see examples/m.distance.py) https://trac.osgeo.org/grass/browser/grass/trunk/swig/python/NumPtr Not

[GRASS-dev] Python SWIG

2009-06-06 Thread chris carleton
Hi All, I've read somewhere (by Glenn, I think) that Python-SWIG might not go much farther with GRASS due to some limitations of the SWIG interface (I'm not expert enough to know either way). Despite that, I can't see another way to program what I want to do with GRASS. So, I was hoping that

Re: [GRASS-dev] Python SWIG

2009-06-06 Thread Glynn Clements
chris carleton wrote: I've read somewhere (by Glenn, I think) that Python-SWIG might not go much farther with GRASS due to some limitations of the SWIG interface (I'm not expert enough to know either way). Despite that, I can't see another way to program what I want to do with GRASS. So, I

RE: [GRASS-dev] Python SWIG

2009-06-06 Thread chris carleton
18:52:20 +0100 To: w_chris_carle...@hotmail.com CC: grass-dev@lists.osgeo.org Subject: Re: [GRASS-dev] Python SWIG chris carleton wrote: I've read somewhere (by Glenn, I think) that Python-SWIG might not go much farther with GRASS due to some limitations of the SWIG interface (I'm

Re: [GRASS-dev] Python SWIG

2009-06-06 Thread Hamish
Glynn wrote: However, some of those wrappers will be unusable because of an inability to pass an argument from Python or return the result to Python. is NumPtr of any help here? (see examples/m.distance.py) https://trac.osgeo.org/grass/browser/grass/trunk/swig/python/NumPtr Hamish