[Qgis-developer] QGIS stores, in the QGIS project, users logins and passwords from PostGis

2012-10-23 Thread J. Gaspar Mora Navarro
Hello, I can't find how avoid QGIS stores users logins and passwords from PostGis in the QGIS project. If I add the PostGis layer manualy from the QGIS menu, if I disable the store user name and store password options, works corretly, the user and password don't are stored. But if I add the

Re: [Qgis-developer] QGIS stores, in the QGIS project, users logins and passwords from PostGis

2012-10-23 Thread Alexander Bruy
AFAIK this is impossible. QGIS needs this information to load layer. 2012/10/23 J. Gaspar Mora Navarro gaspar.mora.nava...@gmail.com: Hello, I can't find how avoid QGIS stores users logins and passwords from PostGis in the QGIS project. -- Alexander Bruy

Re: [Qgis-developer] QGIS stores, in the QGIS project, users logins and passwords from PostGis

2012-10-23 Thread Andreas Neumann
Hi, I don't know how this works from Python, but you can manually load Postgis layers without storing the password in the project file (just uncheck the store user/password in PostgreSQL checkboxes). But the drawback is, that when you reopen the project it will ask you for the password.

Re: [Qgis-developer] QGIS stores, in the QGIS project, users logins and passwords from PostGis

2012-10-23 Thread Jürgen E . Fischer
Hi J. On Tue, 23. Oct 2012 at 08:00:55 +0200, J. Gaspar Mora Navarro wrote: I can't find how avoid QGIS stores users logins and passwords from PostGis in the QGIS project. If I use this code: uri = qgis.core.QgsDataSourceURI() uri.setConnection(host, port, database,

Re: [Qgis-developer] Merging of incompatible changes

2012-10-23 Thread haubourg
Hi All, a user point of view: Go ahead, but advertise us! Thoses changes sound good. + 1 for Larry's proposal of separating Qsettings versions, since we all spend some time running 1.8 AND master on the same machine and same user ... Régis -- View this message in context:

Re: [Qgis-developer] Merging of incompatible changes

2012-10-23 Thread Andreas Neumann
Hi, For me it is ok to go ahead and break the API. That was our goal for version 2.0. But perhaps we can especially mark the version before those big changes in github and create a parallel version in OSGeo4W that still works. I don't ask to work on two versions in parallel, just to keep a

[Qgis-developer] conflict between Qt QSqlDatabase and PyQGis QgsDataSourceURI with spatialite connexion on addFeatures

2012-10-23 Thread PIERRE Sylvain
Hi, Got more information about my problem (http://lists.osgeo.org/pipermail/qgis-user/2012-October/019815.html) . In my app I'm connecting twice to the same spatialite DB : one to get layers , uri = QgsDataSourceURI() uri.setDatabase( self.dirDBcanal )

Re: [Qgis-developer] Merging of incompatible changes

2012-10-23 Thread Sandro Santilli
On Mon, Oct 22, 2012 at 09:35:05PM +0200, Werner Macho wrote: Hi! Short answer from me +1 and go ahead .. As I remember we all knew that on the way to 2.0 there will be some API Changes - but as long as it improves QGIS at a Project I see no Problem for it .. The only thing you are

Re: [Qgis-developer] Merging of incompatible changes

2012-10-23 Thread Denis Rouzaud
Hi all, I second Andreas with the idea of a frozen master version which is very usable for end-users who need the last improvements. Greetings, Denis On 10/23/2012 09:23 AM, Andreas Neumann wrote: Hi, For me it is ok to go ahead and break the API. That was our goal for version 2.0.

Re: [Qgis-developer] Merging of incompatible changes

2012-10-23 Thread Radim Blazek
On Tue, Oct 23, 2012 at 9:12 AM, haubourg regis.haubo...@eau-adour-garonne.fr wrote: Hi All, a user point of view: Go ahead, but advertise us! Thoses changes sound good. + 1 for Larry's proposal of separating Qsettings versions, since we all spend some time running 1.8 AND master on the same

Re: [Qgis-developer] Merging of incompatible changes

2012-10-23 Thread Giuseppe Sucameli
Hi, On Mon, Oct 22, 2012 at 8:17 PM, Martin Dobias wonder...@gmail.com wrote: recently I have been brewing some backwards incompatible API changes that will 1) enable introduction of threading, 2) simplify API for developers. I would like to merge the changes soon to master branch in order

[Qgis-developer] QGIS store, in the QGIS project, users logins and passwords from PostGis

2012-10-23 Thread J. Gaspar Mora Navarro
Hello, I can't find how avoid QGIS store users logins and passwords from PostGis in the QGIS project. If I add the PostGis layer manualy from the QGIS menu, if I disable the store user name and store password options, works corretly, the user and password don't are stored. But if I add the layer

Re: [Qgis-developer] QGIS stores, in the QGIS project, users logins and passwords from PostGis

2012-10-23 Thread J. Gaspar Mora Navarro
El 23/10/2012 8:41, Jürgen E. Fischer escribió: Hi J. On Tue, 23. Oct 2012 at 08:00:55 +0200, J. Gaspar Mora Navarro wrote: I can't find how avoid QGIS stores users logins and passwords from PostGis in the QGIS project. If I use this code: uri = qgis.core.QgsDataSourceURI()

Re: [Qgis-developer] #6535 Support WFS Post GetFeature Request in QGIS-Server - Review

2012-10-23 Thread Marco Hugentobler
Hi René-Luc Nice! I'd like to look at the code soon (most likely tomorrow), then it can be merged. Regards, Marco On 22.10.2012 18:26, rldhont wrote: Hi all, I have created a branch on my github to implement the issue 6535 : https://github.com/rldhont/Quantum-GIS/tree/6535 I supplied a

Re: [Qgis-developer] QGIS stores, in the QGIS project, users logins and passwords from PostGis

2012-10-23 Thread Jürgen E . Fischer
Hi J., On Tue, 23. Oct 2012 at 12:59:42 +0200, J. Gaspar Mora Navarro wrote: Thanks you for your answer, No problem. BTW please don't hijack threads - just saw your other mail which had roughly the same topic, but was a reply to another unrelated thread. Jürgen -- Jürgen E. Fischer

Re: [Qgis-developer] Merging of incompatible changes

2012-10-23 Thread Paolo Cavallini
Il 23/10/2012 16:23, Andreas Neumann ha scritto: Hi, For me it is ok to go ahead and break the API. That was our goal for version 2.0. I generally agree, I'm just worried about missing too many plugins along the road, not being upgraded. To prevent this, IMHO we should: - centralize all

Re: [Qgis-developer] User profiles

2012-10-23 Thread Victor Olaya
The discussion of this evening brought a nice idea: since we have many different types of users, whi not having a first usage wizard that simply asks the user which profile (s)he prefers, and then starts QGIS with only the needed menus and buttons activated? Sounds like a good idea. Not too

Re: [Qgis-developer] Merging of incompatible changes

2012-10-23 Thread Marco Hugentobler
Hi Martin In your changes, are there also other api-breaking things besides the Python changes ( related to 1) enable introduction of threading )? Regards, Marco On 22.10.2012 21:17, Martin Dobias wrote: Hi all recently I have been brewing some backwards incompatible API changes that will

Re: [Qgis-developer] Merging of incompatible changes

2012-10-23 Thread Rafael Varela Pet
2012/10/23, Denis Rouzaud denis.rouz...@gmail.com: I second Andreas with the idea of a frozen master version which is very usable for end-users who need the last improvements. I second Andreas too. I'm currently finishing a project using 1.9-master because some bugfixes like the ones for bug

[Qgis-developer] PyQGIS on 1.9-master for Windows: TypeError: connect() failed between geometryChanged and unislot()

2012-10-23 Thread Rafael Varela Pet
Hi, A connect() that works OK on 1.9-master for Linux fails in Windows with this message: vLayer.geometryChanged.connect(self.onNodeGeometryChange) TypeError: connect() failed between geometryChanged(QgsFeatureId,QgsGeometry) and unislot() The code looks like this: ...

Re: [Qgis-developer] Merging of incompatible changes

2012-10-23 Thread Martin Dobias
On Tue, Oct 23, 2012 at 3:58 PM, Marco Hugentobler marco.hugentob...@sourcepole.ch wrote: Hi Martin In your changes, are there also other api-breaking things besides the Python changes ( related to 1) enable introduction of threading )? Hi Marco yes there are (will be) also other changes,

Re: [Qgis-developer] Merging of incompatible changes

2012-10-23 Thread Martin Dobias
On Tue, Oct 23, 2012 at 10:03 AM, Radim Blazek radim.bla...@gmail.com wrote: On Tue, Oct 23, 2012 at 9:12 AM, haubourg regis.haubo...@eau-adour-garonne.fr wrote: Hi All, a user point of view: Go ahead, but advertise us! Thoses changes sound good. + 1 for Larry's proposal of separating

Re: [Qgis-developer] Merging of incompatible changes

2012-10-23 Thread Martin Dobias
On Tue, Oct 23, 2012 at 9:28 AM, Sandro Santilli s...@keybit.net wrote: And once all those changes settled in (upcoming) 2.0 - from my point of view it would be time for a new release .. Probably we should introduce a max.Version to plugins too? ;) I think all changes should be made backward

Re: [Qgis-developer] User profiles

2012-10-23 Thread Martin Dobias
Hi Paolo On Tue, Oct 23, 2012 at 2:56 PM, Paolo Cavallini cavall...@faunalia.it wrote: Hi all. The discussion of this evening brought a nice idea: since we have many different types of users, whi not having a first usage wizard that simply asks the user which profile (s)he prefers, and then

Re: [Qgis-developer] Merging of incompatible changes

2012-10-23 Thread Pirmin Kalberer
Hi Martin, Am Montag, 22. Oktober 2012, 21.17:20 schrieb Martin Dobias: recently I have been brewing some backwards incompatible API changes that will 1) enable introduction of threading, 2) simplify API for developers. I would like to merge the changes soon to master branch in order not to

Re: [Qgis-developer] Merging of incompatible changes

2012-10-23 Thread Martin Dobias
Hi Pirmin On Tue, Oct 23, 2012 at 10:58 PM, Pirmin Kalberer pi...@sourcepole.com wrote: Hi Martin, Am Montag, 22. Oktober 2012, 21.17:20 schrieb Martin Dobias: recently I have been brewing some backwards incompatible API changes that will 1) enable introduction of threading, 2) simplify API

Re: [Qgis-developer] Merging of incompatible changes

2012-10-23 Thread Nathan Woodrow
On Wed, Oct 24, 2012 at 7:52 AM, Martin Dobias wonder...@gmail.com wrote: But who will maintain that branch? I do not have enough free time to keep a separate branch up-to-date with master for a long period (until 3.0) Also given that we do a release around every six month, or so, it will be a

Re: [Qgis-developer] Merging of incompatible changes

2012-10-23 Thread Paolo Cavallini
Il 24/10/2012 06:56, Nathan Woodrow ha scritto: Also given that we do a release around every six month, or so, it will be a long while before we ever see a 3.0. The API is already broken I think we should get it all done with now and move on. Once we release 2.0 we are locked to that API for a

Re: [Qgis-developer] User profiles

2012-10-23 Thread Paolo Cavallini
Il 24/10/2012 01:43, Martin Dobias ha scritto: I am just afraid that with such profiles the users may forget after a while they have chosen a first-time user profile that disables a lot of functionality and then users will ask/complain about missing features...? yes, that's why I wrote we

Re: [Qgis-developer] Merging of incompatible changes

2012-10-23 Thread Marco Bernasocchi
On 10/23/2012 11:35 PM, Martin Dobias wrote: On Tue, Oct 23, 2012 at 9:28 AM, Sandro Santilli s...@keybit.net wrote: And once all those changes settled in (upcoming) 2.0 - from my point of view it would be time for a new release .. Probably we should introduce a max.Version to plugins too? ;)

Re: [Qgis-developer] User profiles

2012-10-23 Thread pcreso
Gidday from down under... FWIW, when we commissioned Quantum Map (https://www.niwa.co.nz/software/quantum-map, one initial objective was to create a less intimidating GUI for first time users. We based this on potential user's feedback the GIS users pyramid (described with a very ESRI

[Qgis-developer] Joining tables without geometries, version 1.7.1 vs. 1.8.0.1

2012-10-23 Thread Yvo Weidmann
Dear list I try to relate the attached two lists (Measurement and Parameters) using their primary and foreign keys (attributes PK and FK_*). The definition of the columns are attached as well in the *.csvt files. Using the table properties - Joins I define the relation between the two tables.

Re: [Qgis-developer] User profiles

2012-10-23 Thread Alister Hood
Hi guys, Date: Tue, 23 Oct 2012 18:43:50 +0200 From: Martin Dobias wonder...@gmail.com To: Paolo Cavallini cavall...@faunalia.it Cc: qgis-developer qgis-developer@lists.osgeo.org Subject: Re: [Qgis-developer] User profiles Message-ID:

Re: [Qgis-developer] User profiles

2012-10-23 Thread Marco Bernasocchi
On 10/24/2012 09:53 AM, Alister Hood wrote: Hi guys, Date: Tue, 23 Oct 2012 18:43:50 +0200 From: Martin Dobias wonder...@gmail.com To: Paolo Cavallini cavall...@faunalia.it Cc: qgis-developer qgis-developer@lists.osgeo.org Subject: Re: [Qgis-developer] User profiles Message-ID:

[Qgis-developer] matplotlib in mac

2012-10-23 Thread Paolo Cavallini
Hi all. Sorry I may repeat old threads, which I didnìt follow well beacuse I do not use mac: whay is matplotlib not installed by thefault in the mac package? And what is the best way to instal it? Thanks a lot. -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at

[Qgis-developer] mmqgis plugin broken

2012-10-23 Thread Paolo Cavallini
Hi all. I can confirm on several machines (win deb, 1.8 and 1.9) that the plugin is broken: The plugin is broken. Python said: EOL while scanning string literal Could please the author have a look? Thanks. -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at

Re: [Qgis-developer] matplotlib in mac

2012-10-23 Thread Noli Sicad
On 10/24/12, Paolo Cavallini cavall...@faunalia.it wrote: Hi all. Sorry I may repeat old threads, which I didnìt follow well beacuse I do not use mac: whay is matplotlib not installed by thefault in the mac package? And what is the best way to instal it? Thanks a lot. Hi Paolo, I think