Re: [Qgis-developer] Processing framework - background processing

2015-08-27 Thread Alexander Bruy
Hi Roberto,

again, there is no need to recompile.

All you need is to grab Processing code from the repository mentioned
by Marcus [0]. Not all code, only Processing. Look at the python/plugins
directory. Then put this code into your QGIS plugins directory. Usually this
is ~/.qgis2/python/plugins. That's all.

After this you can start QGIS as usual and test.

[0] https://github.com/mvcsantos/QGIS

2015-08-27 16:36 GMT+03:00 Geo DrinX geodr...@gmail.com:
 Marcus,

 the ZIP you indicated is a complete QGIS source .

 Where  is yourProcessing   installable on Windows ?   Do I need to
 recompile something ?

 I'm afraid I do not understand what I need to do.Could you please
 explain me the singular steps ?


 Thank you

 Roberto

 2015-08-27 14:12 GMT+02:00 Marcus Santos m...@me.com:


 On 27 Aug 2015, at 11:48, Geo DrinX geodr...@gmail.com wrote:

 2015-08-27 12:36 GMT+02:00 Marcus Santos m...@me.com:

 Oh sorry, this is the link:

 https://github.com/mvcsantos/QGIS

 Look for the master branch, you'll find the code there.



 OK.  I will unpack the ZIP under my:

 c:\Users\rrr\.qgis2\python\plugins\

 correct ?


 Exactly, you just need to put the processing plugin under the plugins
 directory.

 But, it do not conflict with the default installed

 c:\PROGRA~1\QGISPI~1\apps\qgis\.\python\plugins\processing
 Versione disponibile: 2.10.1 (in Repository plugin ufficiale QGIS)

 ?


 Well, I’m not sure if it works the same way on Windows but I suppose it’s
 the same.


 Perhaps, your version will deactivate  the default version automatically,
 or  need I to deactivate it manually, before to install your ?


 I guess so.

 Thank you for testing the new implementation.
 I'm looking forward to hear about the multithreading behaviour on Windows
 :)





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

Re: [Qgis-developer] Processing framework - background processing

2015-08-27 Thread Geo DrinX
Marcus,

the ZIP you indicated is a complete QGIS source .

Where  is yourProcessing   installable on Windows ?   Do I need to
recompile something ?

I'm afraid I do not understand what I need to do.Could you please
explain me the singular steps ?


Thank you

Roberto

2015-08-27 14:12 GMT+02:00 Marcus Santos m...@me.com:


 On 27 Aug 2015, at 11:48, Geo DrinX geodr...@gmail.com wrote:

 2015-08-27 12:36 GMT+02:00 Marcus Santos m...@me.com:

 Oh sorry, this is the link:

 https://github.com/mvcsantos/QGIS

 Look for the master branch, you'll find the code there.



 OK.  I will unpack the ZIP under my:

 c:\Users\rrr\.qgis2\python\plugins\

 correct ?


 Exactly, you just need to put the processing plugin under the plugins
 directory.

 But, it do not conflict with the default installed

 c:\PROGRA~1\QGISPI~1\apps\qgis\.\python\plugins\processing
 Versione disponibile: 2.10.1 (in Repository plugin ufficiale QGIS)

 ?


 Well, I’m not sure if it works the same way on Windows but I suppose it’s
 the same.


 Perhaps, your version will deactivate  the default version automatically,
 or  need I to deactivate it manually, before to install your ?


 I guess so.

 Thank you for testing the new implementation.
 I'm looking forward to hear about the multithreading behaviour on Windows
 :)


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

Re: [Qgis-developer] Processing framework - background processing

2015-08-27 Thread Geo DrinX
Ok.

Thank you all.  I have done  :)

Sorry, but I am slow on the uptake   :)

Now, I am following this:

https://www.youtube.com/watch?v=V-CJCnKw89U

Do you suggest me other  multithread  functions active to test ?

Thank you again

Roberto



2015-08-27 15:40 GMT+02:00 Alexander Bruy alexander.b...@gmail.com:

 Hi Roberto,

 again, there is no need to recompile.

 All you need is to grab Processing code from the repository mentioned
 by Marcus [0]. Not all code, only Processing. Look at the python/plugins
 directory. Then put this code into your QGIS plugins directory. Usually
 this
 is ~/.qgis2/python/plugins. That's all.

 After this you can start QGIS as usual and test.

 [0] https://github.com/mvcsantos/QGIS

 2015-08-27 16:36 GMT+03:00 Geo DrinX geodr...@gmail.com:
  Marcus,
 
  the ZIP you indicated is a complete QGIS source .
 
  Where  is yourProcessing   installable on Windows ?   Do I need to
  recompile something ?
 
  I'm afraid I do not understand what I need to do.Could you please
  explain me the singular steps ?
 
 
  Thank you
 
  Roberto
 
  2015-08-27 14:12 GMT+02:00 Marcus Santos m...@me.com:
 
 
  On 27 Aug 2015, at 11:48, Geo DrinX geodr...@gmail.com wrote:
 
  2015-08-27 12:36 GMT+02:00 Marcus Santos m...@me.com:
 
  Oh sorry, this is the link:
 
  https://github.com/mvcsantos/QGIS
 
  Look for the master branch, you'll find the code there.
 
 
 
  OK.  I will unpack the ZIP under my:
 
  c:\Users\rrr\.qgis2\python\plugins\
 
  correct ?
 
 
  Exactly, you just need to put the processing plugin under the plugins
  directory.
 
  But, it do not conflict with the default installed
 
  c:\PROGRA~1\QGISPI~1\apps\qgis\.\python\plugins\processing
  Versione disponibile: 2.10.1 (in Repository plugin ufficiale QGIS)
 
  ?
 
 
  Well, I’m not sure if it works the same way on Windows but I suppose
 it’s
  the same.
 
 
  Perhaps, your version will deactivate  the default version
 automatically,
  or  need I to deactivate it manually, before to install your ?
 
 
  I guess so.
 
  Thank you for testing the new implementation.
  I'm looking forward to hear about the multithreading behaviour on
 Windows
  :)
 
 



 --
 Alexander Bruy

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

Re: [Qgis-developer] Processing framework - background processing

2015-08-27 Thread Marcus Santos

You’re welcome :)

You can test the “processing.runalg” method from the python console.
SAGA and GDAL/OGR algorithms are supposed be working also, can you try it out? 

Thank you,
Marcus


 On 27 Aug 2015, at 15:01, Geo DrinX geodr...@gmail.com wrote:
 
 Ok. 
 
 Thank you all.  I have done  :)
 
 Sorry, but I am slow on the uptake   :)
 
 Now, I am following this:
 
 https://www.youtube.com/watch?v=V-CJCnKw89U 
 https://www.youtube.com/watch?v=V-CJCnKw89U
 
 Do you suggest me other  multithread  functions active to test ?
 
 Thank you again
 
 Roberto
 
 
 
 2015-08-27 15:40 GMT+02:00 Alexander Bruy alexander.b...@gmail.com 
 mailto:alexander.b...@gmail.com:
 Hi Roberto,
 
 again, there is no need to recompile.
 
 All you need is to grab Processing code from the repository mentioned
 by Marcus [0]. Not all code, only Processing. Look at the python/plugins
 directory. Then put this code into your QGIS plugins directory. Usually this
 is ~/.qgis2/python/plugins. That's all.
 
 After this you can start QGIS as usual and test.
 
 [0] https://github.com/mvcsantos/QGIS https://github.com/mvcsantos/QGIS
 
 2015-08-27 16:36 GMT+03:00 Geo DrinX geodr...@gmail.com 
 mailto:geodr...@gmail.com:
  Marcus,
 
  the ZIP you indicated is a complete QGIS source .
 
  Where  is yourProcessing   installable on Windows ?   Do I need to
  recompile something ?
 
  I'm afraid I do not understand what I need to do.Could you please
  explain me the singular steps ?
 
 
  Thank you
 
  Roberto
 
  2015-08-27 14:12 GMT+02:00 Marcus Santos m...@me.com mailto:m...@me.com:
 
 
  On 27 Aug 2015, at 11:48, Geo DrinX geodr...@gmail.com 
  mailto:geodr...@gmail.com wrote:
 
  2015-08-27 12:36 GMT+02:00 Marcus Santos m...@me.com 
  mailto:m...@me.com:
 
  Oh sorry, this is the link:
 
  https://github.com/mvcsantos/QGIS https://github.com/mvcsantos/QGIS
 
  Look for the master branch, you'll find the code there.
 
 
 
  OK.  I will unpack the ZIP under my:
 
  c:\Users\rrr\.qgis2\python\plugins\
 
  correct ?
 
 
  Exactly, you just need to put the processing plugin under the plugins
  directory.
 
  But, it do not conflict with the default installed
 
  c:\PROGRA~1\QGISPI~1\apps\qgis\.\python\plugins\processing
  Versione disponibile: 2.10.1 (in Repository plugin ufficiale QGIS)
 
  ?
 
 
  Well, I’m not sure if it works the same way on Windows but I suppose it’s
  the same.
 
 
  Perhaps, your version will deactivate  the default version automatically,
  or  need I to deactivate it manually, before to install your ?
 
 
  I guess so.
 
  Thank you for testing the new implementation.
  I'm looking forward to hear about the multithreading behaviour on Windows
  :)
 
 
 
 
 
 --
 Alexander Bruy
 

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

Re: [Qgis-developer] Processing framework - background processing

2015-08-27 Thread Geo DrinX

 no you don't need to recompile whole QGIS, just grab Processing code.


I have QGIS 2.10.1 installed.   I have no any developer version.   Can I
install  Processing code  grabbing  in what way ?
What I have to do,  exactly ?Can you send me the link ?   I need to
recompile only  Processing code ?


Thank you and sorry if I am a little  dummy  :)

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

Re: [Qgis-developer] Processing framework - background processing

2015-08-27 Thread Marcus Santos
Hi Roberto,

You just have to put the processing code into your QGIS directory. Should be 
something like this:

 ~/.qgis/python/plugins/processing 

After that you can run the QGIS as you normally do, without having to compile 
anything.

Be aware that the multithreading is not working with all algorithms.

Cheers,
Marcus 

No dia 27/08/2015, às 11:01, Geo DrinX geodr...@gmail.com escreveu:

 
 
 no you don't need to recompile whole QGIS, just grab Processing code.
 
 I have QGIS 2.10.1 installed.   I have no any developer version.   Can I 
 install  Processing code  grabbing  in what way ?
 What I have to do,  exactly ?Can you send me the link ?   I need to 
 recompile only  Processing code ?
 
 
 Thank you and sorry if I am a little  dummy  :)
 
 Roberto
 ___
 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 framework - background processing

2015-08-27 Thread Geo DrinX
Hi Marcus,



 You just have to put the processing code into your QGIS directory.



Yes.   But, what is the link of  your modified processing code ?   :)


Thank you

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

Re: [Qgis-developer] Processing framework - background processing

2015-08-27 Thread Marcus Santos
Oh sorry, this is the link: 

https://github.com/mvcsantos/QGIS

Look for the master branch, you'll find the code there.

Marcus 

No dia 27/08/2015, às 11:26, Geo DrinX geodr...@gmail.com escreveu:

 Hi Marcus,
 
  
 
 You just have to put the processing code into your QGIS directory.
 
 
 Yes.   But, what is the link of  your modified processing code ?   :)
 
 
 Thank you
 
 Roberto
 
 
 
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Processing framework - background processing

2015-08-27 Thread Geo DrinX
Hi Luigi,

what are steps to test it ?   May I recompile all QGIS ?


Thank you for any info about this

Roberto

2015-08-26 16:17 GMT+02:00 Luigi Pirelli lui...@gmail.com:

 Thanks to Marcus Santos work for GSoC

 https://qgisgsoc2015.wordpress.com/

 you can help testing it before integration in master

 regards
 Luigi Pirelli


 **
 * LinkedIn: https://www.linkedin.com/in/luigipirelli
 * Elance: https://www.elance.com/s/edit/luigipirelli/
 * GitHub: https://github.com/luipir
 * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
 * Mastering QGIS:
 https://www.packtpub.com/application-development/mastering-qgis

 **


 On 26 August 2015 at 14:49, Crispin Cooper coope...@cardiff.ac.uk wrote:
  Hi to all
 
 
 
  I am currently exploring options for developing a plugin for which
  background processing (i.e. not blocking the QGIS UI) would be nice,
 though
  not essential.  In all other respects it looks like the QGIS Processing
  framework is the best option for the interface I want, not least because
 of
  logging history etc.
 
 
 
  Is background processing for the Processing framework (i.e. mirroring
 what
  Arc does) something that’s on the roadmap for QGIS in the foreseeable
  future?
 
 
 
  Thanks  best regards
 
 
 
  Crispin
 
 
  ___
  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 mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Processing framework - background processing

2015-08-27 Thread Alexander Bruy
Hi Roberto,

no you don't need to recompile whole QGIS, just grab Processing code.
Also note that right now not all algorithms support multithreaded execution.

2015-08-27 11:46 GMT+03:00 Geo DrinX geodr...@gmail.com:
 Hi Luigi,

 what are steps to test it ?   May I recompile all QGIS ?


 Thank you for any info about this

 Roberto

 2015-08-26 16:17 GMT+02:00 Luigi Pirelli lui...@gmail.com:

 Thanks to Marcus Santos work for GSoC

 https://qgisgsoc2015.wordpress.com/

 you can help testing it before integration in master

 regards
 Luigi Pirelli


 **
 * LinkedIn: https://www.linkedin.com/in/luigipirelli
 * Elance: https://www.elance.com/s/edit/luigipirelli/
 * GitHub: https://github.com/luipir
 * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
 * Mastering QGIS:
 https://www.packtpub.com/application-development/mastering-qgis

 **


 On 26 August 2015 at 14:49, Crispin Cooper coope...@cardiff.ac.uk wrote:
  Hi to all
 
 
 
  I am currently exploring options for developing a plugin for which
  background processing (i.e. not blocking the QGIS UI) would be nice,
  though
  not essential.  In all other respects it looks like the QGIS Processing
  framework is the best option for the interface I want, not least because
  of
  logging history etc.
 
 
 
  Is background processing for the Processing framework (i.e. mirroring
  what
  Arc does) something that’s on the roadmap for QGIS in the foreseeable
  future?
 
 
 
  Thanks  best regards
 
 
 
  Crispin
 
 
  ___
  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 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 framework - background processing

2015-08-27 Thread Marcus Santos

 On 27 Aug 2015, at 11:48, Geo DrinX geodr...@gmail.com wrote:
 
 2015-08-27 12:36 GMT+02:00 Marcus Santos m...@me.com mailto:m...@me.com:
 Oh sorry, this is the link: 
 
 https://github.com/mvcsantos/QGIS https://github.com/mvcsantos/QGIS
 
 Look for the master branch, you'll find the code there.
 
 
 
 OK.  I will unpack the ZIP under my:
 
 c:\Users\rrr\.qgis2\python\plugins\ 
 
 correct ?   

Exactly, you just need to put the processing plugin under the plugins directory.

 But, it do not conflict with the default installed 
 
 c:\PROGRA~1\QGISPI~1\apps\qgis\.\python\plugins\processing  
 Versione disponibile: 2.10.1 (in Repository plugin ufficiale QGIS)
 
 ?

Well, I’m not sure if it works the same way on Windows but I suppose it’s the 
same. 


 Perhaps, your version will deactivate  the default version automatically,  or 
  need I to deactivate it manually, before to install your ?

I guess so.

Thank you for testing the new implementation. 
I'm looking forward to hear about the multithreading behaviour on Windows :)

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

Re: [Qgis-developer] Processing framework - background processing

2015-08-26 Thread Luigi Pirelli
Thanks to Marcus Santos work for GSoC

https://qgisgsoc2015.wordpress.com/

you can help testing it before integration in master

regards
Luigi Pirelli

**
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Elance: https://www.elance.com/s/edit/luigipirelli/
* GitHub: https://github.com/luipir
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* Mastering QGIS:
https://www.packtpub.com/application-development/mastering-qgis
**


On 26 August 2015 at 14:49, Crispin Cooper coope...@cardiff.ac.uk wrote:
 Hi to all



 I am currently exploring options for developing a plugin for which
 background processing (i.e. not blocking the QGIS UI) would be nice, though
 not essential.  In all other respects it looks like the QGIS Processing
 framework is the best option for the interface I want, not least because of
 logging history etc.



 Is background processing for the Processing framework (i.e. mirroring what
 Arc does) something that’s on the roadmap for QGIS in the foreseeable
 future?



 Thanks  best regards



 Crispin


 ___
 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