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

2011-06-09 Thread Anita Graser
Hi Maaza, On Thu, Jun 9, 2011 at 3:10 AM, maaza mekuria sail...@yahoo.com wrote: 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

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

2011-06-09 Thread maaza mekuria
] Query Set using SetSubstring does not return record - resolved but with a question To: maaza mekuria sail...@yahoo.com Cc: QGIS Developer qgis-developer@lists.osgeo.org Date: Thursday, June 9, 2011, 2:51 AM Hi Maaza, On Thu, Jun 9, 2011 at 3:10 AM, maaza mekuria sail...@yahoo.com wrote: I have

[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
using SetSubstring does not return record To: QGIS Developer qgis-developer@lists.osgeo.org Date: Wednesday, June 8, 2011, 2:25 PM                     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

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

2011-06-08 Thread maaza mekuria
the documentation to reflect what the methods are meant to do? Thank you, Maaza --- On Wed, 6/8/11, maaza mekuria sail...@yahoo.com wrote: From: maaza mekuria sail...@yahoo.com Subject: [Qgis-developer] Query Set using SetSubstring does not return record To: QGIS Developer qgis-developer

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

2011-06-08 Thread maaza mekuria
] Query Set using SetSubstring does not return record To: QGIS Developer qgis-developer@lists.osgeo.org Date: Wednesday, June 8, 2011, 5:43 PM 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

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

2011-06-08 Thread maaza mekuria
mekuria sail...@yahoo.com wrote: From: maaza mekuria sail...@yahoo.com Subject: Re: [Qgis-developer] Query Set using SetSubstring does not return record - resolved but with a question To: QGIS Developer qgis-developer@lists.osgeo.org Date: Wednesday, June 8, 2011, 7:49 PM Let me lay bare my