Re: [Qgis-developer] new_vector_api merged

2013-01-28 Thread Martin Dobias
Hi Borys On Sun, Jan 27, 2013 at 2:31 PM, Borys Jurgiel i...@borysjurgiel.pl wrote: Big thanks for all that job! Is there any short document for plugin authors, describing which methods should be replaced? The [1] doesn't contain any word about select(), nextFeature() nor featureAtId() yet.

Re: [Qgis-developer] new_vector_api merged

2013-01-28 Thread Martin Dobias
Matthias On Sun, Jan 27, 2013 at 3:39 PM, Matthias Kuhn matthias.k...@gmx.ch wrote: Hi Martin, Nice too see this changes merged. A minor question, regarding the discussion about the cache we had already. Would it be ok for you to rename QgsVectorLayerCache to e.g. QgsGeometryCache? I think

[Qgis-developer] Labeling: data-defined fields shifted after new vector API?

2013-01-28 Thread Andreas Neumann
Hi, In some of my projects data-defined values for labeling (like font-color, rotation fields) are now failing - the order of the column assignments are shifted by one column. Perhaps the new Vector API is the cause? My data comes from the Postgis data provider. I am testing in the version

Re: [Qgis-developer] Labeling: data-defined fields shifted after new vector API?

2013-01-28 Thread Matthias Kuhn
Note: This could be related to the following fix for a failed test: https://github.com/qgis/Quantum-GIS/pull/405 I issued a pull request, because the test didn't fail due to a problem in diagram itself. It might be good to implement a test for this specific issue as well. Would be easy to

Re: [Qgis-developer] Labeling: data-defined fields shifted after new vector API?

2013-01-28 Thread Martin Dobias
Hi Andreas On Mon, Jan 28, 2013 at 10:30 AM, Andreas Neumann a.neum...@carto.net wrote: Hi, In some of my projects data-defined values for labeling (like font-color, rotation fields) are now failing - the order of the column assignments are shifted by one column. Perhaps the new Vector API

Re: [Qgis-developer] Labeling: data-defined fields shifted after new vector API?

2013-01-28 Thread Jürgen E . Fischer
Hi Andreas, On Mon, 28. Jan 2013 at 10:30:28 +0100, Andreas Neumann wrote: In some of my projects data-defined values for labeling (like font-color, rotation fields) are now failing - the order of the column assignments are shifted by one column. Perhaps the new Vector API is the cause?

Re: [Qgis-developer] Labeling: data-defined fields shifted after new vector API?

2013-01-28 Thread Andreas Neumann
Hi all, Thank you Martin and Jürgen for your explanation. Sounds logical to me. As a longer time QGIS user I remember that I had the problem of shifted columns in the field widgets (this was fixed by Jürgen quite some time ago) and that I had troubles with the shifted columns in data-defined

Re: [Qgis-developer] Labeling: data-defined fields shifted after new vector API?

2013-01-28 Thread Régis Haubourg
martin Dobias wrote I have briefly looked into the code and it seems that new labeling stores data-defined attributes by index instead of name. If so, that's the source of the problem and it should be changed to read/write names Hi all, +1 for switching storage of data defined fields

[Qgis-developer] qgis 1.8.0-5

2013-01-28 Thread skampus
hi, i see in osgeo4w setup that a new version of qgis 1.8 is available. please, can you say me where i can find the differences between this version and previous one? thank you in advance -- View this message in context: http://osgeo-org.1560.n6.nabble.com/qgis-1-8-0-5-tp5030299.html Sent from

[Qgis-developer] MapToolIdentify moving to gui

2013-01-28 Thread Denis Rouzaud
Hi, As previously explained, I am moving the MapToolIdentify class to gui and creating a new MapToolIdentifyAction in app. I think the cpp part is done [1] but I have two questions regarding to python. Here is what I did: - added %Include qgsmaptoolidentify.sip in python/gui/gui.sip -

Re: [Qgis-developer] qgis 1.8.0-5

2013-01-28 Thread Paolo Cavallini
Il 28/01/2013 16:05, skampus ha scritto: hi, i see in osgeo4w setup that a new version of qgis 1.8 is available. please, can you say me where i can find the differences between this version and previous one? thank you in advance the spatialite version has been updated, aliging it to the one

Re: [Qgis-developer] qgis 1.8.0-5

2013-01-28 Thread skampus
thanks a lot, paolo! -- View this message in context: http://osgeo-org.1560.n6.nabble.com/qgis-1-8-0-5-tp5030299p5030323.html Sent from the Quantum GIS - Developer mailing list archive at Nabble.com. ___ Qgis-developer mailing list

[Qgis-developer] Problems with lizmapclient

2013-01-28 Thread Paolo Cavallini
Hi all. It seems that instructions on: http://hub.qgis.org/wiki/lizmapwebclient/Installation_en are a bit outdated, e.g. the zip does not seem available from the link shown. Once installed, I get a pink square over a part of the area: is this a known problem?Anything to be done? Thanks. --

Re: [Qgis-developer] Problems with lizmapclient

2013-01-28 Thread Paolo Cavallini
Il 28/01/2013 18:22, Paolo Cavallini ha scritto: Il 28/01/2013 17:13, Paolo Cavallini ha scritto: Hi all. It seems that instructions on: http://hub.qgis.org/wiki/lizmapwebclient/Installation_en are a bit outdated, e.g. the zip does not seem available from the link shown. Once installed, I

[Qgis-developer] split features takes a LONG time over network

2013-01-28 Thread William Kyngesburye
I'm trying to split a selected line feature in a postgis database on the network (not local machine). The database layer is almost 4GiB (10M records) and is spatially indexed. The feature is selected, it's not very large and I am zoomed to see about half of it. It took about a half hour to

Re: [Qgis-developer] split features takes a LONG time over network

2013-01-28 Thread William Kyngesburye
Arrgghh - now trying to delete one half of the split feature and it's downloading all over again from the postgis server. jeez, just to delete? I haven't even tried to save yet. On Jan 28, 2013, at 3:05 PM, William Kyngesburye wrote: I'm trying to split a selected line feature in a postgis

Re: [Qgis-developer] split features takes a LONG time over network

2013-01-28 Thread Vincent Picavet
Hi William, On Jan 28, 2013, at 3:05 PM, William Kyngesburye wrote: I'm trying to split a selected line feature in a postgis database on the network (not local machine). The database layer is almost 4GiB (10M records) and is spatially indexed. Do you have a primary key defined on your

Re: [Qgis-developer] split features takes a LONG time over network

2013-01-28 Thread G. Allegri
Do you have a primary key defined on your PostGIS table ? yes and I suppose you've created a spatial index too, right? giovanni Vincent The feature is selected, it's not very large and I am zoomed to see about half of it. It took about a half hour to split, and during that

[Qgis-developer] qgis master compile error

2013-01-28 Thread Ziegler Stefan
Hi I get an error while compiling master on Ubuntu 10.04: [ 42%] Building CXX object src/gui/CMakeFiles/qgis_gui.dir/qgsmanageconnectionsdialog.cpp.o sip: QgsFeatureRequest::filterFid() unsupported function return type - provide %MethodCode and a C++ signature make[2]: ***