Re: [Qgis-developer] Python ogr driver issue (was ---- (no subject))

2012-08-27 Thread ludo
Hi Ok so I try your script Tim and I obtain this : Application state: Prefix:    /usr Plugin Path:    /usr/lib/qgis/plugins Package Data Path:    /usr/share/qgis Active Theme Name:   Active Theme Path:    :/images/themes// Default Theme Path:    :/images/themes/default/ SVG Search

Re: [Qgis-developer] Sextante - OTB plugin and SAR data

2012-08-27 Thread Noli Sicad
How do you install this Sextante - OTB plugin? The first thing you have to do is to install OTB, then if you are using Sextante on Linux nothing to do anymore. path to binaries are automatically found and algs should work, while on Windows you have to configure it. In options and

Re: [Qgis-developer] Object owner design in QgsGraphBuilder

2012-08-27 Thread Kuhn Matthias, Vermessung
Hi -Original Message- From: Tim Sutton [mailto:li...@linfiniti.com] Sent: Friday, August 24, 2012 7:11 PM To: Matthias Kuhn Cc: Kuhn Matthias, Vermessung; qgis-developer ML Subject: Re: [Qgis-developer] Object owner design in QgsGraphBuilder Hi On Fri, Aug 24, 2012 at 9:32

Re: [Qgis-developer] Sextante - OTB plugin and SAR data

2012-08-27 Thread Noli Sicad
Hi Julien, Thanks for your reply. Now, how to use cmake on InsightToolkit-4.2.0? There is no instruction how to I install ITK (i.e. InsightToolkit-4.2.0) using cmake? Anybody how to know how to install ITK? (I installed cmake already for Mac OS X.) Thanks, Noli On 8/27/12, Julien Malik

[Qgis-developer] R scripts for raster layers in External Apps of the Sextante Toolbox plugin

2012-08-27 Thread Agustin Lobo
Hi! I've tried the R script in scripts/Raster histogram and do not get any plot, just get what can be seen here (after trying multiple alternatives): http://dl.dropbox.com/u/3180464/RSextante.jpeg I've also tried making the script shown in the web page: ##layer=vector ##field=field layer

Re: [Qgis-developer] Sextante - OTB plugin and SAR data in Mac OS X

2012-08-27 Thread Julien Malik
Hi Noli, For MacOSX, the easier path I know of is to use MacPort to install all the needed dependencies. With MacPort, install the following : expat, curl, tiff, geotiff, jpeg, gdal, mercurial, cmake, etc (I may have missed a few) Grab this ctest script :

Re: [Qgis-developer] R scripts for raster layers in External Apps of the Sextante Toolbox plugin

2012-08-27 Thread Barry Rowlingson
On Mon, Aug 27, 2012 at 2:34 PM, Rowlingson, Barry b.rowling...@lancaster.ac.uk wrote: What is the R code being run here? Some R advanced graphics functions need to be wrapped in a 'print' function in order to actually produce output on a graphics device, and so when run non-interactively,

Re: [Qgis-developer] R scripts for raster layers in External Apps of the Sextante Toolbox plugin

2012-08-27 Thread Barry Rowlingson
On Mon, Aug 27, 2012 at 1:22 PM, Werner Macho werner.ma...@gmail.com wrote: On Mon, Aug 27, 2012 at 1:37 PM, Agustin Lobo alobolis...@gmail.com wrote: Hi! I've tried the R script in scripts/Raster histogram and do not get any plot, just get what can be seen here (after trying multiple

Re: [Qgis-developer] R scripts for raster layers in External Apps of the Sextante Toolbox plugin

2012-08-27 Thread Etienne Tourigny
On Mon, Aug 27, 2012 at 11:12 AM, Barry Rowlingson b.rowling...@lancaster.ac.uk wrote: On Mon, Aug 27, 2012 at 1:22 PM, Werner Macho werner.ma...@gmail.com wrote: On Mon, Aug 27, 2012 at 1:37 PM, Agustin Lobo alobolis...@gmail.com wrote: Hi! I've tried the R script in scripts/Raster histogram

Re: [Qgis-developer] R scripts for raster layers in External Apps of the Sextante Toolbox plugin

2012-08-27 Thread Barry Rowlingson
On Mon, Aug 27, 2012 at 3:33 PM, Etienne Tourigny etourigny@gmail.com wrote: You are right, because shell=True is used when command is a string, not an array. Plus it's deemed a security hazard: Warning Invoking the system shell with shell=True can be a security hazard if combined with

Re: [Qgis-developer] R scripts for raster layers in External Apps of the Sextante Toolbox plugin

2012-08-27 Thread Werner Macho
On 08/27/2012 04:12 PM, Barry Rowlingson wrote: I think the subprocess.Popen call in RUtils is at fault. The command is a list, but I think shell=True causes it to be sent to the shell as a command line. If you concatenate (join) the command list with spaces into a single string, this works:

Re: [Qgis-developer] R scripts for raster layers in External Apps of the Sextante Toolbox plugin

2012-08-27 Thread Barry Rowlingson
Hmmm. I'll maybe have another look and send you a version with some debugging statements. I was in a rush., it definitely worked fir me! The reason you had it in a different line was because I had some debug print statements in. On Aug 27, 2012 8:40 PM, Werner Macho werner.ma...@gmail.com wrote:

[Qgis-developer] implement data provider in python?

2012-08-27 Thread G. Allegri
AFAIK it isn't possible to register a python script as a dataprovider. Maybe it sounds odd, but I think it would interesting if we could have it. Has it been ever considered? How hard would it be to implement it? Giovanni Sent from Nexus ___

Re: [Qgis-developer] Sextante - OTB plugin and SAR data in Mac OS X

2012-08-27 Thread Noli Sicad
Hi Julien, Thanks for this instruction how to build / compile and install OTB for Mac OS X and make QGIS Sextante OTB python plugin working in OS X. I am using William's frameworks, standard configure, make and make install, and supplement things using Homebrew if I can't make things working

Re: [Qgis-developer] Sextante - OTB plugin and SAR data in Mac OS X

2012-08-27 Thread Noli Sicad
Hi Julien, As you can see I am not using MacPort. MacPort download the source in the script that you mentioned in your previous posting? http://www.orfeo-toolbox.org/otb/download.html Based on the instruction above. It is not clear what to do with hg cloning in Mac OS X. Yes, I can do (below)

Re: [Qgis-developer] Sextante - OTB plugin and SAR data in Mac OS X

2012-08-27 Thread William Kyngesburye
Noli, I started looking at this to see what needs to be done to use my frameworks. First, FLTK. You need the dev 1.3.x source, for updates to support the new libpng in my UnixImageIO framework. You also need my FreeType framework (not part of the QGIS requirements). This configuration is

Re: [Qgis-developer] Sextante - OTB plugin and SAR data in Mac OS X

2012-08-27 Thread William Kyngesburye
On Aug 27, 2012, at 8:17 AM, Julien Malik wrote: OTB_WRAP_PYTHON:BOOL=OFF OTB_WRAP_QT:BOOL=OFF OTB_WRAP_JAVA:BOOL=OFF If we're using this in Sextante, a python module package for QGIS, don't we want the python wrappers? Seems silly that Sextante devs would ignore a direct python interface

Re: [Qgis-developer] Sextante - OTB plugin and SAR data in Mac OS X

2012-08-27 Thread Noli Sicad
Hi William, Thanks for looking into this problem. Hopefully you can make it easier for us (mac users) to have OTB and QGIS OTB plugin working in OS X. I think mac os users need a Remote Sensing tools e.g. OTB and QGIS OTB python plugin. Thanks. Noli On 8/28/12, William Kyngesburye