Re: [Qgis-developer] Raise minimum CMake version to 2.8.6

2014-11-04 Thread Matthias Kuhn
Done in 1c2bdf1 If you are currently developing a test, please make sure you use #include test[name].moc instead of the old #include moc_test[name].cxx Thank you Matthias On 03.11.2014 12:44, Volker Fröhlich wrote: On 11/03/2014 11:48 AM, Matthias Kuhn wrote: Hi, As we are out of feature

Re: [Qgis-developer] Trouble with PostGis

2014-11-04 Thread walter.nordmann
tried it again this morning and got one additional output line at the end of the logfile (fetchFeature): yesterday i killed the job after two hours without any result. regards walter -- View this message in context:

Re: [Qgis-developer] QEP/RFC sqlite virtual tables

2014-11-04 Thread Hugo Mercier
Hi, Some additional information, after some more digging into sqlite code / documentation / mailing lists: * The parsing part of SQLite is private and cannot be requested by an external program. Moreover, the parse phase directly builds a program, not an abstract syntax tree. However, a formal

[Qgis-developer] QGIS web client not displaying full WMS extent

2014-11-04 Thread Blumentrath, Stefan
Hi, I am having some trouble with properly displaying a WMS in QGIS 2.5: The web-client (http://kart.fiskeridir.no/default.aspx?gui=1lang=1 (activate e.g. first layer in the Fiskeriaktivitet-tab) for the WMS I use displays a much wider data extent than the WMS in QGIS

Re: [Qgis-developer] QGIS web client not displaying full WMS extent

2014-11-04 Thread Andreas Neumann
Hi Stefan, I am a bit confused. As far as I can tell there is no web client involved - only some other WMS server and some other Web-GIS - right? So - the actual problem is that QGIS desktop does not show the full extent of the other WMS server - so purely a QGIS as a WMS client issue -

Re: [Qgis-developer] Is it possible to write classification scripts for the graduated renderer in Python?

2014-11-04 Thread Martin Dobias
Hi Anita On Fri, Oct 31, 2014 at 12:46 AM, Anita Graser anitagra...@gmx.at wrote: Hi, Is it possible to write classification scripts for the graduated renderer in Python? Depends what you mean. If you mean to add another method like Equal Interval / Quantiles / Natural Breaks - then you

Re: [Qgis-developer] Trouble with PostGis

2014-11-04 Thread walter.nordmann
Oops, i tried it again and after about four hours the data arrived from the db-server :( so, that's no Qgis-problem but something very strange with the database. may be it's doing a sequential search and not using the index? I'll write some external tests without Qgis and keep you informed.

Re: [Qgis-developer] Trouble with PostGis

2014-11-04 Thread Sandro Santilli
On Tue, Nov 04, 2014 at 08:11:44AM -0800, walter.nordmann wrote: Oops, i tried it again and after about four hours the data arrived from the db-server :( so, that's no Qgis-problem but something very strange with the database. may be it's doing a sequential search and not using the index?

Re: [Qgis-developer] Trouble with PostGis

2014-11-04 Thread walter.nordmann
Yea, did it the last 2 hours. but remember: I costs me tree days of work to *see* the query :( here we go: runs for about *3-4 hours* about *40 Seconds* The cursor-query does not use the indexes for admin_level and boundary. that's nearly like a sequential search (on 159 mio. datarecords).

Re: [Qgis-developer] Is it possible to write classification scripts for the graduated renderer in Python?

2014-11-04 Thread Anita Graser
On Nov 4, 2014 10:11 AM, Martin Dobias wonder...@gmail.com wrote: Hi Anita On Fri, Oct 31, 2014 at 12:46 AM, Anita Graser anitagra...@gmx.at wrote: Hi, Is it possible to write classification scripts for the graduated renderer in Python? Depends what you mean. If you mean to add

Re: [Qgis-developer] Trouble with PostGis

2014-11-04 Thread Sandro Santilli
On Tue, Nov 04, 2014 at 11:10:16AM -0800, walter.nordmann wrote: The cursor-query does not use the indexes for admin_level and boundary. that's nearly like a sequential search (on 159 mio. datarecords). But i think, that is a postgresql-problem. Any hints what i can do? You'll need to show

[Qgis-developer] Intersection of line and polygon

2014-11-04 Thread Nyall Dawson
Hi all, Can someone give me a pointer to the best way to implement an intersection between a line and a rectangle using QgsGeometry? The line may curve out of the rectangle and then back in multiple times, so ideally I want to get a collection of each part of the line which is within the

Re: [Qgis-developer] Trouble with PostGis

2014-11-04 Thread walter.nordmann
Sandro Santilli-2 wrote You'll need to show the query and the definition of the tables involved in it (EXPLAIN query output also helps). that is exactly what i did. you can see the query and the explain-output one post before. and here ist the table definition: regards walter -- View

Re: [Qgis-developer] Intersection of line and polygon

2014-11-04 Thread Salvatore Larosa
Hi, On Tue, Nov 4, 2014 at 8:36 PM, Nyall Dawson nyall.daw...@gmail.com wrote: Hi all, Can someone give me a pointer to the best way to implement an intersection between a line and a rectangle using QgsGeometry? The line may curve out of the rectangle and then back in multiple times, so

Re: [Qgis-developer] Intersection of line and polygon

2014-11-04 Thread Nyall Dawson
On 5 November 2014 08:09, Salvatore Larosa lrssv...@gmail.com wrote: Hi, On Tue, Nov 4, 2014 at 8:36 PM, Nyall Dawson nyall.daw...@gmail.com wrote: Hi all, Can someone give me a pointer to the best way to implement an intersection between a line and a rectangle using QgsGeometry? The line

Re: [Qgis-developer] Trouble with PostGis

2014-11-04 Thread walter.nordmann
may be i got it. after purging and recreating idx_planet_boundary and idx_planet_admin_level the cursor-query is using those indices and performance is on. yes, i'm running vacuum analyze on a regular base and the last run was this morning. if the performance is going down again, i'll contact

Re: [Qgis-developer] QGIS web client not displaying full WMS extent

2014-11-04 Thread Blumentrath, Stefan
Hi Andreas, Thanks for your reply, and sorry for the confusion. It is indeed a QGIS as a WMS client issue. I now tested with different CRS which the WMS uses, namely EPSG:25833,32633,and 4326. I added one layer for each CRS and then stepwise changed my project CRS. With my QGIS project

Re: [Qgis-developer] Intersection of line and polygon

2014-11-04 Thread Salvatore Larosa
On Tue, Nov 4, 2014 at 10:24 PM, Nyall Dawson nyall.daw...@gmail.com wrote: Looking at the definition of QgsGeometry::intersection the docs state Returns a geometry representing the points shared by this geometry and other.. I assume this method is designed for intersection of two polygons,

Re: [Qgis-developer] Intersection of line and polygon

2014-11-04 Thread Nyall Dawson
On 5 November 2014 08:55, Salvatore Larosa lrssv...@gmail.com wrote: On Tue, Nov 4, 2014 at 10:24 PM, Nyall Dawson nyall.daw...@gmail.com wrote: Looking at the definition of QgsGeometry::intersection the docs state Returns a geometry representing the points shared by this geometry and other..

[Qgis-developer] Processing compatibility with SAGA 2.1.3

2014-11-04 Thread samuelm...@gmail.com
Hi. I updated the latest stable versions of QGIS v2.6 and SAGA GIS v2.1.3. However I have seen that reported some bugs with the processing module and ParameterBoolean. To correct the compactability with the latest of SAGA GIS, needs to be added or changed in [1] if param.value: command += '

[Qgis-developer] CAD Tool plugins

2014-11-04 Thread Paolo Cavallini
Hi all. I just accepted a new plugin (CADDigitize), which look fine. I got a bit lost here: on one side, power users often complains of lack of some advanced digitizing tools in main QGIS, on the other hand we have a number of plugins with apparently overlapping functionalities (e.g. [0]). Could

Re: [Qgis-developer] CAD Tool plugins

2014-11-04 Thread Nathan Woodrow
There is already a pull request and QEP for this already. We can now talk about it a bit more since 2.6 is out. On Wed, Nov 5, 2014, 5:28 PM Paolo Cavallini cavall...@faunalia.it wrote: Hi all. I just accepted a new plugin (CADDigitize), which look fine. I got a bit lost here: on one side,