Re: [Qgis-developer] URI

2011-06-08 Thread Marco Hugentobler
Hi Radim I would suggest a QgsDataSourceURI with two types of params. One type whould be set/recognized by a provider to set/get provider specific data source URI params, for example setParam(key, val) and getParam(key). All parts of URI would be stored as params so that for example host

Re: [Qgis-developer] Ticket filters for Redmine

2011-06-08 Thread Sandro Santilli
On Sun, Jun 5, 2011 at 11:18 PM, Pirmin Kalberer pi...@sourcepole.com wrote: Hi all, There are no predefined ticket filters on the QGIS Redmine site configured yet. Which Trac queries should be ported? I'd expect to find them all (as a user). --strk; Free GIS Flash consultant/developer

Re: [Qgis-developer] Re: dealing with long primary keys / tests

2011-06-08 Thread Sandro Santilli
On Tue, Jun 7, 2011 at 1:59 PM, Mayeul Kauffmann mayeul.kauffm...@free.fr wrote: Hence I would slightly modify Paolo's list from: - bigfixing - bugfixing ;) - automatic testing - polishing - infrastructure into - automatic testing - bugfixing - polishing - infrastructure +1 Automatic

Re: [Qgis-developer] QGIS Web Client: problem with layers in different SRS

2011-06-08 Thread Niccolo Rigacci
On Tue, Jun 07, 2011 at 03:03:06PM +0200, Andreas Neumann wrote: When writing QGIS webclient I did not have to deal with different projection in one QGIS project - so one could consider this a bug. QGIS webclient should more intelligently calculate the bounding box. Thank you Andreas for

Re: [Qgis-developer] Embedding of layers and legend groups from other projects

2011-06-08 Thread Barry Rowlingson
On Wed, Jun 8, 2011 at 11:19 AM, Nathan Woodrow madman...@gmail.com wrote: Barry, That sounds like a handy plugin.  I was going to writing something like that ages ago but now I don't have to :).  Pretty please release it. Anyone who wants to do a bit of work can export from by googlecode

[Qgis-developer] Testing and releases

2011-06-08 Thread Andrew Chapman
I think that there are (at least) two different types of testing that are valuable for a project like QGIS and both play important roles. Different people use different names, but here's my version... 1) White box: This is very much in the hands of the developer and is aimed at proving the

[Qgis-developer] Query Set using SetSubstring does not return record

2011-06-08 Thread maaza mekuria
I have a subsetstring query applied in code to the layer data. Yet I find that it does not return any records that it should have located. The code is pasted below, the setSubsetString passes and yet the selected feature count is 0. What am I missing

Re: [Qgis-developer] Query Set using SetSubstring does not return record

2011-06-08 Thread maaza mekuria
I have a following question that is important for my understanding, and I would like to know what is the relationship between the data provider and the layer and if I set the setSubsetString in the provider of a layer does it propagate to the layer if I query the selection on the layer? As part

Re: [Qgis-developer] Testing and releases

2011-06-08 Thread MALIK Julien
Hello, Do you know about Sikuli ? http://sikuli.org/ I never tested it, but it seems very nice for the black box testing, and can probably handle the automatic screenshot generation. Cheers, Julien Quoting Andrew Chapman andrew.chap...@donkagen.co.uk: I think that there are (at least)

Re: [Qgis-developer] Testing and releases

2011-06-08 Thread Mars Sjoden
I would be interested in participating as dumb user, The 'black box' sounds interesting and a way to organize dumb users for debugging/edu/user docs/ergonomics mars On Wed, Jun 8, 2011 at 11:13 AM, MALIK Julien julien.ma...@c-s.fr wrote: Hello, Do you know about Sikuli ? http://sikuli.org/

Re: [Qgis-developer] Testing and releases

2011-06-08 Thread Mayeul Kauffmann
Hi, Some time ago I used xmacro (a Keyboard/mouse macro utility) to create a set of screenshots for a software (GanttProject) in about 15 languages; then it was integrated in OpenOffice documents with relative links. In my experience only the keyboard part was reliable, which requires to have

Re: [Qgis-developer] Query Set using SetSubstring does not return record

2011-06-08 Thread maaza mekuria
I figured it out. I was assuming that the setSubsetString would do the querying and update the selection set, but I gather now after a few hours of hardwork that is not its purpose, it just limits the accessible features with out changing the selection set. How can I help update the

Re: [Qgis-developer] Query Set using SetSubstring does not return record - resolved but with a question

2011-06-08 Thread maaza mekuria
Let me lay bare my hearts desire, is it alright to have a method that updates the selection set using the setSubString query? What is the reason that such a powerful way to query the data does not also have a means to update the selection set? I know I am pushing my luck or my providence. But

Re: [Qgis-developer] Query Set using SetSubstring does not return record - resolved but with a question

2011-06-08 Thread maaza mekuria
I have learned from you how I can select all the features in a layer through code using extents and attribute lists. What I would like is to be able to use a simple command that says layer-selectall() or something like that. I think selection is very important method in GIS. I think of

[Qgis-developer] Render extents based subset of features

2011-06-08 Thread Chris Crook
I have a layer of simple lines (ie straight lines with no midpoint nodes), which I want rendered so that only lines with one of the endpoints within the extents are displayed and selectable. Lines which cross the map window but do not terminate in it are omitted. This is to display land

[Qgis-developer] QgisSQL plugin

2011-06-08 Thread Aju Ajusito
Hello Qgis developers I was working in a C++ plugin for interact with SQL databases and vector layers, the plugin is something like a generic SQL interpreter. The interpreter language is created with the help of the C++ version of the parser generator Coco/R, and I hope that could be extended to