[Qgis-developer] Shipping SAGA with QGIS

Phil Hess macpgmr at fastermac.net
Sun Feb 24 13:00:23 PST 2013


>>Unfortunately, Qt does put some tools in /usr/bin, oh well

As do Java and Mono, but I agree: /usr/local/bin should be good enough.

Perhaps SEXTANTE could just check for the existence of the saga_cmd file in
a couple of logical places, for example, in /usr/local/bin or, if not found
there, look in (per GDAL convention, etc.):

/Library/Frameworks/SAGA.framework/programs

With Windows, a peek at the registry would give the install location for
systems where the InnoSetup installer was run to install SAGA. This would
avoid the need for the user to configure the SAGA folder in SEXTANTE. For
example, with 2.0.8, the InstallDir value under this registry key could be
used:

SOFTWARE\SAGA User Group Association\SAGA GIS\2.0.8

Thanks.

-Phil




--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Shipping-SAGA-with-QGIS-tp5036274p5036507.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list