<p dir="ltr">+1 for me. A good feature IMO.</p>
<p dir="ltr">I think so of the UI needs work but that is easy enough to do after merge.</p>
<br><div class="gmail_quote"><div dir="ltr">On Wed, 1 Jul 2015 6:17 pm Hugo Mercier <<a href="mailto:hugo.mercier@oslandia.com">hugo.mercier@oslandia.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
Probably not the perfect timing, but anyway, I would like to move<br>
forward on that topic of virtual layers.<br>
<br>
The current implementation has already some use cases. It is not as<br>
integrated into the expression engine as we might want, but it offers<br>
possibilities that were hard to achieve before.<br>
<br>
It consists merely of a new vector data provider. It does not depend on<br>
particular modifications in QGIS. So the impact on the current API is<br>
null. There will be some glue code in the app part of course,<br>
but apart from that, I think including it into the core as just another<br>
data provider won't bother other possible future implementations around<br>
this concept. And it will serve as a functional prototype.<br>
<br>
We may want to tag it as experimental or something like this, saying<br>
that this is probably not the final (or the only) way QGIS will handle<br>
the concept of "virtual layers" in the future.<br>
<br>
And because it is only a data provider (... and a class in DBManager),<br>
people may choose not to ship it with their binary version of QGIS if<br>
they don't want to.<br>
<br>
So ... is there any objection against that being pushed as a new vector<br>
data provider for the 2.12 ?<br>
<br>
On 11/05/2015 16:11, Hugo Mercier wrote:<br>
> Hi all,<br>
><br>
> I've been recently involved in the development of "virtual layers" for<br>
> QGIS. The topic has already been discussed previously. In a few words it<br>
> allows to craft SQL queries (with spatial support) on any vector<br>
> layer(s) that QGIS is able to load.<br>
><br>
> Now I have a plugin that is usuable and allows you to get familiar with<br>
> the concept and test it.<br>
><br>
> More details are given here (with links to some videos):<br>
> <a href="https://github.com/mhugo/qgis_vlayers" rel="noreferrer" target="_blank">https://github.com/mhugo/qgis_vlayers</a><br>
><br>
> A binary version of the plugins for Windows 32bits is available here :<br>
> <a href="http://91.121.102.10/vlayers/qgis_28_vlayers_4_win32.zip" rel="noreferrer" target="_blank">http://91.121.102.10/vlayers/qgis_28_vlayers_4_win32.zip</a><br>
><br>
> An integration of virtual layers in db manager is provided, but it is<br>
> better served with an improved version of db manager. A pull request<br>
> about this is being reviewed (<a href="https://github.com/qgis/QGIS/pull/2025" rel="noreferrer" target="_blank">https://github.com/qgis/QGIS/pull/2025</a>).<br>
> You can also directly find it here :<br>
> <a href="http://91.121.102.10/vlayers/db_manager_with_query_builder_and_vlayers.zip" rel="noreferrer" target="_blank">http://91.121.102.10/vlayers/db_manager_with_query_builder_and_vlayers.zip</a><br>
><br>
> Please do not hesitate to test this new functionality and report bugs or<br>
> requests (here or on the github page)<br>
><br>
> Now the next step would be to lead toward a proper integration into QGIS<br>
> core. I am already aware of some limitations that I have listed. I would<br>
> be happy to have any other feedback.<br>
><br>
> The hackfest next week could also be a good place to discuss it (I will<br>
> be presenting it during the conference)<br>
><br>
> Cheers.<br>
> Hugo<br>
> _______________________________________________<br>
> Qgis-developer mailing list<br>
> <a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
><br>
><br>
<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div>