Re: [Qgis-user] QGIS with SAGA in macos
Well, I have verified that SAGA 2.0.8 does NOT compile on OS X, and that seems to be the semi-official status also. 2.1 is needed for OS X. So, please make that update for the export command for SAGA 2.1. If the change breaks it for SAGA 2.0, it shoud be possible to make it conditional on the SAGA version. On Jun 13, 2013, at 9:11 AM, William Kyngesburye wrote: There is one case where wxpython 2.9 (32 or 64bit) may be required: if you need to compile wxwidgets (instead of using a binary) on OS X 10.8+. wx 2.9 is needed for cocoa APIs on recent OS X versions, which means SAGA 2.1 is neeeded. On Jun 13, 2013, at 8:50 AM, William Kyngesburye wrote: SAGA 2.0 is a problem. To build SAGA 64bit on OS X a 64bit wxWidgets is needed. To build wxWidgets 64bit, wx 2.9 is needed. SAGA 2.0 doesn't support wx 2.9, but 2.1 does. SAGA 2.1 does have a RC release (though strangely windows binary only, gotta get source from SVN). Should be good enough? I really want to have everything 64bit for QGIS, but at least Sextante executes external commands so SAGA will work 32bit is absolutely necessary. On Jun 13, 2013, at 6:26 AM, Victor Olaya wrote: An error has occured while executing Python code: Traceback (most recent call last): File /Applications/QGIS_2.0-dev.app/Contents/MacOS/../Resources/python/plugins/sextante/gui/OutputSelectionPanel.py, line 92, in saveToFile filename= unicode(files.first()) AttributeError: 'list' object has no attribute 'first' That error was fixed a few days ago in this commit https://github.com/qgis/Quantum-GIS/commit/a6f9f563095d2ebd3334de3809bda1d2f8ec1d64 updating your qgis-dev version should fix it. The other problem is related to using 2.1. It's easy to update SEXTANTE for the export command (which is the one failing), but I do not want to do it until a final stable 2.1 is released. For now, SEXTANTE runs on the latest stable version of SAGA, ,which is 2.0.8 Cheers - William Kyngesburye kyngchaos*at*kyngchaos*dot*com http://www.kyngchaos.com/ First Pogril: Why is life like sticking your head in a bucket filled with hyena offal? Second Pogril: I don't know. Why IS life like sticking your head in a bucket filled with hyena offal? First Pogril: I don't know either. Wretched, isn't it? -HitchHiker's Guide to the Galaxy ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] QGIS with SAGA in macos
An error has occured while executing Python code: Traceback (most recent call last): File /Applications/QGIS_2.0-dev.app/Contents/MacOS/../Resources/python/plugins/sextante/gui/OutputSelectionPanel.py, line 92, in saveToFile filename= unicode(files.first()) AttributeError: 'list' object has no attribute 'first' That error was fixed a few days ago in this commit https://github.com/qgis/Quantum-GIS/commit/a6f9f563095d2ebd3334de3809bda1d2f8ec1d64 updating your qgis-dev version should fix it. The other problem is related to using 2.1. It's easy to update SEXTANTE for the export command (which is the one failing), but I do not want to do it until a final stable 2.1 is released. For now, SEXTANTE runs on the latest stable version of SAGA, ,which is 2.0.8 Cheers ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] QGIS with SAGA in macos
Victor, But the thing is that the export part seems to be failing in my Grass as well: Oooops! SEXTANTE could not open the following output layers Output raster layer: /Users/adiez//borrar2.tif The above files could not be opened, which probably indicates that they were not correctly produced by the executed algorithm Checking the log information might help you see why those layers were not created as expected This algorithm requires GRASS to be run. A test to check if GRASS is correctly installed and configured in your system has been performed, with the following result: GRASS seems to be correctly installed and configured Algorithm r.mapcalculator - Calculate new raster map from a r.mapcalc expression. started g.proj -c proj4=+proj=longlat +ellps=WGS84 +no_defs r.external input=/Volumes/eltera/Users/adiez//borrar.tif band=1 output=tmp1371127548527 --overwrite -o g.region n=7.01236 s=4.99072 e=37.00659 w=34.98495 res=0.000833322341303 r.mapcalculator amap=tmp1371127548527 formula= A*2 outfile=outfiled9bdc5da39c64ff18679e06aa66d094e --overwrite g.region rast=outfiled9bdc5da39c64ff18679e06aa66d094e r.out.gdal -c createopt=TFW=YES,COMPRESS=LZW input=outfiled9bdc5da39c64ff18679e06aa66d094e output=/Users/adiez//borrar3.tif Rebuilding Addon HTML manual pages index... cat: global_r.prominence.html: No such file or directory cat: global_r.stream.distance.html: No such file or directory cat: global_r.stream.extract.html: No such file or directory cat: global_r.stream.order.html: No such file or directory cat: global_r.stream.stats.html: No such file or directory Rebuilding Addon menu... grep: /Users/adiez/Library/GRASS/6.4/Modules/bin/docs: Is a directory dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/osascript) is code signed with entitlements Python 2.7.2 found. Cleaning up temporary files ... Starting GRASS ... Executing '/Users/adiez/.qgis2//sextante/grass_batch_job.sh' ... Welcome to GRASS 6.4.2 (2012) GRASS_INFO_WARNING(51804,1): Datum not recognised by GRASS and no parameters found GRASS_INFO_END(51804,1) GRASS_INFO_MESSAGE(51804,2): N.B. The default region was updated to the new projection, but if you have multiple mapsets g.region -d should be run in each to update the region from the default. GRASS_INFO_END(51804,2) GRASS_INFO_MESSAGE(51804,3): Projection information updated! GRASS_INFO_END(51804,3) GRASS_INFO_WARNING(51805,1): Datum not recognised by GRASS and no parameters found GRASS_INFO_END(51805,1) GRASS_INFO_WARNING(51805,2): Over-riding projection check GRASS_INFO_END(51805,2) GRASS_INFO_MESSAGE(51805,3): Importing band 1 of 1... GRASS_INFO_END(51805,3) GRASS_INFO_MESSAGE(51805,4): Link to raster map created GRASS_INFO_END(51805,4) GRASS_INFO_MESSAGE(51811,1): r.mapcalc outfiled9bdc5da39c64ff18679e06aa66d094e = ( tmp1371127548527 *2) GRASS_INFO_END(51811,1) GRASS_INFO_ERROR(51812,1): Unable to load GDAL library GRASS_INFO_END(51812,1) GRASS_INFO_ERROR(51813,1): Calculating outfiled9bdc5da39c64ff18679e06aa66d094e. Try expert mode. GRASS_INFO_END(51813,1) GRASS_INFO_ERROR(51814,1): Raster map not found GRASS_INFO_END(51814,1) GRASS_INFO_ERROR(51815,1): Raster map or group not found GRASS_INFO_END(51815,1) Closing monitors ... dyld: DYLD_ environment variables being ignored because main executable (/bin/ps) is setuid or setgid Cleaning up temporary files ... Batch job '/Users/adiez/.qgis2//sextante/grass_batch_job.sh' (defined in GRASS_BATCH_JOB variable) was executed. Goodbye from GRASS GIS Rebuilding Addon HTML manual pages index... cat: global_r.prominence.html: No such file or directory cat: global_r.stream.distance.html: No such file or directory cat: global_r.stream.extract.html: No such file or directory cat: global_r.stream.order.html: No such file or directory cat: global_r.stream.stats.html: No such file or directory Rebuilding Addon menu... grep: /Users/adiez/Library/GRASS/6.4/Modules/bin/docs: Is a directory dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/osascript) is code signed with entitlements Python 2.7.2 found. Cleaning up temporary files ... Starting GRASS ... Executing '/Users/adiez/.qgis2//sextante/grass_batch_job.sh' ... Welcome to GRASS 6.4.2 (2012) GRASS_INFO_ERROR(52030,1): Raster map not found GRASS_INFO_END(52030,1) GRASS_INFO_ERROR(52031,1): Raster map or group not found GRASS_INFO_END(52031,1) Closing monitors ... dyld: DYLD_ environment variables being ignored because main executable (/bin/ps) is setuid or setgid Cleaning up temporary files ... Batch job '/Users/adiez/.qgis2//sextante/grass_batch_job.sh' (defined in GRASS_BATCH_JOB variable) was executed. Goodbye from GRASS GIS Converting outputs Loading resulting layers Algorithm r.mapcalculator - Calculate new raster map from a r.mapcalc expression. finished On 13/06/2013, at 13:26, Victor Olaya vola...@gmail.com wrote: An error has occured while executing Python code: Traceback (most
Re: [Qgis-user] QGIS with SAGA in macos
SAGA 2.0 is a problem. To build SAGA 64bit on OS X a 64bit wxWidgets is needed. To build wxWidgets 64bit, wx 2.9 is needed. SAGA 2.0 doesn't support wx 2.9, but 2.1 does. SAGA 2.1 does have a RC release (though strangely windows binary only, gotta get source from SVN). Should be good enough? I really want to have everything 64bit for QGIS, but at least Sextante executes external commands so SAGA will work 32bit is absolutely necessary. On Jun 13, 2013, at 6:26 AM, Victor Olaya wrote: An error has occured while executing Python code: Traceback (most recent call last): File /Applications/QGIS_2.0-dev.app/Contents/MacOS/../Resources/python/plugins/sextante/gui/OutputSelectionPanel.py, line 92, in saveToFile filename= unicode(files.first()) AttributeError: 'list' object has no attribute 'first' That error was fixed a few days ago in this commit https://github.com/qgis/Quantum-GIS/commit/a6f9f563095d2ebd3334de3809bda1d2f8ec1d64 updating your qgis-dev version should fix it. The other problem is related to using 2.1. It's easy to update SEXTANTE for the export command (which is the one failing), but I do not want to do it until a final stable 2.1 is released. For now, SEXTANTE runs on the latest stable version of SAGA, ,which is 2.0.8 Cheers ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user - William Kyngesburye kyngchaos*at*kyngchaos*dot*com http://www.kyngchaos.com/ First Pogril: Why is life like sticking your head in a bucket filled with hyena offal? Second Pogril: I don't know. Why IS life like sticking your head in a bucket filled with hyena offal? First Pogril: I don't know either. Wretched, isn't it? -HitchHiker's Guide to the Galaxy ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] QGIS with SAGA in macos
There is one case where wxpython 2.9 (32 or 64bit) may be required: if you need to compile wxwidgets (instead of using a binary) on OS X 10.8+. wx 2.9 is needed for cocoa APIs on recent OS X versions, which means SAGA 2.1 is neeeded. On Jun 13, 2013, at 8:50 AM, William Kyngesburye wrote: SAGA 2.0 is a problem. To build SAGA 64bit on OS X a 64bit wxWidgets is needed. To build wxWidgets 64bit, wx 2.9 is needed. SAGA 2.0 doesn't support wx 2.9, but 2.1 does. SAGA 2.1 does have a RC release (though strangely windows binary only, gotta get source from SVN). Should be good enough? I really want to have everything 64bit for QGIS, but at least Sextante executes external commands so SAGA will work 32bit is absolutely necessary. On Jun 13, 2013, at 6:26 AM, Victor Olaya wrote: An error has occured while executing Python code: Traceback (most recent call last): File /Applications/QGIS_2.0-dev.app/Contents/MacOS/../Resources/python/plugins/sextante/gui/OutputSelectionPanel.py, line 92, in saveToFile filename= unicode(files.first()) AttributeError: 'list' object has no attribute 'first' That error was fixed a few days ago in this commit https://github.com/qgis/Quantum-GIS/commit/a6f9f563095d2ebd3334de3809bda1d2f8ec1d64 updating your qgis-dev version should fix it. The other problem is related to using 2.1. It's easy to update SEXTANTE for the export command (which is the one failing), but I do not want to do it until a final stable 2.1 is released. For now, SEXTANTE runs on the latest stable version of SAGA, ,which is 2.0.8 Cheers ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user - William Kyngesburye kyngchaos*at*kyngchaos*dot*com http://www.kyngchaos.com/ First Pogril: Why is life like sticking your head in a bucket filled with hyena offal? Second Pogril: I don't know. Why IS life like sticking your head in a bucket filled with hyena offal? First Pogril: I don't know either. Wretched, isn't it? -HitchHiker's Guide to the Galaxy ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user - William Kyngesburye kyngchaos*at*kyngchaos*dot*com http://www.kyngchaos.com/ First Pogril: Why is life like sticking your head in a bucket filled with hyena offal? Second Pogril: I don't know. Why IS life like sticking your head in a bucket filled with hyena offal? First Pogril: I don't know either. Wretched, isn't it? -HitchHiker's Guide to the Galaxy ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] QGIS with SAGA in macos
Error 1 sounds to me like a wrong SAGA version. It must be 2.0.8. I remember having seen taht same error in someone using 2.1. Error 2 was fixed yesteday, it was caused by the new SIP API Cheers Victor 2013/6/11 Agustin Diez-Castillo gvsig@gmail.com: Hi all, Some time ago, there were discussion on this list about running saga in qgis for mac. As of today, the good news are that in master 499db4e it seems that the saga commands run [1], however results are not as expected. If I leave the raster as a temporary file something (ERROR 1: Writing through VRTSourcedRasterBand is not supported) goes wrong, when I try to the same but saving the result a python error [2] doesn't allow me to create the desired tif. Some saga command producing vector results run OK. This time I was on macos 10.8.4. Best Agustin [1] SAGA execution console output 05:05:07 PM: Debug: Adding duplicate image handler for 'PNG file' 05:05:07 PM: Debug: Adding duplicate image handler for 'JPEG file' 05:05:07 PM: Debug: Adding duplicate image handler for 'TIFF file' 05:05:07 PM: Debug: Adding duplicate image handler for 'GIF file' 05:05:07 PM: Debug: Adding duplicate image handler for 'PNM file' 05:05:07 PM: Debug: Adding duplicate image handler for 'PCX file' 05:05:07 PM: Debug: Adding duplicate image handler for 'IFF file' 05:05:07 PM: Debug: Adding duplicate image handler for 'Windows icon file' 05:05:07 PM: Debug: Adding duplicate image handler for 'Windows cursor file' 05:05:07 PM: Debug: Adding duplicate image handler for 'Windows animated cursor file' 05:05:07 PM: Debug: Adding duplicate image handler for 'TGA file' 05:05:07 PM: Debug: Adding duplicate image handler for 'XPM file' _ # ## # ## ### ### ## ### ### # ## ## # ## ### # ## # # # # ## # # ## _ library path: /Applications/SAGA.app/lib/saga/libio_gdal.dylib library name: Import/Export - GDAL/OGR module name : GDAL: Import Raster author : O.Conrad (c) 2007 (A.Ringeler) _ Parameters Grids: No objects Files: /var/folders/sm/1djysrdj1clbzvn35gv8vqq4gn/T/sextante/sagaslopeaspectcurvature1ede263e70484902b4097120c94fbf1d.tif Transformation: no Interpolation: B-Spline Interpolation loading: /var/folders/sm/1djysrdj1clbzvn35gv8vqq4gn/T/sextante/sagaslopeaspectcurvature1ede263e70484902b4097120c94fbf1d.tif Driver: /var/folders/sm/1djysrdj1clbzvn35gv8vqq4gn/T/sextante/sagaslopeaspectcurvature1ede263e70484902b4097120c94fbf1d.tif/ Cells: x 2000, y 2000 Bands: 1 Transformation x' = 70.00 + x * 25.00 + y * 0.00 Transformation y' = 4325000.00 + x * 0.00 + y * -25.00 loading band [1/1] Save grid: /var/folders/sm/1djysrdj1clbzvn35gv8vqq4gn/T/sextante/33fe826d05a04ddebf423a5f4adb31ef/sagas.sgrd... ready okay 05:05:09 PM: Debug: Adding duplicate image handler for 'PNG file' 05:05:09 PM: Debug: Adding duplicate image handler for 'JPEG file' 05:05:09 PM: Debug: Adding duplicate image handler for 'TIFF file' 05:05:09 PM: Debug: Adding duplicate image handler for 'GIF file' 05:05:09 PM: Debug: Adding duplicate image handler for 'PNM file' 05:05:09 PM: Debug: Adding duplicate image handler for 'PCX file' 05:05:09 PM: Debug: Adding duplicate image handler for 'IFF file' 05:05:09 PM: Debug: Adding duplicate image handler for 'Windows icon file' 05:05:09 PM: Debug: Adding duplicate image handler for 'Windows cursor file' 05:05:09 PM: Debug: Adding duplicate image handler for 'Windows animated cursor file' 05:05:09 PM: Debug: Adding duplicate image handler for 'TGA file' 05:05:09 PM: Debug: Adding duplicate image handler for 'XPM file' _ # ## # ## ### ### ## ### ### # ## ## # ## ### # ## # # # # ## # # ## _ library path: /Applications/SAGA.app/lib/saga/libta_morphometry.dylib library name: Terrain Analysis - Morphometry module name : Slope, Aspect, Curvature author : O.Conrad (c) 2001 _ Load grid: /var/folders/sm/1djysrdj1clbzvn35gv8vqq4gn/T/sextante/33fe826d05a04ddebf423a5f4adb31ef/sagas.sgrd... ready okay Parameters Grid system: 25; 2000x 2000y; 700012.5x 4275012.5y Elevation: sagas Slope: Slope Aspect: Aspect Curvature: Curvature Plan Curvature: Plan Curvature Profile Curvature: Profile Curvature Method: Fit 2.Degree Polynom (Zevenbergen Thorne 1987) Save grid: /var/folders/sm/1djysrdj1clbzvn35gv8vqq4gn/T/sextante/sagaslopeaspectcurvature62a54bf65e34409caf443172524059bb.tif.sgrd... ready okay Save grid:
Re: [Qgis-user] QGIS with SAGA in macos
Agustin On 12/06/2013, at 17:24, Victor Olaya vola...@gmail.com wrote: Error 1 sounds to me like a wrong SAGA version. It must be 2.0.8. I remember having seen taht same error in someone using 2.1. Error 2 was fixed yesteday, it was caused by the new SIP API Cheers Victor 2013/6/11 Agustin Diez-Castillo gvsig@gmail.com: Hi all, Some time ago, there were discussion on this list about running saga in qgis for mac. As of today, the good news are that in master 499db4e it seems that the saga commands run [1], however results are not as expected. If I leave the raster as a temporary file something (ERROR 1: Writing through VRTSourcedRasterBand is not supported) goes wrong, when I try to the same but saving the result a python error [2] doesn't allow me to create the desired tif. Some saga command producing vector results run OK. This time I was on macos 10.8.4. Best Agustin [1] SAGA execution console output 05:05:07 PM: Debug: Adding duplicate image handler for 'PNG file' 05:05:07 PM: Debug: Adding duplicate image handler for 'JPEG file' 05:05:07 PM: Debug: Adding duplicate image handler for 'TIFF file' 05:05:07 PM: Debug: Adding duplicate image handler for 'GIF file' 05:05:07 PM: Debug: Adding duplicate image handler for 'PNM file' 05:05:07 PM: Debug: Adding duplicate image handler for 'PCX file' 05:05:07 PM: Debug: Adding duplicate image handler for 'IFF file' 05:05:07 PM: Debug: Adding duplicate image handler for 'Windows icon file' 05:05:07 PM: Debug: Adding duplicate image handler for 'Windows cursor file' 05:05:07 PM: Debug: Adding duplicate image handler for 'Windows animated cursor file' 05:05:07 PM: Debug: Adding duplicate image handler for 'TGA file' 05:05:07 PM: Debug: Adding duplicate image handler for 'XPM file' _ # ## # ## ### ### ## ### ### # ## ## # ## ### # ## # # # # ## # # ## _ library path: /Applications/SAGA.app/lib/saga/libio_gdal.dylib library name: Import/Export - GDAL/OGR module name : GDAL: Import Raster author : O.Conrad (c) 2007 (A.Ringeler) _ Parameters Grids: No objects Files: /var/folders/sm/1djysrdj1clbzvn35gv8vqq4gn/T/sextante/sagaslopeaspectcurvature1ede263e70484902b4097120c94fbf1d.tif Transformation: no Interpolation: B-Spline Interpolation loading: /var/folders/sm/1djysrdj1clbzvn35gv8vqq4gn/T/sextante/sagaslopeaspectcurvature1ede263e70484902b4097120c94fbf1d.tif Driver: /var/folders/sm/1djysrdj1clbzvn35gv8vqq4gn/T/sextante/sagaslopeaspectcurvature1ede263e70484902b4097120c94fbf1d.tif/ Cells: x 2000, y 2000 Bands: 1 Transformation x' = 70.00 + x * 25.00 + y * 0.00 Transformation y' = 4325000.00 + x * 0.00 + y * -25.00 loading band [1/1] Save grid: /var/folders/sm/1djysrdj1clbzvn35gv8vqq4gn/T/sextante/33fe826d05a04ddebf423a5f4adb31ef/sagas.sgrd... ready okay 05:05:09 PM: Debug: Adding duplicate image handler for 'PNG file' 05:05:09 PM: Debug: Adding duplicate image handler for 'JPEG file' 05:05:09 PM: Debug: Adding duplicate image handler for 'TIFF file' 05:05:09 PM: Debug: Adding duplicate image handler for 'GIF file' 05:05:09 PM: Debug: Adding duplicate image handler for 'PNM file' 05:05:09 PM: Debug: Adding duplicate image handler for 'PCX file' 05:05:09 PM: Debug: Adding duplicate image handler for 'IFF file' 05:05:09 PM: Debug: Adding duplicate image handler for 'Windows icon file' 05:05:09 PM: Debug: Adding duplicate image handler for 'Windows cursor file' 05:05:09 PM: Debug: Adding duplicate image handler for 'Windows animated cursor file' 05:05:09 PM: Debug: Adding duplicate image handler for 'TGA file' 05:05:09 PM: Debug: Adding duplicate image handler for 'XPM file' _ # ## # ## ### ### ## ### ### # ## ## # ## ### # ## # # # # ## # # ## _ library path: /Applications/SAGA.app/lib/saga/libta_morphometry.dylib library name: Terrain Analysis - Morphometry module name : Slope, Aspect, Curvature author : O.Conrad (c) 2001 _ Load grid: /var/folders/sm/1djysrdj1clbzvn35gv8vqq4gn/T/sextante/33fe826d05a04ddebf423a5f4adb31ef/sagas.sgrd... ready okay Parameters Grid system: 25; 2000x 2000y; 700012.5x 4275012.5y Elevation: sagas Slope: Slope Aspect: Aspect Curvature: Curvature Plan Curvature: Plan Curvature Profile Curvature: Profile Curvature Method: Fit 2.Degree Polynom (Zevenbergen Thorne 1987) Save grid:
Re: [Qgis-user] QGIS with SAGA in macos
My fault, I was enchanted by the fact that saga was running that overlooked the version. Sorry for the noise and the previous emptied message. Agustin On 12/06/2013, at 17:24, Victor Olaya vola...@gmail.com wrote: Error 1 sounds to me like a wrong SAGA version. It must be 2.0.8. I remember having seen taht same error in someone using 2.1. Error 2 was fixed yesteday, it was caused by the new SIP API Cheers Victor 2013/6/11 Agustin Diez-Castillo gvsig@gmail.com: Hi all, Some time ago, there were discussion on this list about running saga in qgis for mac. As of today, the good news are that in master 499db4e it seems that the saga commands run [1], however results are not as expected. If I leave the raster as a temporary file something (ERROR 1: Writing through VRTSourcedRasterBand is not supported) goes wrong, when I try to the same but saving the result a python error [2] doesn't allow me to create the desired tif. Some saga command producing vector results run OK. This time I was on macos 10.8.4. Best Agustin [1] SAGA execution console output 05:05:07 PM: Debug: Adding duplicate image handler for 'PNG file' 05:05:07 PM: Debug: Adding duplicate image handler for 'JPEG file' 05:05:07 PM: Debug: Adding duplicate image handler for 'TIFF file' 05:05:07 PM: Debug: Adding duplicate image handler for 'GIF file' 05:05:07 PM: Debug: Adding duplicate image handler for 'PNM file' 05:05:07 PM: Debug: Adding duplicate image handler for 'PCX file' 05:05:07 PM: Debug: Adding duplicate image handler for 'IFF file' 05:05:07 PM: Debug: Adding duplicate image handler for 'Windows icon file' 05:05:07 PM: Debug: Adding duplicate image handler for 'Windows cursor file' 05:05:07 PM: Debug: Adding duplicate image handler for 'Windows animated cursor file' 05:05:07 PM: Debug: Adding duplicate image handler for 'TGA file' 05:05:07 PM: Debug: Adding duplicate image handler for 'XPM file' _ # ## # ## ### ### ## ### ### # ## ## # ## ### # ## # # # # ## # # ## _ library path: /Applications/SAGA.app/lib/saga/libio_gdal.dylib library name: Import/Export - GDAL/OGR module name : GDAL: Import Raster author : O.Conrad (c) 2007 (A.Ringeler) _ Parameters Grids: No objects Files: /var/folders/sm/1djysrdj1clbzvn35gv8vqq4gn/T/sextante/sagaslopeaspectcurvature1ede263e70484902b4097120c94fbf1d.tif Transformation: no Interpolation: B-Spline Interpolation loading: /var/folders/sm/1djysrdj1clbzvn35gv8vqq4gn/T/sextante/sagaslopeaspectcurvature1ede263e70484902b4097120c94fbf1d.tif Driver: /var/folders/sm/1djysrdj1clbzvn35gv8vqq4gn/T/sextante/sagaslopeaspectcurvature1ede263e70484902b4097120c94fbf1d.tif/ Cells: x 2000, y 2000 Bands: 1 Transformation x' = 70.00 + x * 25.00 + y * 0.00 Transformation y' = 4325000.00 + x * 0.00 + y * -25.00 loading band [1/1] Save grid: /var/folders/sm/1djysrdj1clbzvn35gv8vqq4gn/T/sextante/33fe826d05a04ddebf423a5f4adb31ef/sagas.sgrd... ready okay 05:05:09 PM: Debug: Adding duplicate image handler for 'PNG file' 05:05:09 PM: Debug: Adding duplicate image handler for 'JPEG file' 05:05:09 PM: Debug: Adding duplicate image handler for 'TIFF file' 05:05:09 PM: Debug: Adding duplicate image handler for 'GIF file' 05:05:09 PM: Debug: Adding duplicate image handler for 'PNM file' 05:05:09 PM: Debug: Adding duplicate image handler for 'PCX file' 05:05:09 PM: Debug: Adding duplicate image handler for 'IFF file' 05:05:09 PM: Debug: Adding duplicate image handler for 'Windows icon file' 05:05:09 PM: Debug: Adding duplicate image handler for 'Windows cursor file' 05:05:09 PM: Debug: Adding duplicate image handler for 'Windows animated cursor file' 05:05:09 PM: Debug: Adding duplicate image handler for 'TGA file' 05:05:09 PM: Debug: Adding duplicate image handler for 'XPM file' _ # ## # ## ### ### ## ### ### # ## ## # ## ### # ## # # # # ## # # ## _ library path: /Applications/SAGA.app/lib/saga/libta_morphometry.dylib library name: Terrain Analysis - Morphometry module name : Slope, Aspect, Curvature author : O.Conrad (c) 2001 _ Load grid: /var/folders/sm/1djysrdj1clbzvn35gv8vqq4gn/T/sextante/33fe826d05a04ddebf423a5f4adb31ef/sagas.sgrd... ready okay Parameters Grid system: 25; 2000x 2000y; 700012.5x 4275012.5y Elevation: sagas Slope: Slope Aspect: Aspect Curvature: Curvature Plan Curvature: Plan Curvature Profile
Re: [Qgis-user] QGIS with SAGA in macos
I don't remember if there was an error running SAGA commands when I was checking things out. I do remember that compiling SAGA 2.0.x was a problem on OS X and 2.1 dev source or RC is required. I only tested the theissen polygons that Sextante uses as a test for the presence of SAGA. What SAGA command are you running, and is it from Sextante (in QGIS), or in SAGA (not in QGIS)? Where did you get your SAGA - did you compile from source, or was a binary from somewhere? I compiled just the commands, without any GUI or python, neither used in sextante. On Jun 12, 2013, at 10:24 AM, Victor Olaya wrote: Error 1 sounds to me like a wrong SAGA version. It must be 2.0.8. I remember having seen taht same error in someone using 2.1. Error 2 was fixed yesteday, it was caused by the new SIP API Cheers Victor 2013/6/11 Agustin Diez-Castillo gvsig@gmail.com: Hi all, Some time ago, there were discussion on this list about running saga in qgis for mac. As of today, the good news are that in master 499db4e it seems that the saga commands run [1], however results are not as expected. If I leave the raster as a temporary file something (ERROR 1: Writing through VRTSourcedRasterBand is not supported) goes wrong, when I try to the same but saving the result a python error [2] doesn't allow me to create the desired tif. Some saga command producing vector results run OK. This time I was on macos 10.8.4. Best Agustin - William Kyngesburye kyngchaos*at*kyngchaos*dot*com http://www.kyngchaos.com/ Earth: Mostly harmless - revised entry in the HitchHiker's Guide to the Galaxy ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] QGIS with SAGA in macos
Hi all, Some time ago, there were discussion on this list about running saga in qgis for mac. As of today, the good news are that in master 499db4e it seems that the saga commands run [1], however results are not as expected. If I leave the raster as a temporary file something (ERROR 1: Writing through VRTSourcedRasterBand is not supported) goes wrong, when I try to the same but saving the result a python error [2] doesn't allow me to create the desired tif. Some saga command producing vector results run OK. This time I was on macos 10.8.4. Best Agustin [1] SAGA execution console output 05:05:07 PM: Debug: Adding duplicate image handler for 'PNG file' 05:05:07 PM: Debug: Adding duplicate image handler for 'JPEG file' 05:05:07 PM: Debug: Adding duplicate image handler for 'TIFF file' 05:05:07 PM: Debug: Adding duplicate image handler for 'GIF file' 05:05:07 PM: Debug: Adding duplicate image handler for 'PNM file' 05:05:07 PM: Debug: Adding duplicate image handler for 'PCX file' 05:05:07 PM: Debug: Adding duplicate image handler for 'IFF file' 05:05:07 PM: Debug: Adding duplicate image handler for 'Windows icon file' 05:05:07 PM: Debug: Adding duplicate image handler for 'Windows cursor file' 05:05:07 PM: Debug: Adding duplicate image handler for 'Windows animated cursor file' 05:05:07 PM: Debug: Adding duplicate image handler for 'TGA file' 05:05:07 PM: Debug: Adding duplicate image handler for 'XPM file' _ # ## # ## ### ### ## ### ### # ## ## # ## ### # ## # # # # ## # # ## _ library path: /Applications/SAGA.app/lib/saga/libio_gdal.dylib library name: Import/Export - GDAL/OGR module name : GDAL: Import Raster author : O.Conrad (c) 2007 (A.Ringeler) _ Parameters Grids: No objects Files: /var/folders/sm/1djysrdj1clbzvn35gv8vqq4gn/T/sextante/sagaslopeaspectcurvature1ede263e70484902b4097120c94fbf1d.tif Transformation: no Interpolation: B-Spline Interpolation loading: /var/folders/sm/1djysrdj1clbzvn35gv8vqq4gn/T/sextante/sagaslopeaspectcurvature1ede263e70484902b4097120c94fbf1d.tif Driver: /var/folders/sm/1djysrdj1clbzvn35gv8vqq4gn/T/sextante/sagaslopeaspectcurvature1ede263e70484902b4097120c94fbf1d.tif/ Cells: x 2000, y 2000 Bands: 1 Transformation x' = 70.00 + x * 25.00 + y * 0.00 Transformation y' = 4325000.00 + x * 0.00 + y * -25.00 loading band [1/1] Save grid: /var/folders/sm/1djysrdj1clbzvn35gv8vqq4gn/T/sextante/33fe826d05a04ddebf423a5f4adb31ef/sagas.sgrd... ready okay 05:05:09 PM: Debug: Adding duplicate image handler for 'PNG file' 05:05:09 PM: Debug: Adding duplicate image handler for 'JPEG file' 05:05:09 PM: Debug: Adding duplicate image handler for 'TIFF file' 05:05:09 PM: Debug: Adding duplicate image handler for 'GIF file' 05:05:09 PM: Debug: Adding duplicate image handler for 'PNM file' 05:05:09 PM: Debug: Adding duplicate image handler for 'PCX file' 05:05:09 PM: Debug: Adding duplicate image handler for 'IFF file' 05:05:09 PM: Debug: Adding duplicate image handler for 'Windows icon file' 05:05:09 PM: Debug: Adding duplicate image handler for 'Windows cursor file' 05:05:09 PM: Debug: Adding duplicate image handler for 'Windows animated cursor file' 05:05:09 PM: Debug: Adding duplicate image handler for 'TGA file' 05:05:09 PM: Debug: Adding duplicate image handler for 'XPM file' _ # ## # ## ### ### ## ### ### # ## ## # ## ### # ## # # # # ## # # ## _ library path: /Applications/SAGA.app/lib/saga/libta_morphometry.dylib library name: Terrain Analysis - Morphometry module name : Slope, Aspect, Curvature author : O.Conrad (c) 2001 _ Load grid: /var/folders/sm/1djysrdj1clbzvn35gv8vqq4gn/T/sextante/33fe826d05a04ddebf423a5f4adb31ef/sagas.sgrd... ready okay Parameters Grid system: 25; 2000x 2000y; 700012.5x 4275012.5y Elevation: sagas Slope: Slope Aspect: Aspect Curvature: Curvature Plan Curvature: Plan Curvature Profile Curvature: Profile Curvature Method: Fit 2.Degree Polynom (Zevenbergen Thorne 1987) Save grid: /var/folders/sm/1djysrdj1clbzvn35gv8vqq4gn/T/sextante/sagaslopeaspectcurvature62a54bf65e34409caf443172524059bb.tif.sgrd... ready okay Save grid: /var/folders/sm/1djysrdj1clbzvn35gv8vqq4gn/T/sextante/sagaslopeaspectcurvature2bd964a53d7e47459c3b168c73a976b7.tif.sgrd... ready okay Save grid: /var/folders/sm/1djysrdj1clbzvn35gv8vqq4gn/T/sextante/sagaslopeaspectcurvature94dc20ffc26546d4838ac820666d427c.tif.sgrd... ready okay Save grid: /var/folders/sm/1djysrdj1clbzvn35gv8vqq4gn/T/sextante/sagaslopeaspectcurvatured252caaa30454787a27a77dc5b9acd64.tif.sgrd... ready okay Save grid: