<div dir="ltr">Hey <span style="color:rgb(80,0,80)">Jürgen,</span><div><font color="#500050"><br></font></div><div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div class=""><br>
<br>
</div>There's always an extent, but that not necessarily reflect an actual bbox, but<br>
just sets the available bounds, which are often set much bigger than the actual<br>
data.  But the bounding box is determined after insertion of the layer anyway.<br></blockquote><div><br></div><div>Fair point, but for us it's definitely still preferable over having QGIS "hang" for several minutes waiting for Oracle to perform a MBR check on a table with millions of features.</div>

<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
To insert the layer we just need tablename, column, type and srid - and that's<br>
what the thread searches for.<br></blockquote><div><br></div><div>How about doing the search for "type" when the layer is actually added to QGIS? It could also confirm the other stuff (which it got from metadata) at that time too.</div>

<div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
An additional idea would be to use the filters upfront.  Currently you can only<br>
filter the result of the layer search after the search has already been run.<br>
Instead we could reduce the searches we want by just looking for tables with<br>
given (partial) name, in a given schema, srid and/or geometry type.  Especially<br>
in cases where the search is expensive, because there are loads of tables, this<br>
is would even be useful if performance wasn't an issue.</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


<br>
And that would also be interesting for all other database providers.<br></blockquote><div><br></div><div>Oooh, I like that idea!</div><div><br></div><div>Kind regards,</div><div>Jonathan</div></div></div></div></div>

<br>
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)">This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.</span>