Re: [Qgis-developer] Sample models broken

2015-09-28 Thread Paolo Cavallini
Yes, exactly. Thanks. Il 28 settembre 2015 12:01:32 CEST, Victor Olaya ha scritto: >When you say sample models you mean the ones in the online github >collection? That repo needs a bit of love, i guess... Anita proposed >separating them in folders indicating which version they

Re: [Qgis-developer] Sample models broken

2015-09-28 Thread Paolo Cavallini
Il 28/09/2015 14:30, Anita Graser ha scritto: > Hi, > I'll put that on my list for the dev meeting in case this hasn't been > solved by then. Thanks, I can help if useful. All the best. -- Paolo Cavallini - www.faunalia.eu QGIS & PostGIS courses: http://www.faunalia.eu/training.html

Re: [Qgis-developer] Sample models broken

2015-09-28 Thread Anita Graser
Hi, I'll put that on my list for the dev meeting in case this hasn't been solved by then. Best wishes Anita On Sep 28, 2015 2:08 PM, "Paolo Cavallini" wrote: > Yes, exactly. > Thanks. > > Il 28 settembre 2015 12:01:32 CEST, Victor Olaya ha > scritto: >>

Re: [Qgis-developer] Sample models broken

2015-09-28 Thread Victor Olaya
When you say sample models you mean the ones in the online github collection? That repo needs a bit of love, i guess... Anita proposed separating them in folders indicating which version they work on. It's a good idea, but I have to find some time to implement it and curate the collection of

[Qgis-developer] Sample models broken

2015-09-28 Thread Paolo Cavallini
Hi all, with current qgis stable (2.10), sample Processing models fail wit the error below. Should I open a ticket? All the best. === Errore durante l'esecuzione di codice Python: Traceback (most recent call last): File "/usr/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py", line

Re: [Qgis-developer] Sample

2014-07-15 Thread Nathan Woodrow
Seems it calls uniqueValues so if that takes a long time it will block. Depends on the provider I guess. - Nathan On Tue, Jul 15, 2014 at 3:57 PM, Jürgen E. j...@norbit.de wrote: Hi Paolo, On Tue, 15. Jul 2014 at 07:12:22 +0200, Paolo Cavallini wrote: thanks. in this case, I do not see

Re: [Qgis-developer] Sample

2014-07-15 Thread Jürgen E . Fischer
Hi Nathan, On Tue, 15. Jul 2014 at 15:59:27 +1000, Nathan Woodrow wrote: On Tue, Jul 15, 2014 at 3:57 PM, Jürgen E. j...@norbit.de wrote: On Tue, 15. Jul 2014 at 07:12:22 +0200, Paolo Cavallini wrote: IMHO it should perform a quick LIMIT 10 query. Have you verified that is doesn't?

Re: [Qgis-developer] Sample

2014-07-15 Thread Nathan Woodrow
Hey, Yeah I'm thinking it might just be slow for something like shapefile where is there no index on that column and it has to get each value to find the unique ones. I'm not looking at the code, just guessing. - Nathan On Tue, Jul 15, 2014 at 4:09 PM, Jürgen E. j...@norbit.de wrote: Hi

Re: [Qgis-developer] Sample

2014-07-15 Thread Paolo Cavallini
Il 15/07/2014 08:11, Nathan Woodrow ha scritto: Yeah I'm thinking it might just be slow for something like shapefile where is there no index on that column and it has to get each value to find the unique ones. I'm not looking at the code, just guessing. Thanks for your comments. I found

Re: [Qgis-developer] Sample

2014-07-15 Thread Jürgen E . Fischer
Hi Paolo, On Tue, 15. Jul 2014 at 08:50:10 +0200, Paolo Cavallini wrote: Yeah I'm thinking it might just be slow for something like shapefile where is there no index on that column and it has to get each value to find the unique ones. I'm not looking at the code, just guessing.

Re: [Qgis-developer] Sample

2014-07-15 Thread Paolo Cavallini
Il 15/07/2014 09:22, Jürgen E. Fischer ha scritto: As slow as SELECT DISTINCT attribute FROM table ORDER BY attribute LIMIT 10 apparently yes - probably I had some additional slowdown. sorry for the noise. -- Paolo Cavallini - www.faunalia.eu Corsi QGIS e PostGIS:

[Qgis-developer] Sample

2014-07-14 Thread Paolo Cavallini
Hi all. In several dialog (e.g. in experssions) there is a button to show only 10 values of a field. I assumed this was a simple and quick way to inspect the kind of data present. In current master, however, clicking on this for a large table freezes QGIS, so I interpret this as an attempt to

Re: [Qgis-developer] Sample

2014-07-14 Thread Giovanni Manghi
In several dialog (e.g. in experssions) there is a button to show only 10 values of a field. I assumed this was a simple and quick way to inspect the kind of data present. In current master, however, clicking on this for a large table freezes QGIS, so I interpret this as an attempt to

Re: [Qgis-developer] Sample

2014-07-14 Thread Paolo Cavallini
Il 14/07/2014 20:12, Giovanni Manghi ha scritto: In several dialog (e.g. in experssions) there is a button to show only 10 values of a field. I assumed this was a simple and quick way to inspect the kind of data present. In current master, however, clicking on this for a large table freezes

Re: [Qgis-developer] Sample

2014-07-14 Thread Jürgen E . Fischer
Hi Paolo, On Tue, 15. Jul 2014 at 07:12:22 +0200, Paolo Cavallini wrote: thanks. in this case, I do not see what is the usefulness of it. IMHO it should perform a quick LIMIT 10 query. should I open a ticket? Have you verified that is doesn't? Because that's what it used to do. Jürgen --