Re: [Qgis-developer] Processing disappeared from QGIS master?

2015-01-22 Thread Matteo Ghetta
Hi Alex,
I have the 2.12 installed

2015-01-22 18:13 GMT+01:00 Alexander Bruy :

> Hi Matteo,
>
> which version of SAGA do you have? Processing provider was
> updated recently and some old SAGA versions are not supported
> yet. It should work with SAGA 2.1.2 and 2.1.3
>
> 2015-01-22 19:10 GMT+02:00 Matteo Ghetta :
> > Hi,
> > sorry for the noise but I have SAGA installed in my debian system (and it
> > works as standalone) but I cannot see it in Processing.
> > Should I do something in particular?
> >
> > Thanks
> >
> > Matteo
> >
> > 2015-01-21 15:14 GMT+01:00 Paolo Cavallini :
> >>
> >> Il 21/01/2015 15:08, Bernd Vogelgesang ha scritto:
> >>
> >> > So any ideas how to make the integration of SAGA more stable would be
> >> > much appreciated.
> >>
> >> IMHO the best option would be to cooperate more tightly with SAGA devs,
> >> so that changes are know before they are added to new release, and
> >> Processing is updated accordingly.
> >> Of course, automatic testing and support for more developer time would
> >> greatly improve the current situation.
> >> All the best, and thanks for your interest.
> >>
> >> --
> >> Paolo Cavallini - www.faunalia.eu
> >> QGIS & PostGIS courses: http://www.faunalia.eu/training.html
> >> ___
> >> Qgis-developer mailing list
> >> Qgis-developer@lists.osgeo.org
> >> http://lists.osgeo.org/mailman/listinfo/qgis-developer
> >
> >
> >
> > ___
> > Qgis-developer mailing list
> > Qgis-developer@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
> --
> Alexander Bruy
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Processing disappeared from QGIS master?

2015-01-22 Thread Pedro Venâncio
Hi Alexander,


>
> which version of SAGA do you have? Processing provider was
> updated recently and some old SAGA versions are not supported
> yet. It should work with SAGA 2.1.2 and 2.1.3
>


I think that may arise a problem here, because ubuntugis-unstable [0]
just have SAGA > 2.1.1 for ubuntu versions 14.XX, and most users of
ubuntu-like-systems use ubuntugis-unstable to install these packages
and dependencies.

How can we get around this issue?

Best regards,
Pedro

[0] 
https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable/+index?batch=75&memo=150&start=150
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Processing disappeared from QGIS master?

2015-01-22 Thread Alexander Bruy
Hi Matteo,

which version of SAGA do you have? Processing provider was
updated recently and some old SAGA versions are not supported
yet. It should work with SAGA 2.1.2 and 2.1.3

2015-01-22 19:10 GMT+02:00 Matteo Ghetta :
> Hi,
> sorry for the noise but I have SAGA installed in my debian system (and it
> works as standalone) but I cannot see it in Processing.
> Should I do something in particular?
>
> Thanks
>
> Matteo
>
> 2015-01-21 15:14 GMT+01:00 Paolo Cavallini :
>>
>> Il 21/01/2015 15:08, Bernd Vogelgesang ha scritto:
>>
>> > So any ideas how to make the integration of SAGA more stable would be
>> > much appreciated.
>>
>> IMHO the best option would be to cooperate more tightly with SAGA devs,
>> so that changes are know before they are added to new release, and
>> Processing is updated accordingly.
>> Of course, automatic testing and support for more developer time would
>> greatly improve the current situation.
>> All the best, and thanks for your interest.
>>
>> --
>> Paolo Cavallini - www.faunalia.eu
>> QGIS & PostGIS courses: http://www.faunalia.eu/training.html
>> ___
>> Qgis-developer mailing list
>> Qgis-developer@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer



-- 
Alexander Bruy
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Processing disappeared from QGIS master?

2015-01-22 Thread Matteo Ghetta
Hi,
sorry for the noise but I have SAGA installed in my debian system (and it
works as standalone) but I cannot see it in Processing.
Should I do something in particular?

Thanks

Matteo

2015-01-21 15:14 GMT+01:00 Paolo Cavallini :

> Il 21/01/2015 15:08, Bernd Vogelgesang ha scritto:
>
> > So any ideas how to make the integration of SAGA more stable would be
> > much appreciated.
>
> IMHO the best option would be to cooperate more tightly with SAGA devs,
> so that changes are know before they are added to new release, and
> Processing is updated accordingly.
> Of course, automatic testing and support for more developer time would
> greatly improve the current situation.
> All the best, and thanks for your interest.
>
> --
> Paolo Cavallini - www.faunalia.eu
> QGIS & PostGIS courses: http://www.faunalia.eu/training.html
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Processing disappeared from QGIS master?

2015-01-21 Thread Paolo Cavallini
Il 21/01/2015 15:08, Bernd Vogelgesang ha scritto:

> So any ideas how to make the integration of SAGA more stable would be
> much appreciated.

IMHO the best option would be to cooperate more tightly with SAGA devs,
so that changes are know before they are added to new release, and
Processing is updated accordingly.
Of course, automatic testing and support for more developer time would
greatly improve the current situation.
All the best, and thanks for your interest.

-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Processing disappeared from QGIS master?

2015-01-21 Thread Bernd Vogelgesang
Am 21.01.2015, 13:59 Uhr, schrieb Pedro Venâncio  
:



Hi,

I don't know what is your opinion, but perhaps the best solution would  
be to make a fork of SAGA within QGIS, so could standardize >the version  
for all platforms and for all users. Otherwise it is impossible to  
create multiplatform Processing Models... Since QGIS >has this quick  
releases cycle, it was a question of updating SAGA to the latest  
version, in each new QGIS version.


In my case (Ubuntu 12.04), SAGA tools does not appear, because I have  
SAGA 2.1.1 installed from ubuntugis-unstable, which is no >longer  
supported in QGIS Master:


https://github.com/qgis/QGIS/commit/b0291985ac16a1f2809979257ffc12d84004e897

supportedVersions = {"2.1.2": ("2.1.2", SagaAlgorithm212),
"2.1.3": ("2.1.3", SagaAlgorithm213),
"2.1.4": ("2.1.3", SagaAlgorithm214)}

This way will emerge a problem, since in ubuntugis-unstable, SAGA has  
only been updated for versions of Ubuntu 14.XX (the rest have >2.1.1 or  
earlier). When QGIS 2.8 will be released, it will arise many complaints  
because the SAGA disappears. I'm pretty sure that >most users of  
ubuntu-like-systems use ubuntugis-unstable to install these packages and  
dependencie


What do you think?


I as a user have a lot of trouble with SAGA every while end then,  
especially like you mentioned with models I built to run on Win and Linux  
Mint/Ubuntu.
Even though I have an updated Linux Mint 17.1 = Ubuntu 14.04 with  
ubuntu-unstable, SAGA only works partially. Seems like most vector related  
function still work, but all raster related functions fail, so my models  
are working only under Windows now.


There might be other reasons for that than only SAGA, but for the average  
Linux user, this is hard to solve.
So any ideas how to make the integration of SAGA more stable would be much  
appreciated.


Just my 2 cents
Bernd







Thank you very much!

Best regards,
Pedro Venâncio




--
Bernd Vogelgesang
Siedlerstraße 2
91083 Baiersdorf/Igelsdorf
Tel: 09133-825374___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Processing disappeared from QGIS master?

2015-01-21 Thread Pedro Venâncio
Hi,

I don't know what is your opinion, but perhaps the best solution would be
to make a fork of SAGA within QGIS, so could standardize the version for
all platforms and for all users. Otherwise it is impossible to create
multiplatform Processing Models... Since QGIS has this quick releases
cycle, it was a question of updating SAGA to the latest version, in each
new QGIS version.

In my case (Ubuntu 12.04), SAGA tools does not appear, because I have SAGA
2.1.1 installed from ubuntugis-unstable, which is no longer supported in
QGIS Master:

https://github.com/qgis/QGIS/commit/b0291985ac16a1f2809979257ffc12d84004e897

 supportedVersions = {"2.1.2": ("2.1.2", SagaAlgorithm212),
 "2.1.3": ("2.1.3", SagaAlgorithm213),
 "2.1.4": ("2.1.3", SagaAlgorithm214)}

This way will emerge a problem, since in ubuntugis-unstable, SAGA has only
been updated for versions of Ubuntu 14.XX (the rest have 2.1.1 or earlier).
When QGIS 2.8 will be released, it will arise many complaints because the
SAGA disappears. I'm pretty sure that most users of ubuntu-like-systems use
ubuntugis-unstable to install these packages and dependencies.

What do you think?

Thank you very much!

Best regards,
Pedro Venâncio
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Processing disappeared from QGIS master?

2015-01-21 Thread Paolo Cavallini
Il 20/01/2015 12:10, Victor Olaya ha scritto:

> I will fix that call to gdal_io. Other modules, however, seems to
> accept the algorithm index/name correctly. I tried the export passing
> the algorithm name instead of 0, and it also fails

I confirm it fixed in current nightly.
Thanks!

-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Processing disappeared from QGIS master?

2015-01-20 Thread Victor Olaya
True, I was confusing versions. The "normal" syntax does not work with 2.1.4.

This is weird, because you need to indicate the algorithm to use...so
without that 0 it shouldn't work. Another one of this annoying SAGA
mysteries

I will fix that call to gdal_io. Other modules, however, seems to
accept the algorithm index/name correctly. I tried the export passing
the algorithm name instead of 0, and it also fails

Thanks for your help!

BTW, did anyone find SAGA 2.1.4 to be extremely slow?. It takes a lot
of time to launch SAGA before it starts doing the actual computing,
there is a huge overhead. With several calls per Processing algorithm,
the time it takes to run is rather long...

2015-01-20 11:55 GMT+01:00 Giovanni Manghi :
>> No problem. Actually, that "None" version shouldn't appear, i ahve
>> added a small fix to improve that version detection
>>
>> The error you are getting seems to be caused by SAGA believing that a
>> layer is already exported, so it is not calling the export routines
>> before calling the algorithm itself. I had seen this before, and I
>> have now added a fix for it.
>>
>> All this changes are applied in this commit
>>
>> https://github.com/qgis/QGIS/commit/e9228b67c934f4eaeae0beb8a033916f5317318f
>>
>> Hope this helps
>
>
> Hi Victor,
> I tested also under Window, from the command line (no Processing
> involved, but of course affected) and SAGA 2.1.4 io_gdal also fails
> when
>
> saga_cmd io_gdal 0 -TRANSFORM...
>
> while
>
> saga_cmd io_gdal -TRANSFORM...
>
>
> works
>
>
> cheers
>
>
> -- G --
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Processing disappeared from QGIS master?

2015-01-20 Thread Giovanni Manghi
> No problem. Actually, that "None" version shouldn't appear, i ahve
> added a small fix to improve that version detection
>
> The error you are getting seems to be caused by SAGA believing that a
> layer is already exported, so it is not calling the export routines
> before calling the algorithm itself. I had seen this before, and I
> have now added a fix for it.
>
> All this changes are applied in this commit
>
> https://github.com/qgis/QGIS/commit/e9228b67c934f4eaeae0beb8a033916f5317318f
>
> Hope this helps


Hi Victor,
I tested also under Window, from the command line (no Processing
involved, but of course affected) and SAGA 2.1.4 io_gdal also fails
when

saga_cmd io_gdal 0 -TRANSFORM...

while

saga_cmd io_gdal -TRANSFORM...


works


cheers


-- G --
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Processing disappeared from QGIS master?

2015-01-20 Thread Victor Olaya
Paolo, Giovanni

I don't see the calls to io_gdal in the error trace, so i think it's
not being called.

In case it is not shown in the text that is pasted, and it is calling
it but failing, then the problem might be what Giovanni is mentioning

Actually, for 2.1.4, the SAGA connector uses the same syntax as for
2.1.3, but there might be some changes and that might be causing the
error.

I am not having this problem in my Windows machine, but in Linux we
have seen before that the io_gdal module changes it syntax depending
on the available driver (something that is a really bad thing...but
there's nothing we can do with that)



2015-01-20 11:44 GMT+01:00 Victor Olaya :
> No problem. Actually, that "None" version shouldn't appear, i ahve
> added a small fix to improve that version detection
>
> The error you are getting seems to be caused by SAGA believing that a
> layer is already exported, so it is not calling the export routines
> before calling the algorithm itself. I had seen this before, and I
> have now added a fix for it.
>
> All this changes are applied in this commit
>
> https://github.com/qgis/QGIS/commit/e9228b67c934f4eaeae0beb8a033916f5317318f
>
> Hope this helps
>
> 2015-01-20 7:50 GMT+01:00 Paolo Cavallini :
>> Il 19/01/2015 22:47, Victor Olaya ha scritto:
>>> If you are running linux, there should be no path to select, that's
>>> normal. It looks like it finds no saga in your system, maybe it is
>>> making a wrong call when trying to find out the installed version.
>>
>> Hi Victor,
>> sorry, my mistake, sorry for the noise. However, now running saga throws
>> an error.
>> All the best, and thanks.
>>
>> SAGA execution console output
>> Error: Grid file could not be opened.
>> Error: input file
>> [/tmp/processing/590b940599c64f3ab5054d672a250297/dtm.sgrd]
>> Error: Elevation
>> 
>>
>> #   ##   ###
>> ### ###  ##   ###
>> ###   # ## ##   # ##
>> ### # ### #
>> # #   ##  # #   ##
>> 
>>
>> SAGA Version: 2.1.4
>>
>> 
>> library path:   /usr/lib/x86_64-linux-gnu/saga/
>> library name:   libta_morphometry
>> library :   Morphometry
>> tool:   Slope, Aspect, Curvature
>> author  :   O.Conrad (c) 2001
>> processors  :   4 [4]
>> 
>>
>> Load grid: /tmp/processing/590b940599c64f3ab5054d672a250297/dtm.sgrd...
>> failed
>>
>> Usage: saga_cmd ta_morphometry 0 -ELEVATION  [-SLOPE ]
>> [-ASPECT ] [-C_GENE ] [-C_PROF ] [-C_PLAN ] [-C_TANG
>> ] [-C_LONG ] [-C_CROS ] [-C_MINI ] [-C_MAXI ]
>> [-C_TOTA ] [-C_ROTO ] [-METHOD ] [-UNIT_SLOPE ]
>> [-UNIT_ASPECT ]
>> -ELEVATION:Elevation
>> Grid (input)
>> -SLOPE:Slope
>> Grid (output)
>> -ASPECT:   Aspect
>> Grid (output)
>> -C_GENE:   General Curvature
>> Grid (optional output)
>> -C_PROF:   Profile Curvature
>> Grid (optional output)
>> -C_PLAN:   Plan Curvature
>> Grid (optional output)
>> -C_TANG:   Tangential Curvature
>> Grid (optional output)
>> -C_LONG:   Longitudinal Curvature
>> Grid (optional output)
>> -C_CROS:   Cross-Sectional Curvature
>> Grid (optional output)
>> -C_MINI:   Minimal Curvature
>> Grid (optional output)
>> -C_MAXI:   Maximal Curvature
>> Grid (optional output)
>> -C_TOTA:   Total Curvature
>> Grid (optional output)
>> -C_ROTO:   Flow Line Curvature
>> Grid (optional output)
>> -METHOD:   Method
>> Choice
>> Available Choices:
>> [0] maximum slope (Travis et al. 1975)
>> [1] maximum triangle slope (Tarboton 1997)
>> [2] least squares fitted plane (Horn 1981, Costa-Cabral & Burgess 1996)
>> [3] 6 parameter 2nd order polynom (Evans 1979)
>> [4] 6 parameter 2nd order polynom (Heerdegen & Beran 1982)
>> [5] 6 parameter 2nd order polynom (Bauer, Rohdenburg, Bork 1985)
>> [6] 9 parameter 2nd order polynom (Zevenbergen & Thorne 1987)
>> [7] 10 parameter 3rd order polynom (Haralick 1983)
>> Default: 6
>> -UNIT_SLOPE:   Slope Units
>> Choice
>> Available Choices:
>> [0] radians
>> [1] degree
>> [2] percent
>> Default: 0
>> -UNIT_ASPECT:  Aspect Units
>> Choice
>> Available Choices:
>> [0] radians
>> [1] degree
>> Default: 0
>> Error: Grid file could not be opened.
>> Error: executing tool [GDAL: Export Raster]
>> 
>>
>> #   ##   ###
>> ### ###  ##   ###
>> ###   # ## ##   # ##
>> ### # ### #
>> # #   ##  # #   ##
>> 
>>
>> SAGA Version: 2.1.4
>>
>> 
>> library path:   /usr/lib/x86_64-linux-gnu/saga/
>> library name:   libio_gdal
>> library :   GDAL/OGR
>> tool:   GDAL: Export Raster
>> author  :   O.Conrad (c) 2007
>> processors  :   4 [4]
>> 
>>
>> Load grid:
>> /tmp/processing/e42f70bc0aa64d2398a3516251b52381/SLOPE.tif.sgrd...
>> failed
>> GDAL: Export Raster: could not initialize da

Re: [Qgis-developer] Processing disappeared from QGIS master?

2015-01-20 Thread Victor Olaya
No problem. Actually, that "None" version shouldn't appear, i ahve
added a small fix to improve that version detection

The error you are getting seems to be caused by SAGA believing that a
layer is already exported, so it is not calling the export routines
before calling the algorithm itself. I had seen this before, and I
have now added a fix for it.

All this changes are applied in this commit

https://github.com/qgis/QGIS/commit/e9228b67c934f4eaeae0beb8a033916f5317318f

Hope this helps

2015-01-20 7:50 GMT+01:00 Paolo Cavallini :
> Il 19/01/2015 22:47, Victor Olaya ha scritto:
>> If you are running linux, there should be no path to select, that's
>> normal. It looks like it finds no saga in your system, maybe it is
>> making a wrong call when trying to find out the installed version.
>
> Hi Victor,
> sorry, my mistake, sorry for the noise. However, now running saga throws
> an error.
> All the best, and thanks.
>
> SAGA execution console output
> Error: Grid file could not be opened.
> Error: input file
> [/tmp/processing/590b940599c64f3ab5054d672a250297/dtm.sgrd]
> Error: Elevation
> 
>
> #   ##   ###
> ### ###  ##   ###
> ###   # ## ##   # ##
> ### # ### #
> # #   ##  # #   ##
> 
>
> SAGA Version: 2.1.4
>
> 
> library path:   /usr/lib/x86_64-linux-gnu/saga/
> library name:   libta_morphometry
> library :   Morphometry
> tool:   Slope, Aspect, Curvature
> author  :   O.Conrad (c) 2001
> processors  :   4 [4]
> 
>
> Load grid: /tmp/processing/590b940599c64f3ab5054d672a250297/dtm.sgrd...
> failed
>
> Usage: saga_cmd ta_morphometry 0 -ELEVATION  [-SLOPE ]
> [-ASPECT ] [-C_GENE ] [-C_PROF ] [-C_PLAN ] [-C_TANG
> ] [-C_LONG ] [-C_CROS ] [-C_MINI ] [-C_MAXI ]
> [-C_TOTA ] [-C_ROTO ] [-METHOD ] [-UNIT_SLOPE ]
> [-UNIT_ASPECT ]
> -ELEVATION:Elevation
> Grid (input)
> -SLOPE:Slope
> Grid (output)
> -ASPECT:   Aspect
> Grid (output)
> -C_GENE:   General Curvature
> Grid (optional output)
> -C_PROF:   Profile Curvature
> Grid (optional output)
> -C_PLAN:   Plan Curvature
> Grid (optional output)
> -C_TANG:   Tangential Curvature
> Grid (optional output)
> -C_LONG:   Longitudinal Curvature
> Grid (optional output)
> -C_CROS:   Cross-Sectional Curvature
> Grid (optional output)
> -C_MINI:   Minimal Curvature
> Grid (optional output)
> -C_MAXI:   Maximal Curvature
> Grid (optional output)
> -C_TOTA:   Total Curvature
> Grid (optional output)
> -C_ROTO:   Flow Line Curvature
> Grid (optional output)
> -METHOD:   Method
> Choice
> Available Choices:
> [0] maximum slope (Travis et al. 1975)
> [1] maximum triangle slope (Tarboton 1997)
> [2] least squares fitted plane (Horn 1981, Costa-Cabral & Burgess 1996)
> [3] 6 parameter 2nd order polynom (Evans 1979)
> [4] 6 parameter 2nd order polynom (Heerdegen & Beran 1982)
> [5] 6 parameter 2nd order polynom (Bauer, Rohdenburg, Bork 1985)
> [6] 9 parameter 2nd order polynom (Zevenbergen & Thorne 1987)
> [7] 10 parameter 3rd order polynom (Haralick 1983)
> Default: 6
> -UNIT_SLOPE:   Slope Units
> Choice
> Available Choices:
> [0] radians
> [1] degree
> [2] percent
> Default: 0
> -UNIT_ASPECT:  Aspect Units
> Choice
> Available Choices:
> [0] radians
> [1] degree
> Default: 0
> Error: Grid file could not be opened.
> Error: executing tool [GDAL: Export Raster]
> 
>
> #   ##   ###
> ### ###  ##   ###
> ###   # ## ##   # ##
> ### # ### #
> # #   ##  # #   ##
> 
>
> SAGA Version: 2.1.4
>
> 
> library path:   /usr/lib/x86_64-linux-gnu/saga/
> library name:   libio_gdal
> library :   GDAL/OGR
> tool:   GDAL: Export Raster
> author  :   O.Conrad (c) 2007
> processors  :   4 [4]
> 
>
> Load grid:
> /tmp/processing/e42f70bc0aa64d2398a3516251b52381/SLOPE.tif.sgrd...
> failed
> GDAL: Export Raster: could not initialize data objects
> Error: Grid file could not be opened.
> Error: executing tool [GDAL: Export Raster]
> 
>
> #   ##   ###
> ### ###  ##   ###
> ###   # ## ##   # ##
> ### # ### #
> # #   ##  # #   ##
> 
>
> SAGA Version: 2.1.4
>
> 
> library path:   /usr/lib/x86_64-linux-gnu/saga/
> library name:   libio_gdal
> library :   GDAL/OGR
> tool:   GDAL: Export Raster
> author  :   O.Conrad (c) 2007
> processors  :   4 [4]
> 
>
> Load grid:
> /tmp/processing/54c709d08eb743a3a2023b874ba1ab78/ASPECT.tif.sgrd...
> failed
> GDAL: Export Raster: could not initialize data objects
> Error: Grid file could not be opened.
> Error: executing tool [GDAL: Export Rast

Re: [Qgis-developer] Processing disappeared from QGIS master?

2015-01-20 Thread Paolo Cavallini
Il 20/01/2015 10:44, Giovanni Manghi ha scritto:

> it fails before, when it imports the raster with io_gdal
> 
> it is supposed to pass a "0" argument to io_gdal to say you want ot
> import a raster, but apparently in SAGA 2.1.4 (at least under Linux)
> using it causes an error.

pretty serious bug, huh?
thanks.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Processing disappeared from QGIS master?

2015-01-20 Thread Giovanni Manghi
> SAGA execution console output
> Error: Grid file could not be opened.
> Error: input file
> [/tmp/processing/590b940599c64f3ab5054d672a250297/dtm.sgrd]
> Error: Elevation
> 
>
> #   ##   ###
> ### ###  ##   ###
> ###   # ## ##   # ##
> ### # ### #
> # #   ##  # #   ##
> 
>
> SAGA Version: 2.1.4



it fails before, when it imports the raster with io_gdal

it is supposed to pass a "0" argument to io_gdal to say you want ot
import a raster, but apparently in SAGA 2.1.4 (at least under Linux)
using it causes an error.

cheers

-- G --
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Processing disappeared from QGIS master?

2015-01-19 Thread Paolo Cavallini
Il 19/01/2015 22:47, Victor Olaya ha scritto:
> If you are running linux, there should be no path to select, that's
> normal. It looks like it finds no saga in your system, maybe it is
> making a wrong call when trying to find out the installed version.

Hi Victor,
sorry, my mistake, sorry for the noise. However, now running saga throws
an error.
All the best, and thanks.

SAGA execution console output
Error: Grid file could not be opened.
Error: input file
[/tmp/processing/590b940599c64f3ab5054d672a250297/dtm.sgrd]
Error: Elevation


#   ##   ###
### ###  ##   ###
###   # ## ##   # ##
### # ### #
# #   ##  # #   ##


SAGA Version: 2.1.4


library path:   /usr/lib/x86_64-linux-gnu/saga/
library name:   libta_morphometry
library :   Morphometry
tool:   Slope, Aspect, Curvature
author  :   O.Conrad (c) 2001
processors  :   4 [4]


Load grid: /tmp/processing/590b940599c64f3ab5054d672a250297/dtm.sgrd...
failed

Usage: saga_cmd ta_morphometry 0 -ELEVATION  [-SLOPE ]
[-ASPECT ] [-C_GENE ] [-C_PROF ] [-C_PLAN ] [-C_TANG
] [-C_LONG ] [-C_CROS ] [-C_MINI ] [-C_MAXI ]
[-C_TOTA ] [-C_ROTO ] [-METHOD ] [-UNIT_SLOPE ]
[-UNIT_ASPECT ]
-ELEVATION:Elevation
Grid (input)
-SLOPE:Slope
Grid (output)
-ASPECT:   Aspect
Grid (output)
-C_GENE:   General Curvature
Grid (optional output)
-C_PROF:   Profile Curvature
Grid (optional output)
-C_PLAN:   Plan Curvature
Grid (optional output)
-C_TANG:   Tangential Curvature
Grid (optional output)
-C_LONG:   Longitudinal Curvature
Grid (optional output)
-C_CROS:   Cross-Sectional Curvature
Grid (optional output)
-C_MINI:   Minimal Curvature
Grid (optional output)
-C_MAXI:   Maximal Curvature
Grid (optional output)
-C_TOTA:   Total Curvature
Grid (optional output)
-C_ROTO:   Flow Line Curvature
Grid (optional output)
-METHOD:   Method
Choice
Available Choices:
[0] maximum slope (Travis et al. 1975)
[1] maximum triangle slope (Tarboton 1997)
[2] least squares fitted plane (Horn 1981, Costa-Cabral & Burgess 1996)
[3] 6 parameter 2nd order polynom (Evans 1979)
[4] 6 parameter 2nd order polynom (Heerdegen & Beran 1982)
[5] 6 parameter 2nd order polynom (Bauer, Rohdenburg, Bork 1985)
[6] 9 parameter 2nd order polynom (Zevenbergen & Thorne 1987)
[7] 10 parameter 3rd order polynom (Haralick 1983)
Default: 6
-UNIT_SLOPE:   Slope Units
Choice
Available Choices:
[0] radians
[1] degree
[2] percent
Default: 0
-UNIT_ASPECT:  Aspect Units
Choice
Available Choices:
[0] radians
[1] degree
Default: 0
Error: Grid file could not be opened.
Error: executing tool [GDAL: Export Raster]


#   ##   ###
### ###  ##   ###
###   # ## ##   # ##
### # ### #
# #   ##  # #   ##


SAGA Version: 2.1.4


library path:   /usr/lib/x86_64-linux-gnu/saga/
library name:   libio_gdal
library :   GDAL/OGR
tool:   GDAL: Export Raster
author  :   O.Conrad (c) 2007
processors  :   4 [4]


Load grid:
/tmp/processing/e42f70bc0aa64d2398a3516251b52381/SLOPE.tif.sgrd...
failed
GDAL: Export Raster: could not initialize data objects
Error: Grid file could not be opened.
Error: executing tool [GDAL: Export Raster]


#   ##   ###
### ###  ##   ###
###   # ## ##   # ##
### # ### #
# #   ##  # #   ##


SAGA Version: 2.1.4


library path:   /usr/lib/x86_64-linux-gnu/saga/
library name:   libio_gdal
library :   GDAL/OGR
tool:   GDAL: Export Raster
author  :   O.Conrad (c) 2007
processors  :   4 [4]


Load grid:
/tmp/processing/54c709d08eb743a3a2023b874ba1ab78/ASPECT.tif.sgrd...
failed
GDAL: Export Raster: could not initialize data objects
Error: Grid file could not be opened.
Error: executing tool [GDAL: Export Raster]


#   ##   ###
### ###  ##   ###
###   # ## ##   # ##
### # ### #
# #   ##  # #   ##


SAGA Version: 2.1.4


library path:   /usr/lib/x86_64-linux-gnu/saga/
library name:   libio_gdal
library :   GDAL/OGR
tool:   GDAL: Export Raster
author  :   O.Conrad (c) 2007
processors  :   4 [4]


Load grid:
/tmp/processing/17db4faead0f49e690306892f88f1e33/CGENE.tif.sgrd...
failed
GDAL: Export Raster: could not initialize data objects
Error: Grid file could not be opened.
Error: executing tool [GDAL: Export Raster]


#   ##   ###
### ###  ##   ###
###   # ## ##   # ##
### # ### #
##

Re: [Qgis-developer] Processing disappeared from QGIS master?

2015-01-19 Thread Victor Olaya
If you are running linux, there should be no path to select, that's
normal. It looks like it finds no saga in your system, maybe it is
making a wrong call when trying to find out the installed version.

I assume you have SAGA installed and in your PATH...

2015-01-19 17:25 GMT+01:00 Paolo Cavallini :
> Il 19/01/2015 17:24, Victor Olaya ha scritto:
>> Any error trace?
>
> No error, in the settings the saga provider is marked as "none", no path
> is selectable, and no saga algs are visible in the box.
> All the best.
>
> --
> Paolo Cavallini - www.faunalia.eu
> QGIS & PostGIS courses: http://www.faunalia.eu/training.html
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Processing disappeared from QGIS master?

2015-01-19 Thread Paolo Cavallini
Il 19/01/2015 17:24, Victor Olaya ha scritto:
> Any error trace?

No error, in the settings the saga provider is marked as "none", no path
is selectable, and no saga algs are visible in the box.
All the best.

-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Processing disappeared from QGIS master?

2015-01-19 Thread Victor Olaya
Any error trace?

2015-01-19 16:59 GMT+01:00 Paolo Cavallini :
> Hi all.
> On current master, apparently saga is no longer usable ("none") from
> Processing.
> Confirmed? Should I open a ticket?
> Thanks.
> --
> Paolo Cavallini - www.faunalia.eu
> QGIS & PostGIS courses: http://www.faunalia.eu/training.html
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Processing disappeared from QGIS master?

2015-01-19 Thread Paolo Cavallini
Hi all.
On current master, apparently saga is no longer usable ("none") from
Processing.
Confirmed? Should I open a ticket?
Thanks.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer