Re: [Qgis-developer] Statist plugin broken?

2012-05-16 Thread Paolo Cavallini
Il 15/05/2012 17:33, Alexander Bruy ha scritto:
 Hi Paolo,
 
 just tested under Linux and Windows and seems
 all fine.

now also here, sorry for the noise.

-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Plugins: wrong update

2012-05-16 Thread Tom Colley

 On Tue, 15 May 2012 10:49:50 +0200 Paolo Cavallini wrote:

  AutoPlot and 1-band plugins have a broken upgrade. This should be
 solved,  as it is
  annoying for users, and confusing for newbies.

 Hi

 I am the author of AutoPlot, is it something I have done wrong? I notice
 in the version it says 0.1 - entries: The version number should be 0.2.

 Also, I have previously uploaded the plugin to the user contributed repo
 and have not been able to delete it from there.

 Thanks

 Tom


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Plugins: wrong update

2012-05-16 Thread benoit-3
  

Hi, 

On 16.05.2012 14:55, Tom Colley wrote: 

 On Tue, 15 May
2012 10:49:50 +0200 Paolo Cavallini wrote:
 
 AutoPlot and 1-band
plugins have a broken upgrade. This should be
 solved,  as it is

annoying for users, and confusing for newbies.
 
 Hi
 
 I am the
author of AutoPlot, is it something I have done wrong? I notice in the
version it says 0.1 - entries: The version number should be 0.2.
 

Also, I have previously uploaded the plugin to the user contributed repo
and have not been able to delete it from there. 
 
 Thanks
 

Tom

Same problem here. I cannot delete the plugin 1-band... from the
contributed repo. 

May I suggest that one of the people having admin
access rights to this repo delete the 1-band... plugin from the repo,
if at all possible and easy to do? 

Cheers,
Benoit 

  ___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Plugins: wrong update

2012-05-16 Thread Nathan Woodrow
Tom,

Are you talking about the entry here: http://plugins.qgis.org/plugins/AutoPlot/

I can delete it so you can upload a new version if you like.

- Nathan

On Wed, May 16, 2012 at 9:55 PM, Tom Colley tomcol...@gmail.com wrote:
 On Tue, 15 May 2012 10:49:50 +0200 Paolo Cavallini wrote:

  AutoPlot and 1-band plugins have a broken upgrade. This should be
 solved,  as it is
  annoying for users, and confusing for newbies.

 Hi

 I am the author of AutoPlot, is it something I have done wrong? I notice
 in the version it says 0.1 - entries: The version number should be 0.2.

 Also, I have previously uploaded the plugin to the user contributed repo
 and have not been able to delete it from there.

 Thanks

 Tom



 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Couldn't load PyQGIS after downgrading PyQt4

2012-05-16 Thread Germán Carrillo
Hi devs,

does anyone know why I'm getting a Couldn't load PyQGIS error when
starting QGIS? I'm working with QGIS 1.8.0-Lisboa, a1255fc, Python 2.7.2.

I've just downgraded PyQt4 from 4.8.5 to 4.8.3 on Ubuntu Oneiric. I had to
remove qgis-python before downgrading but I already installed it again. The
error message is:

---

Traceback (most recent call last):
  File , line 1, in
RuntimeError: the PyQt4.QtCore module is version -1 but the qgis.core
module requires version 1
---

The strange thing is that I'm able to load PyQt4.QtCore from a Python
terminal.


Regards,

Germán

-- 
---
   |\__
(:__)(
   |/

Soluciones Geoinformáticas Libres
http://geotux.tuxfamily.org/
http://twitter.com/GeoTux2
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Tables without geometry force QGIS to incorrectly Zoom Full

2012-05-16 Thread Zirneklitis

Yes,

The same problem with:

QGIS 1.8.0-Lisboa, a1255fc
Fedora 14 x64

Best regards,
Karlis



James Stott wrote:

Can anyone else confirm this?

If I have a table with no geometry in my QGIS project, when I push the
Zoom Full button it zooms out further than the extent of the layers with
geometry.

..

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Plugins: wrong update

2012-05-16 Thread benoit-3

Hi nathan,

On 16.05.2012 15:40, Nathan Woodrow wrote:

Tom,

Are you talking about the entry here:
http://plugins.qgis.org/plugins/AutoPlot/


No, I think we are talking of:
http://pyqgis.org/repo/contributed/

Regards,
Benoit


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] 'reload' a layer

2012-05-16 Thread Carson Farmer
Hi list, does anyone know of a clever way to (programmatically) reload
a layer without actually removing it and re-adding it to the layer
list. Some context: I have a layer that sometimes gets updated by an
external application, and I want to be able to 'refresh' the layer
from the Python console to reflect these changes (new features,
deleted features, new attributes, etc.). I *could* simply load the
layer again, but I'm hoping there is a more efficient way to do this
(also I want to keep the current styling, layer order, unique layer
id, etc).

Any thoughts/ideas? Note: assume we are working with a spatialite layer for now.

Carson

-- 
Dr. Carson J. Q. Farmer
Centre for GeoInformatics (CGI)
School of Geography and Geosciences
Irvine Building, University of St Andrews
St Andrews, Fife, KY16 9AL
Scotland, UK
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] 'reload' a layer

2012-05-16 Thread G. Allegri
Do you mean refresh the rendering or synchronizing the layer with the data
source?
I usually use QgsMapLayer::reload() for the latter, and
QgsMapCanvas::refresh() for the first.

giovanni

2012/5/16 Carson Farmer carson.far...@gmail.com

 Hi list, does anyone know of a clever way to (programmatically) reload
 a layer without actually removing it and re-adding it to the layer
 list. Some context: I have a layer that sometimes gets updated by an
 external application, and I want to be able to 'refresh' the layer
 from the Python console to reflect these changes (new features,
 deleted features, new attributes, etc.). I *could* simply load the
 layer again, but I'm hoping there is a more efficient way to do this
 (also I want to keep the current styling, layer order, unique layer
 id, etc).

 Any thoughts/ideas? Note: assume we are working with a spatialite layer
 for now.

 Carson

 --
 Dr. Carson J. Q. Farmer
 Centre for GeoInformatics (CGI)
 School of Geography and Geosciences
 Irvine Building, University of St Andrews
 St Andrews, Fife, KY16 9AL
 Scotland, UK
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Fwd: Threads in sextante

2012-05-16 Thread Camilo Polymeris
On Sun, May 13, 2012 at 5:13 PM, Victor Olaya vola...@gmail.com wrote:
 Here is my opinion on all that, in short:

 -The main idea of using threads is not now to execute multiplep
 algorithms at the same time, so we can remove a lot of complexity
 (like 2 processes writing the same file, as it was mentioned)

 -Implementing a canceling mechanism is going to be the greatest
 improvement once we have the threading stuff

 -So, for me, this is what should be done:

  1)implementing the threading part
  2) implement the cancelling mechanism (a responsive cancel button, etc)
  3) modifying algorithm to respond to cancellin events.


That sums it up, I think. One main QThread for the GUI stuff + one for
the analysis, controlling the later by mean of signals.
Aditionally using QProcess (or not) is something that can be decided
on a backend-by-backend basis -- potentially some of the backends will
use direct APIs or remote connections, not commandline programs.

Thanks for all the feedback.

Regards,
Camilo
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] QgsVector Python binding

2012-05-16 Thread Giuseppe Sucameli
Hi,

On Wed, May 16, 2012 at 5:05 PM, John Donovan mersey.vik...@gmail.com wrote:
 Is it me, or are the bindings for QgsVector missing?

probably it is QgsVectorLayer what you're searching for.
Regards.

 -John

 --
 One of the advantages of being disorderly is that one is constantly
 making exciting discoveries. - AA Milne
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer



-- 
Giuseppe Sucameli
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] QgsVector Python binding

2012-05-16 Thread G. Allegri
I fear it's not available through the Python bindings.

giovanni

2012/5/16 John Donovan mersey.vik...@gmail.com

 On 16 May 2012 18:12, Giuseppe Sucameli brush.ty...@gmail.com wrote:
  Hi,
 
  probably it is QgsVectorLayer what you're searching for.

 No, just the utility class QgsVector as defined in qgspoint.h

 I have need of it in my plugin, and I didn't want to reinvent it.

 -John
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer