[Qgis-developer] Error Offline Editing

2015-06-22 Thread valenty gonzalez
Hi, I have been using the offline editing plugin and i have detected a problem. Using PostGIS like data source, the plugin creates sqlite database. But the problem is, that the relationship between feature on postgis and sqlite its alterate. In the table logs_fid the field values 'remote_fid'

Re: [Qgis-developer] Building plugin for Print Composer

2015-06-22 Thread G. Allegri
The suggestion from John is exactly what we did too. And we also built a chart composer... It would be great to have the means to know what other teams are working to. It would save a lor of time and money and, probably, get better software from a shared effort ;) giovanni Il 22/giu/2015 19:31,

[Qgis-developer] Slow insert to GRASS SQLite db from QGIS

2015-06-22 Thread Radim Blazek
Vector import to GRASS in QGIS browser is very slow when using SQLite database, about 6s/1000 features. It takes less than 1s with dbf driver or if v.in.ogr + sqlite is used (even if run from GRASS tools). The chain is: qgis.exe - thread - qgis.v.in.exe - sqlite.exe Could it be some SQLite db

Re: [Qgis-developer] Using TravisCI integration in Github for QGIS Python plugin

2015-06-22 Thread Akbar Gumbira
By default in QGIS plugin builder you meant is here https://github.com/g-sherman/Qgis-Plugin-Builder/blob/master/run-env-linux.sh#L6 ?. If so, that is not the default if you install QGIS like this in Travis https://github.com/AIFDR/inasafe/blob/develop/.travis.yml#L17. You can just pass /usr as

Re: [Qgis-developer] Report 4 - Multithread Support on QGIS Toolbox

2015-06-22 Thread Matthias Kuhn
Hi Marcus, Good to see that you are making progress, it's nice to see the completed this week list being so long :) I think it would be good to include this blog on planet.qgis.org, I guess there is an RSS feed that can be added to the aggregator? Anyway, keep up the good work! All the best,

Re: [Qgis-developer] Building plugin for Print Composer

2015-06-22 Thread G. Allegri
You can act on it but you can't custom gui widgets to the Composer interface. I cannot check the code right know. I listen to a specific (existing) composition opening but if I remember correctly you can watch the Composer opening too. Il 22/giu/2015 17:19, Jakob Lanstorp jlanst...@gmail.com ha

Re: [Qgis-developer] QGIS plugins site is down

2015-06-22 Thread Richard Duivenvoorde
On 22-06-15 12:47, DelazJ wrote: Hi, I'm just forwarding the issue report I just see in QGIS hub (hub.qgis.org/issues/13023 http://hub.qgis.org/issues/13023), thinking that it's worth being reported here ( who?) and quickly fixed instead of among various issues. Regards, DelazJ Thanks

[Qgis-developer] QGIS plugins site is down

2015-06-22 Thread DelazJ
Hi, I'm just forwarding the issue report I just see in QGIS hub ( hub.qgis.org/issues/13023), thinking that it's worth being reported here ( who?) and quickly fixed instead of among various issues. Regards, DelazJ ___ Qgis-developer mailing list

Re: [Qgis-developer] Q/A Compiler Warnings

2015-06-22 Thread Nyall Dawson
On 16 June 2015 at 21:54, Matthias Kuhn matth...@opengis.ch wrote: In the quest for an always closer-to-perfection state of code, some goblins tried to get the warning count (on gcc and clang) yesterday as close to zero as possible. This was done in order to allow you (as a developer) to see

Re: [Qgis-developer] Report 4 - Multithread Support on QGIS Toolbox

2015-06-22 Thread Richard Duivenvoorde
On 22-06-15 09:11, Matthias Kuhn wrote: I think it would be good to include this blog on planet.qgis.org, I guess there is an RSS feed that can be added to the aggregator? Mmm, done: http://qgis.org http://planet.qgis.org but as Marcus is such an active blogger, he is on all frontpages now

[Qgis-developer] Building plugin for Print Composer

2015-06-22 Thread Jakob Lanstorp
Is it possibly to build a Python plugin minded for the print composer alone? -Need to build a plugin with a new button inside print composer that lists all labels in the composer in a new dialog for editing. This would be a tool for easy handling of complex header and footers in the layout for

Re: [Qgis-developer] Report 4 - Multithread Support on QGIS Toolbox

2015-06-22 Thread Marcus Santos
Good to see that you are making progress, it's nice to see the completed this week list being so long :) Anyway, it is great to see that is progress and action!! Thank you Richard and Matthias =) but as Marcus is such an active blogger, he is on all frontpages now :-) Yes, I can see

Re: [Qgis-developer] Building plugin for Print Composer

2015-06-22 Thread G. Allegri
Hi Jacob. For the moment it isn't possible to extend the Composer with custom plugins. It's sonething that will be discussed for the next Report Engine (QGIS 3.0) I've built a Python plugin that uses the composer widgets (composition, items, etc.) within a custom interface but you can only use

[Qgis-developer] Using environment variables in path definitions in QGIS

2015-06-22 Thread Bo Victor Thomsen
To the QGIS developers list - I have a goal of making a fully portable Windows edition of QGIS. Fully portable means that I simply can install QGIS by copying the QGIS program directory to a location on the users PC and start QGIS by double clicking on the QGIS.bat file in the ..\bin

Re: [Qgis-developer] Processing: Raster calc errors (SAGA and

2015-06-22 Thread Victor Olaya
Looks like you do not have GDAL correctly installed in there. Both error traces complain about the same thing. 2015-06-19 16:39 GMT+02:00 Paolo Cavallini cavall...@faunalia.it: Il 19/06/2015 14:03, Paolo Cavallini ha scritto: Hi all, we are getting errors in raster calculators (both SAGA and

Re: [Qgis-developer] Change the query of a query layer (postgis)

2015-06-22 Thread Nyall Dawson
On 18 June 2015 at 00:06, Olivier Dalang olivier.dal...@gmail.com wrote: Actually it seems the layer.setDataSource() method works, sorry for the noise ! But then it resets the style of the layer to default (uniform random color), as if the layer was freshly added... No, you're right. It was

Re: [Qgis-developer] Building plugin for Print Composer

2015-06-22 Thread Jakob Lanstorp
Hi Giovanni, thanks for the update. Another solution would be to catch the event when a user starts an existing print composer. Cannot in doc for the pyqgis API find anything for this. Anyone who know is one can listens for a print composer to startup by the user and act on it. - Jakob

Re: [Qgis-developer] Qgis 91e44ea crash browsing GRASS 7 vector

2015-06-22 Thread Radim Blazek
I forgot to add that GRASS stable in OSGeo4W switched to grass-7.0.1RC1-1 while qgis-dev-2.9.0-104 is still compiled with grass-7.0.0-1 so when updating OSGeo4W select manually to keep grass-7.0.0-1. Radim On Mon, Jun 22, 2015 at 10:23 AM, Radim Blazek radim.bla...@gmail.com wrote: Hi Roy,

Re: [Qgis-developer] Qgis 91e44ea crash browsing GRASS 7 vector

2015-06-22 Thread Radim Blazek
Hi Roy, the bug is fixed in OSGeo4w qgis-dev-2.9.0-104. Apart from browsing and displaying GRASS data you should be able to import data to GRASS in the browser with drag and drop. There are still some issues with import which I am trying to sort out: - vector import with more features is slow due

Re: [Qgis-developer] Using environment variables in path definitions in QGIS

2015-06-22 Thread Blumentrath, Stefan
See also: http://hub.qgis.org/issues/12623 Maybe it is a bit tricky for a general solution, since variables are defined and named differently on the different OSes?... As a workaround you could probably put a string replacement procedure into your QGIS.bat? We used e.g. a #USERPROFILE# string,

Re: [Qgis-developer] Using TravisCI integration in Github for QGIS Python plugin

2015-06-22 Thread Tom Chadwin
I have. I was just trying to put together as minimal a test environment as possible. I didn't know which packages from the inasafe yaml I needed, and which I could do without. I presume it requires many more than qgis2web. Original message From: Etienne Trimaille [via

Re: [Qgis-developer] Using TravisCI integration in Github for QGIS Python plugin

2015-06-22 Thread Tom Chadwin
I've got a bit further with this, but have an embarrassingly basic question. I'm using Tim's Plugin Builder's run-env-linux.sh, but the default QGIS path doesn't seem to match where Travis installs QGIS to - is Travis running Ubuntu? Can anyone tell me what QGIS path I should pass to

Re: [Qgis-developer] Error Offline Editing

2015-06-22 Thread Matthias Kuhn
Hi Valenty, This sounds like a bug. It would be great if you could open an issue report at http://qgis.org/en/site/getinvolved/development/index.html#bugs-features-and-issue with as much details as possible and the steps to reproduce the problem. Cheers, Matthias On 06/22/2015 06:31 PM, valenty

Re: [Qgis-developer] Slow insert to GRASS SQLite db from QGIS

2015-06-22 Thread Radim Blazek
Solved. I forgot db_begin_transaction. Sorry for noise. Radim On Mon, Jun 22, 2015 at 9:18 PM, Radim Blazek radim.bla...@gmail.com wrote: Vector import to GRASS in QGIS browser is very slow when using SQLite database, about 6s/1000 features. It takes less than 1s with dbf driver or if

[Qgis-developer] Potentially serious performance regression in new geometry - should 2.10 be delayed?

2015-06-22 Thread Nyall Dawson
Hi all, Unfortunately, we've become aware of a serious performance regression caused by the new geometry engine. Basically, the situation is that for all geometry operations which rely on geos (think buffers, splits, spatial relation operations such as intersects and within,... ) the geometry now

[Qgis-developer] Hierarchy of new geometry classes

2015-06-22 Thread Martin Dobias
Hi Recently I have been looking a bit at the new geometry classes and there is one thing I do not understand: if QgsLineStringV2 is derived from QgsCurveV2 and QgsPolygonV2 is derived from QgsSurfaceV2, why is not the same approach used for multi-part geometries? Currently QgsMultiLineStringV2

Re: [Qgis-developer] Potentially serious performance regression in new geometry - should 2.10 be delayed?

2015-06-22 Thread Martin Dobias
Hi Agreed with Nyall. Apart from the above mentioned problems, there are newly introduced performance regressions with snapping: the cached geometries in 2.10 take double the amount of memory they used in 2.8, and snapping got much slower with more complex layers (compared to 2.8) - e.g. with

Re: [Qgis-developer] Potentially serious performance regression in new geometry - should 2.10 be delayed?

2015-06-22 Thread Nathan Woodrow
+1 to full postpone for me. I don't like the idea of shipping something that is slower and snapping is slow. Those are core features of a GIS. Nathan On Tue, 23 Jun 2015 3:22 pm Nyall Dawson nyall.daw...@gmail.com wrote: On 23 June 2015 at 13:42, Martin Dobias wonder...@gmail.com wrote: One

Re: [Qgis-developer] Potentially serious performance regression in new geometry - should 2.10 be delayed?

2015-06-22 Thread Mathieu Pellerin
Out of curiosity, how long of a delay do you estimate would be needed to fix things? 4 weeks, 8 weeks? On 23 Jun 2015 09:09, Nyall Dawson nyall.daw...@gmail.com wrote: Hi all, Unfortunately, we've become aware of a serious performance regression caused by the new geometry engine. Basically,

Re: [Qgis-developer] Building plugin for Print Composer

2015-06-22 Thread John Gitau
Hi Jakob, A workaround would be to have a plugin that creates a new composer view object: *custom_composer = self.iface.createNewComposer(My Composer)* Then get a reference to the main window in the composer view: *main_window = custom_composer.composerWindow()* Then you can either add a new

Re: [Qgis-developer] Using environment variables in path definitions in QGIS

2015-06-22 Thread Bo Victor Thomsen
Hi Stefan - Thanks for the answer. My Plan B was to manually create a QGIS2.ref, which is identical with the original qgis2.ini, but with every occurrence of the program path and the user profile path replaced with references to environment variable names. And then use the sed editor to

Re: [Qgis-developer] Q/A Compiler Warnings

2015-06-22 Thread Matthias Kuhn
On 06/22/2015 02:03 PM, Nyall Dawson wrote: On 16 June 2015 at 21:54, Matthias Kuhn matth...@opengis.ch wrote: In the quest for an always closer-to-perfection state of code, some goblins tried to get the warning count (on gcc and clang) yesterday as close to zero as possible. This was done