Re: [Qgis-developer] wrapping changeAttributeValue between begin and end EditCommand

2015-03-16 Thread Andrew McClure
+1 for this I was unaware of the reason for the crashes on Undo I was seeing until this thread. Our approach in Telemetry Layer was to simply end the edit session and commit the changes programmatically denying the possibility of a user undo. A more elegant approach would be welcomed. On

Re: [Qgis-developer] Spinbox in offset curve tool - what's it for?

2015-03-16 Thread Martin Dobias
Hi Nyall On Tue, Mar 17, 2015 at 5:38 AM, Nyall Dawson nyall.daw...@gmail.com wrote: Hoping someone can point me in the right direction - when using the offset curve tool a little floating spin box shows the current offset. It's handy to have this displayed, but there doesn't seem to be any

Re: [Qgis-developer] wrapping changeAttributeValue between begin and end EditCommand

2015-03-16 Thread Luigi Pirelli
I used a different approach attaching to end Editing action to do a similar work. The logic is, start editing, do modification, stop editing is intercepted to save EditingBuffer and then roolback all modification. Then process editing buffer to create values basing on a rule and them I can

Re: [Qgis-developer] wrapping changeAttributeValue between begin and end EditCommand

2015-03-16 Thread Matthias Kuhn
On 03/16/2015 09:32 PM, Luigi Pirelli wrote: I used a different approach attaching to end Editing action to do a similar work. The logic is, start editing, do modification, stop editing is intercepted to save EditingBuffer and then roolback all modification. Then process editing buffer to

[Qgis-developer] Spinbox in offset curve tool - what's it for?

2015-03-16 Thread Nyall Dawson
Hoping someone can point me in the right direction - when using the offset curve tool a little floating spin box shows the current offset. It's handy to have this displayed, but there doesn't seem to be any way to interact with this spin box (eg, to enter a specific offset amount). Why is this a

Re: [Qgis-developer] Project Idea For GSoc

2015-03-16 Thread Paolo Cavallini
Hi Nancy, Il 15/03/2015 17:18, Alex Mandel ha scritto: We did see your 1st email message, I suspect the slow response is due to the weekend and many people not having an opinion on the topic. Looking around a little I would say the focus of the project should be to get existing pansharpen

[Qgis-developer] 3D support

2015-03-16 Thread Paolo Cavallini
Hi all. Is the vector 3D support documented somewhere? I'm interested in: * how to display the type of geometry 3D (pointZ etc.) * what is the support in PostGIS and SpatiaLite provider, and in their import/export towards shapefile. Is anybody working on this? Is this part of the geom overhaul by

[Qgis-developer] R: Re: wrapping changeAttributeValue between begin and end EditCommand

2015-03-16 Thread francescobocca...@libero.it
Hi Martin, Thanks for your reply. I try to create a workaround as you suggest me. Thanks Francesco Messaggio originale Da: wonder...@gmail.com Data: 16/03/2015 5.19 A: francescobocca...@libero.itfrancescobocca...@libero.it Cc: qgis-devqgis-developer@lists.osgeo.org Ogg: Re:

[Qgis-developer] R: Re: wrapping changeAttributeValue between begin and end EditCommand

2015-03-16 Thread francescobocca...@libero.it
Hi Martin, i try to implement a solution without QTimer patch. Can you tell me if it could be work properly: 1- layer.undoStack().indexChanged.connect(self.undoStackChanged) -- get the signal from undo stack 2- layer.featureAdded.connect(self.setFeatureId) --get signal of feature added 3- def