Re: [Qgis-developer] making QgsMapToolIdentify available to plugins

2013-01-22 Thread Nathan Woodrow
Hey Denis, Yeah it's a bit of a pain. I starting to move it a while ago and then lost motivation as the code was really coupled. The second option is the best if you can afford to fund it or spend time on it :) - Nathan On Tue, Jan 22, 2013 at 5:13 PM, Denis Rouzaud

[Qgis-developer] pyspatialite in the standalone

2013-01-22 Thread Paolo Cavallini
Hi all. AFAICT, the standalone installer has a different pyspatialite than the osgeo4w installer. This may cause problems, e.g. for plugins who cannot assume a fixed version of spatialite. Wouldn't it be better to release a 1.8.2 with the updated pyspatialite, so the two are aligned? Thanks. --

Re: [Qgis-developer] Fwd: Re: WG: Rectangles ovals digitizing plugin is broken in QGIS 1.9

2013-01-22 Thread Paolo Cavallini
Il 22/01/2013 04:04, vinayan ha scritto: Today I got a mail from one of our users mentioning that the plugin Rectangles ovals digitizing is broken. He first contacted the plugin author and it seems he is not currently supporting it. I made the changes so that the plugin works now. How can we

Re: [Qgis-developer] Error connecting QGIS 1.9.0 to Ortho Refresh WCS

2013-01-22 Thread Radim Blazek
On Sun, Jan 20, 2013 at 5:14 AM, Bob Bruce bob.br...@shaw.ca wrote: Radim, This dataset is a huge collection of imagery encompassing an area approximately 350 kilometres square. There are over 5000 images in the dataset, with each image having a .5m pixel size and a file size of

[Qgis-developer] QGIS, Python and Threads

2013-01-22 Thread Matthias Ludwig
Hello, I try to write a plugin in python. The plugin will be part of a complex plugin and will make a longer running numpy calculation. I want the GUI to be responsive during the calculation. As a basis I used Aaron Racicots(http://svn.reprojected.com/qgisplugins/trunk/threading_demo/)

[Qgis-developer] Redmine frequent errors

2013-01-22 Thread Paolo Cavallini
Hi all. I'm getting frequent errors from http://hub.qgis.org/login : Internal error An error occurred on the page you were trying to access. If you continue to experience problems please contact your redMine administrator for assistance. Back javascript:history.back() Anything we can do? Thanks.

Re: [Qgis-developer] Opening a Shape file with out any browsing

2013-01-22 Thread Ian Packham
Dear D Pardhu. You should be able to find your answer to these question(s) in the Python cookbook: http://qgis.org/pyqgis-cookbook/ In particular the Loading Vector Layers chapter (OGR library): http://qgis.org/pyqgis-cookbook/loadlayer.html and maybe the Reading and Storing Settings chapter

[Qgis-developer] problem in csw plugin

2013-01-22 Thread Paolo Cavallini
Hi all. The recently upgraded plugin fails to install with: 'module' object has no attribute 'classFactory' All the best. -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at www.faunalia.eu/pc Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario

[Qgis-developer] PostGIS topology plugin

2013-01-22 Thread Paolo Cavallini
Hi all. Sandro Santilli has just published a plugin who allows to show all the details of PostGIS topologies, and do some editing. A work in progress, but a major breaktrhough for those who use it. Thanks strk. -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at

Re: [Qgis-developer] PostGIS topology plugin

2013-01-22 Thread Sandro Santilli
Actually, the plugin showing all details is part of db_manager so already in core. The new thing is the editor plugin but is very very basic at the moment. Contributions are welcome. --strk; On Tue, Jan 22, 2013 at 06:43:43PM +0100, Paolo Cavallini wrote: Hi all. Sandro Santilli has just

Re: [Qgis-developer] Cast your vote: Default icon theme for QGIS 2.0

2013-01-22 Thread Larry Shaffer
Hi, I am bringing this discussion back up, because some of us think it's important to address before the upcoming 2.0 release. Here are my recommendations (in workflow order): 1) Create a new graphics repository at github.com, e.g. named 'qgis-graphics'. It is important that a single

Re: [Qgis-developer] QGIS, Python and Threads

2013-01-22 Thread Kelly Thomas
Hi Matthias, I had a similar problem a couple of weeks back. While I was unable to identify why my first attempt was failing I was able to produce a functioning implementation on the second attempt. I posted my problem (and later a working solution) over here. [1] Another gotcha to be aware of

Re: [Qgis-developer] QGIS, Python and Threads

2013-01-22 Thread Kelly Thomas
Another gotcha to be aware of is that any python errors that occur in the other thread will be displayed in the MessageLog, I find it useful to have this as a floating window during development. I think it's an indenting error.It looks like your code is indented with tabs, while the other code

[Qgis-developer] QgsRasterLayer::loadProviderLibrary: Failed to load

2013-01-22 Thread leena S
i am trying to load a simple tif file as a raster layer with my qtcreator, it was working fine with me before updating my ubuntu from 11.04 to 12.10 i keep getting QgsRasterLayer::loadProviderLibrary: Failed to load QgsRasterLayer * mypLayer = new QgsRasterLayer(src,base); if

[Qgis-developer] remove action using Python

2013-01-22 Thread Bernhard Ströbl
Dear all, in a plugin I add a Python action to a layer with this: myLayer.actions().addAction(1, myActionName, myPythonCode) upon unloading the plugin I would like to remove the action from the layer (because some of the code needed is in the plugin) but I did not find a method to do so. I