Hi Maaza,<br><br><div class="gmail_quote">On Thu, Jun 9, 2011 at 3:10 AM, maaza mekuria <span dir="ltr"><<a href="mailto:sailmcm@yahoo.com">sailmcm@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
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</blockquote>
<div><br></div><div>Feel free to add this feature request to the bug tracker or to even write the patch to add this function to the layer class.</div><div><br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
is it alright to have a method that updates the selection set using the setSubString query?</blockquote><div> </div><div>Why not?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
What is the reason that such a powerful way to query the data does not also have a means to update the selection set? </blockquote><div><br></div><div>Imho, the query string has nothing to do with the selection set. If you first set the query string, you can then select all features left in the layer.</div>
<div><br></div><div>Best wishes, </div><div>Anita </div>