[Qgis-developer] Shipping SAGA with QGIS

William Kyngesburye woklist at kyngchaos.com
Sun Feb 24 09:07:08 PST 2013


A few questions/comments, and a big problem.  (I've been sortof paying attention to all the SEXTANTE discussion and development)

Is saga a requirement for sextante or optional?

Saga appears to be an application on its own, with an optional Python interface.  I'd rather not bundle this IN the QGIS app, though it would be OK bundled alongside QGIS in the distribution.

Does sextante use only the Python interface to Saga, or does it also run Saga command line tools and/or Saga GUI tools?

The Problem: Saga needs wxWidgets.  QGIS runs 64bit on OS X.  To get a 64bit wxWidgets on OS X you need to use the Cocoa APIs.  Support for this is only in wx 2.9 (in development, but mostly complete).  The latest stable Saga, 2.0.8, does not support wx 2.9.  The dev Saga sources (2.1) support wx 2.9, but it's only a beta at this time (I need to figure out the autotools stuff to generate configure to be able to try it).

On Feb 24, 2013, at 7:32 AM, Tim Sutton wrote:

> Hi
> 
> On Sun, Feb 24, 2013 at 3:11 PM, Victor Olaya <volayaf at gmail.com> wrote:
>> Phil
>> 
>> Thanks for you help. Unfortunately, I do not use Mac and cannot test
>> SEXTANTE in Mac.
>> 
>> The psycopg library is used by algorithms connecting with PostGIS, and
>> I (wrongly) assumed it should be in all computers where QGIS is
>> installed. I will add some checking to ensure that it is found and, if
>> not, disable the corresponding algorithms but not the whole SEXTANTE
>> plugin
>> 
>> Regarding the error you see when executing SAGA, In Mac it is
>> performing the same check than in Linux, but it seems that it is not
>> working fine, even if SAGA is actually installed. Making SEXTANTE run
>> a small test algorithm and check the result sounds like a better
>> option, which would work for all OS's
>> 
>> Thanks again for your help.
>> 
>> Victor
>> 
>> 2013/2/23 Phil Hess <macpgmr at fastermac.net>:
>>>>> I tried installing SEXTANTE just now on a Mac but it crashed with a missing
>>> "psycopg2" error message.
>>>>> This is not a standard Python package on Mac.
>>> 
>>> I see now that psycopg2 is also provided as a Mac package here:
>>> 
>>> http://www.kyngchaos.com/software/python
>>> 
>>> Installing Psycopg2-2.4.5-2.dmg allows the SEXTANTE installation to complete
>>> successfully.
>>> 
>>> However, SEXTANTE doesn't seem to know about my SAGA:
>>> 
>>> "It seems that SAGA is not correctly installed in your system.
>>> Please install it before running SAGA algorithms."
>>> 
>>> Thanks.
>>> 
>>> -Phil
>>> 
>>> 
>>> 
>>> 
>>> --
>>> View this message in context: http://osgeo-org.1560.n6.nabble.com/Shipping-SAGA-with-QGIS-tp5036274p5036389.html
>>> Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
>>> _______________________________________________
>>> Qgis-developer mailing list
>>> Qgis-developer at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
> 
> I would be very much in favour of shipping SAGA bundled in with the
> OSX and Windows standalone installers. It creates a much better 'out
> of the box' experience and works better in environments where there is
> little / no internet available.
> 
> Regards
> 
> Tim
> 
> -- 
> Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
> ==============================================
> Please do not email me off-list with technical
> support questions. Using the lists will gain
> more exposure for your issues and the knowledge
> surrounding your issue will be shared with all.
> 
> Visit http://linfiniti.com to find out about:
> * QGIS programming and support services
> * Mapserver and PostGIS based hosting plans
> * FOSS Consulting Services
> Skype: timlinux
> Irc: timlinux on #qgis at freenode.net
> ==============================================
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"This is a question about the past, is it? ... How can I tell that the past isn't a fiction designed to account for the discrepancy between my immediate physical sensations and my state of mind?"

- The Ruler of the Universe




More information about the Qgis-developer mailing list