[Qgis-developer] [Qgis-user] problems running processing.runalg('qgis:voronoipolygons', ), processing.runalg('qgis:importintopostgis', ...)

2015-05-06 Thread Marco Lechner - FOSSGIS e.V.
Hi, 1. i try to run qgis' voronoipolygons algorithm from processing toolbox in a python script (processing-script or standalone) For testing I loaded a shape and a postgis layer to a QgsMapLayerRegistry. I can sucessfully run processing.runalg('qgis:voronoipolygons', , 0, outShpVec) but processin

Re: [Qgis-developer] Processing and ftools (Proposal for hackfest)

2015-05-06 Thread Alessandro Pasotti
2015-05-07 8:12 GMT+02:00 Paolo Cavallini : > Il 07/05/2015 07:43, Alexander Bruy ha scritto: > > Hi all, > > > > I interested in this too and will be available to help. > > Also maybe we should think about GDALTools? Seems > > all algorithms already available in Processing, so we can > > try to

Re: [Qgis-developer] Processing and ftools (Proposal for hackfest)

2015-05-06 Thread Paolo Cavallini
Il 07/05/2015 07:43, Alexander Bruy ha scritto: > Hi all, > > I interested in this too and will be available to help. > Also maybe we should think about GDALTools? Seems > all algorithms already available in Processing, so we can > try to find solution to replace GDALTools too. Right. What I mi

Re: [Qgis-developer] Processing and ftools (Proposal for hackfest)

2015-05-06 Thread Alexander Bruy
Hi all, I interested in this too and will be available to help. Also maybe we should think about GDALTools? Seems all algorithms already available in Processing, so we can try to find solution to replace GDALTools too. 2015-05-06 10:27 GMT+03:00 Victor Olaya : > Hi all, > > during the last hack

Re: [Qgis-developer] Processing and ftools (Proposal for hackfest)

2015-05-06 Thread Paolo Cavallini
Il 06/05/2015 14:44, Victor Olaya ha scritto: > what about this: having a tool in Processing that allows to select the > algorithms you use the most, and have them in menus and submenus > instead of the toolbox. > > Similar to the ArcGIS solution, but more flexible. The code will be > easier to ma

Re: [Qgis-developer] Problems building for QT5 [RESOLVED]

2015-05-06 Thread Alessandro Pasotti
2015-05-06 14:29 GMT+02:00 Matthias Kuhn : > > On 05/06/2015 10:54 AM, Alessandro Pasotti wrote: > > 2015-05-04 20:09 GMT+02:00 Matthias Kuhn > >: > > > > > > > > > > QScintilla was ok but I forgot to change the links for QWT. Now I > > > downloaded and bui

Re: [Qgis-developer] Problems building for QT5

2015-05-06 Thread Alessandro Pasotti
2015-05-06 15:57 GMT+02:00 Jürgen E. : > Hi Alessandro, > > On Wed, 06. May 2015 at 10:54:19 +0200, Alessandro Pasotti wrote: > > This runs fine from the build directory: > > LD_LIBRARY_PATH=output/lib/ output/bin/qgis > > > > It seems like the install process (make install) removes the runtime pa

Re: [Qgis-developer] Problems building for QT5

2015-05-06 Thread Jürgen E . Fischer
Hi Alessandro, On Wed, 06. May 2015 at 10:54:19 +0200, Alessandro Pasotti wrote: > This runs fine from the build directory: > LD_LIBRARY_PATH=output/lib/ output/bin/qgis > > It seems like the install process (make install) removes the runtime path > from the .so and this causes the problem: runni

Re: [Qgis-developer] Processing and ftools (Proposal for hackfest)

2015-05-06 Thread Victor Olaya
what about this: having a tool in Processing that allows to select the algorithms you use the most, and have them in menus and submenus instead of the toolbox. Similar to the ArcGIS solution, but more flexible. The code will be easier to mantain (only one codebase for algorithms), but the users wi

Re: [Qgis-developer] Processing and ftools (Proposal for hackfest)

2015-05-06 Thread Filipe Dias
Hi I think it would be nice to be able to access some tools from the Menu. Maybe allow users to select which tools or groups of tools can be opened from the Menu? A few years ago ArcGIS moved all geoprocessing tools to the Toolbox and a lot of users complained. They ended up creating a Menu calle

Re: [Qgis-developer] Problems building for QT5

2015-05-06 Thread Matthias Kuhn
On 05/06/2015 10:54 AM, Alessandro Pasotti wrote: > 2015-05-04 20:09 GMT+02:00 Matthias Kuhn >: > > > > > > QScintilla was ok but I forgot to change the links for QWT. Now I > > downloaded and built QWT using Qt5 version of qmake, then set the > > right

Re: [Qgis-developer] Processing and ftools (Proposal for hackfest)

2015-05-06 Thread Régis Haubourg
Hi, + 1 for centralizing alg's in one place. From a UI point of view, what about discussing some kind of shortcuts in menu, allowing to open directly processing algorithms? Users do love the graphic icon in ftools that help understanding what geometric operator will be triggered. Even more, an a

Re: [Qgis-developer] Processing and ftools (Proposal for hackfest)

2015-05-06 Thread Victor Olaya
Yes, we should have the same functionality as in ftools, not just the algorithms, but also the translations, etc. Everything so people do not miss the ftools plugin if it's eventually removed Thanks! 2015-05-06 11:22 GMT+02:00 Arnaud Morvan : > > I should be able to work on this at the hackfest.

[Qgis-developer] Strange modulus calculations in QGIS

2015-05-06 Thread Andreas Neumann
Hi, I am using modules calculations to distinguish major from minor contour lines. However, the modulus calculations have two issue: 1. the results have rounding issue: f.e. 467.9 % 0.2 results in 0.0513 - I know I could use a round function as a workaround - but it is annoying!

Re: [Qgis-developer] Processing and ftools (Proposal for hackfest)

2015-05-06 Thread Arnaud Morvan
I should be able to work on this at the hackfest. IMHO, removing ftools menu entries should be conditioned by the translation of groups and names of algorithms in the toolbox. I rememer that alex started working on this. Regards Arnaud Le 06/05/2015 09:27, Victor Olaya a écrit : Hi all, d

Re: [Qgis-developer] Problems building for QT5

2015-05-06 Thread Alessandro Pasotti
2015-05-04 20:09 GMT+02:00 Matthias Kuhn : > > > > > QScintilla was ok but I forgot to change the links for QWT. Now I > > downloaded and built QWT using Qt5 version of qmake, then set the > > right path but still no luck... I cannot figure out why it is still > > linking to libQtCore.so.4 > >

Re: [Qgis-developer] Processing and ftools (Proposal for hackfest)

2015-05-06 Thread Paolo Cavallini
Il 06/05/2015 09:27, Victor Olaya ha scritto: > If anyone has ideas, or anyone that will attend the HF wants to > collaborate on this, please let me know. Here I am, agreed it's an useful task. Thanks. -- Paolo Cavallini - www.faunalia.eu QGIS & PostGIS courses: http://www.faunalia.eu/training.

[Qgis-developer] Processing and ftools (Proposal for hackfest)

2015-05-06 Thread Victor Olaya
Hi all, during the last hackfest we discussed about fully integrating ftools into processing, so eventually we can have all those algorithms in Processing in the same way as they are now in the ftools plugin, and remove the latter to avoid redundancy. Not much was done, but I would like to work o