[Qgis-developer] How to Use QgsSvgCache

2013-12-12 Thread SSchmidt
Hello, I have a SVG-File in my Ressource-file and want to use it as Symbol for a VectorLayer. Is there an ability to load it in the QgsSvgCache and access it from there? I've tried it directly but this didn't worked in c++: QString name=

[Qgis-developer] Vertices Counter Plugin Approval

2013-12-12 Thread Alex Theleritis
Hi all, We have uploaded a plugin about a month ago and it's not yet approved. Is something wrong with the plugin ? The link is here : Vertices Counter http://plugins.qgis.org/plugins/Vertices_Counter/ . Thanks in advance, Alex Theleritis -- View this message in context:

Re: [Qgis-developer] Single-file PyQGIS Cookbook

2013-12-12 Thread Lee Hachadoorian
On 12/12/2013 02:27 AM, Luca Manganelli wrote: On Wed, Dec 11, 2013 at 10:37 PM, Lee Hachadoorian lee.hachadooria...@gmail.com wrote: Is there a single-file version of the

Re: [Qgis-developer] Single-file PyQGIS Cookbook

2013-12-12 Thread Gino Pirelli
http://docs.qgis.org/2.0/pdf On 11 December 2013 22:37, Lee Hachadoorian lee.hachadooria...@gmail.comwrote: Is there a single-file version of the PyQGIS Developer Cookbook anywhere? Single-file HTML, EPUB, Kindle/MOBI, or PDF. Thanks, --Lee -- Lee Hachadoorian Asst Professor of

[Qgis-developer] Plugin [398] Vertices Counter approval notification.

2013-12-12 Thread noreply
Plugin Vertices Counter approval by NathanW. The plugin version [398] Vertices Counter 1.0 is now approved Link: http://plugins.qgis.org/plugins/Vertices_Counter/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org

[Qgis-developer] import qgis.core

2013-12-12 Thread Rafael Krucker
Hi all Im running qgis 2.0.1 on windows 7 64 bit and want to write a little python plugin for qgis. However, when trying to run it, i get the following error message: Traceback (most recent call last): File C:\Users\Ausleihe\workspace\testGame\testGame\testGame.py , line 24, in module

[Qgis-developer] Plugin [330] Contrast homogenizer approval notification.

2013-12-12 Thread noreply
Plugin Contrast homogenizer approval by NathanW. The plugin version [330] Contrast homogenizer 2.0 is now approved Link: http://plugins.qgis.org/plugins/ContrastHomogenizer/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org

[Qgis-developer] Plugin [390] HTP Geoprocessor approval notification.

2013-12-12 Thread noreply
Plugin HTP Geoprocessor approval by NathanW. The plugin version [390] HTP Geoprocessor 1.0 is now approved Link: http://plugins.qgis.org/plugins/htpgeoprocessor/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org

[Qgis-developer] Plugin [218] Generalizer approval notification.

2013-12-12 Thread noreply
Plugin Generalizer approval by NathanW. The plugin version [218] Generalizer 0.5 Experimental is now approved Link: http://plugins.qgis.org/plugins/generalizer/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org

[Qgis-developer] Plugin [20] Memory Layer Saver approval notification.

2013-12-12 Thread noreply
Plugin Memory Layer Saver approval by NathanW. The plugin version [20] Memory Layer Saver 3.0 is now approved Link: http://plugins.qgis.org/plugins/MemoryLayerSaver/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org

[Qgis-developer] Plugin [381] LatLonGrid approval notification.

2013-12-12 Thread noreply
Plugin LatLonGrid approval by NathanW. The plugin version [381] LatLonGrid 0.2 Experimental is now approved Link: http://plugins.qgis.org/plugins/latlongrid/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org

[Qgis-developer] Plugin [381] LatLonGrid approval notification.

2013-12-12 Thread noreply
Plugin LatLonGrid approval by NathanW. The plugin version [381] LatLonGrid 0.1 Experimental is now approved Link: http://plugins.qgis.org/plugins/latlongrid/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org

Re: [Qgis-developer] import qgis.core

2013-12-12 Thread Nathan Woodrow
You need to run your plugin inside QGIS, if you try and run it from the outside it's not going to work. - Nathan On Thu, Dec 12, 2013 at 8:13 PM, Rafael Krucker rkruc...@hsr.ch wrote: Hi all Im running qgis 2.0.1 on windows 7 64 bit and want to write a little python plugin for qgis.

[Qgis-developer] [FEATURE][QGIS-Server] Add Web Coverage Service support

2013-12-12 Thread rldhont
Hi all, I have created a pull-request to add Web Coverage Support in QGIS-Server. https://github.com/qgis/QGIS/pull/1025 Review and feedback are welcome. René-Luc D'Hont 3Liz ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org

[Qgis-developer] QGIS for Windows 64bit crashes when using addSttributes on any vector data provider

2013-12-12 Thread G. Allegri
/13861666/qgis-20131212-123926-2704-6552-d94c044.dmp The same code works fine on QGIS 32bit. OS: Windows 7 QGIS 2.0.1 (both from OSGeo4W and Standalone) Rev. d94c044 giovanni -- Giovanni Allegri http://about.me/giovanniallegri blog: http://blog.spaziogis.it GEO+ geomatica in Italia http://bit.ly

[Qgis-developer] fTools: stratified random selection broken?

2013-12-12 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all. Apparently the tool is borken on 2.0.1: anyone confirms? All the best. - -- Paolo Cavallini - www.faunalia.eu QGIS PostGIS courses: http://www.faunalia.eu/training.html -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.15 (GNU/Linux)

Re: [Qgis-developer] QGIS Multi-threaded Rendering

2013-12-12 Thread Jonathan Moules
Hi Martin, Just a minor thing, probably an accidental omission. Your list of data-providers that don't work doen't include the Oracle native one but I suspect probably should. From a non-dev's perspective it looks quite promising. :-) Cheers, Jonathan On 12 December 2013 12:14, Martin Dobias

Re: [Qgis-developer] Vincenty's Formulae

2013-12-12 Thread Jorge Tornero - Listas
Hi, Martin, thank you for your answer. Well, the problem is that QgsDistanceArea class provides a function to (that's what I think due to my limitations in C++) calculate the distance an bearing between two points (start-end points). This is what INVERSE Vicenty Formula does, and I think

Re: [Qgis-developer] QGIS Multi-threaded Rendering

2013-12-12 Thread Nathan Woodrow
Great work Martin. I have been using this branch as my normal QGIS for the last couple of days and it feels loads better. I think the idea of the new classes and splitting the responsibly of what each one does up more. Myself, or Tamas, will update the MS SQL driver just after Christmas so that

Re: [Qgis-developer] QGIS for Windows 64bit crashes when using addSttributes on any vector data provider

2013-12-12 Thread Luca Manganelli
On Thu, Dec 12, 2013 at 1:08 PM, G. Allegri gioha...@gmail.com wrote: During a course students with QGIS Doufur 64 bit (on Windows 7) reported crashes when using QgsVectorDataProvider::dataProvider().addAttributes() method. It happens whatever provider we use. For curiosity, can you post

Re: [Qgis-developer] QGIS for Windows 64bit crashes when using addSttributes on any vector data provider

2013-12-12 Thread G. Allegri
Hi Luca, the code is as simple as creating a memory vector layer, populating a list of QgsField and passing the list to addAttributes method of the provider. It was a simple example for the course. Generally I set the attributes one by one through the layer, inside an editing session This works

Re: [Qgis-developer] QGIS Multi-threaded Rendering

2013-12-12 Thread A Huarte
Great work Martin! I am working to speed up to vector rendering  https://github.com/qgis/QGIS/pull/980 (http://hub.qgis.org/issues/8725) using current master branch as base. I wonder if I should better develop my patch using your branch as base. Anyway, cheers!

Re: [Qgis-developer] QGIS Multi-threaded Rendering

2013-12-12 Thread Tim Sutton
Hi Martin On Thu, Dec 12, 2013 at 2:14 PM, Martin Dobias wonder...@gmail.com wrote: Hi everyone! [attention: long text ahead] In recent weeks I have been working on moving map rendering into background worker threads and all related infrastructure changes. There is still quite a lot of

Re: [Qgis-developer] Vincenty's Formulae

2013-12-12 Thread Barry Rowlingson
On Thu, Dec 12, 2013 at 12:44 PM, Jorge Tornero - Listas jtorlis...@gmail.com wrote: But I want to perform another calculation: Calculate the destination point P2 given an departure point P, a bearing B and a distance D. That's what direct Vincenty Formulae performs and it's what I'm looking

Re: [Qgis-developer] QGIS Multi-threaded Rendering

2013-12-12 Thread Martin Dobias
Hi Even thanks for your thoughts. On Thu, Dec 12, 2013 at 8:30 PM, Even Rouault even.roua...@mines-paris.org wrote: - rasters - currently we do not have API to cancel requests for raster blocks. This means that currently we need to wait until the raster block is fully read even when we cancel

Re: [Qgis-developer] QGIS Multi-threaded Rendering

2013-12-12 Thread Even Rouault
Selon Martin Dobias wonder...@gmail.com: Hi Even thanks for your thoughts. On Thu, Dec 12, 2013 at 8:30 PM, Even Rouault even.roua...@mines-paris.org wrote: - rasters - currently we do not have API to cancel requests for raster blocks. This means that currently we need to wait until the

Re: [Qgis-developer] QGIS Multi-threaded Rendering

2013-12-12 Thread G. Allegri
* predictive / off screen rendering of 3x3 canvas dimensions after the initial render so that any pan is near instantaneous (and would trigger a new off-screen render) * on zoom, resample first then over render the resampled image (like open layers and other web toolkits do so you see a

Re: [Qgis-developer] QGIS Multi-threaded Rendering

2013-12-12 Thread Martin Dobias
Hi Tim! That all sounds absolutely brilliant! Thanks for such a nice clear description of how it all fits together. I know you are only considering layer-by-layer rendering but does your design accommodate further future optimisations easily? I'm thinking of things like: * predictive / off

Re: [Qgis-developer] QGIS Multi-threaded Rendering

2013-12-12 Thread Bernhard Ströbl
of labels in QGIS server for tiling purposes (labels were cut) if you address this issue it would be nice to have this somehow customizable for QGIS server. Bernhard __ Information from ESET Mail Security, version of virus signature database 9165 (20131212) __ The message

Re: [Qgis-developer] QGIS Multi-threaded Rendering

2013-12-12 Thread Jonathan Moules
were cut) if you address this issue it would be nice to have this somehow customizable for QGIS server. Bernhard __ Information from ESET Mail Security, version of virus signature database 9165 (20131212) __ The message was checked by ESET Mail Security. http://www.eset.com

Re: [Qgis-developer] QGIS Multi-threaded Rendering

2013-12-12 Thread Saber Razmjooei
And here is a video showing the difference for rendering only: http://www.lutraconsulting.co.uk/casestudies/qgis-multi-threaded-rendering Regards, Saber -Original Message- From: Martin Dobias wonder...@gmail.com To: Tim Sutton li...@linfiniti.com Cc: qgis-dev

[Qgis-developer] Planet qgis blog aggregator

2013-12-12 Thread John C. Tull
I recall some discussion about planet.qgis.org no longer working a few months ago. Is this something that the community has given up on fixing? Regards, John ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org

Re: [Qgis-developer] Single-file PyQGIS Cookbook

2013-12-12 Thread Richard Duivenvoorde
On 11-12-13 22:37, Lee Hachadoorian wrote: Is there a single-file version of the PyQGIS Developer Cookbook anywhere? Single-file HTML, EPUB, Kindle/MOBI, or PDF. Hi Lee, as Gino points, we are actually building pdf's of all versions of the different documentation manuals, eg:

Re: [Qgis-developer] QGIS Multi-threaded Rendering

2013-12-12 Thread Nyall Dawson
On 12/12/2013 11:14 pm, Martin Dobias wonder...@gmail.com wrote: . - update to scale factors. I have always found the scale and raster scale factors from QgsRenderContext confusing and did not properly understand their real meaning because in various contexts (composer vs canvas) they had

Re: [Qgis-developer] Planet qgis blog aggregator

2013-12-12 Thread Richard Duivenvoorde
On 12-12-13 18:52, John C. Tull wrote: I recall some discussion about planet.qgis.org no longer working a few months ago. Is this something that the community has given up on fixing? Regards, John Hi John, there is work going on for putting it back. It broke on the old server, and we are

Re: [Qgis-developer] QGIS Multi-threaded Rendering

2013-12-12 Thread Marco Hugentobler
Hi Martin Wow, nice work! After first testing, it works very nice. I hope you can merge the branch quite soon. What is currently missing in order to make the merge? Regards, Marco On 12.12.2013 13:14, Martin Dobias wrote: Hi everyone! [attention: long text ahead] In recent weeks I have