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 bee

[Qgis-developer] QT 5.2 is out

2013-12-12 Thread Luca Manganelli
Hi, as some of you have noticed, QT 5.2 is out. From release notes [1]: "I am proud to say that Qt 5.2 fully brings Qt into the mobile space as a true player in the app development market supporting Android, iOS, BlackBerry, Sailfish/Jolla and Ubuntu Mobile." Now it could be easier to port QGis

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

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

2013-12-12 Thread Nyall Dawson
On 12/12/2013 11:14 pm, "Martin Dobias" 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 different me

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: http://docs.qgi

[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 http://lists.osgeo.org/mailman/l

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 To: Tim Sutton Cc: qgis-dev Subject: Re: [Qgis-developer] QGIS Multi-threaded Rendering Date:

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

2013-12-12 Thread Jonathan Moules
gt;> are allowed to cross the border of tiles. >> >> > that reminds me that I needed some way to keep a stripe around the edge > free of labels in QGIS server for tiling purposes (labels were cut) > if you address this issue it would be nice to have this somehow > customi

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

2013-12-12 Thread Bernhard Ströbl
ee 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 messag

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

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 Even Rouault
Selon Martin Dobias : > Hi Even > > thanks for your thoughts. > > On Thu, Dec 12, 2013 at 8:30 PM, Even Rouault > 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 eve

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 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 the rendering job. GDA

Re: [Qgis-developer] Vincenty's Formulae

2013-12-12 Thread Barry Rowlingson
On Thu, Dec 12, 2013 at 12:44 PM, Jorge Tornero - Listas 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 > for :( The 'dest

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 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 work to do, bu

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

2013-12-12 Thread Even Rouault
Hi Martin, (CC'ing gdal-dev : original email is http://lists.osgeo.org/pipermail/qgis-developer/2013-December/029716.html) just commenting on the interesting raster topics. > Finally, some further thoughts/questions: > > - rasters - currently we do not have API to cancel requests for raster > bl

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 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 fi

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 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 the code of the

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] 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 thatt

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 wr

[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) Comment

Re: [Qgis-developer] Vincenty's Formulae

2013-12-12 Thread Martin Dobias
On Thu, Dec 12, 2013 at 2:36 PM, Jorge Tornero - Listas wrote: > Dear all. > > I'm currently working on a python plugin for QGIS which deploys points along > lines on a given distance basis. The lines, say transects, are created > placing an initial point and then providing a bearing for the line.

[Qgis-developer] QGIS Multi-threaded Rendering

2013-12-12 Thread Martin Dobias
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 work to do, but finally I think it is a time for a preview and a broader discussion about the

[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] [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 http://lists.

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 wrote: > 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 try

[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 http://lists.osgeo.org/mailman/

[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 http://lists.osgeo.org/mailman/

[Qgis-developer] Plugin [245] MOLUSCE approval notification.

2013-12-12 Thread noreply
Plugin MOLUSCE approval by NathanW. The plugin version "[245] MOLUSCE 2.0f Experimental" is now approved Link: http://plugins.qgis.org/plugins/molusce/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo

[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 http://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 http://lists.osgeo.org/mailm

[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 http://lists.osgeo.org/mail

[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 http://lists.os

[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 from qgi

[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 http://lists.osgeo.org/mai

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 wrote: > 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 Geography, Dartmouth Coll

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 wrote: Is there a single-file version of the

[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 . Thanks in advance, Alex Theleritis -- View this message in context: http://osgeo-or

[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= "E:\\Entwicklung\\QGis\\Quantum-GiS\\src\\plugins\\adres