Hi Ricardo, <br><br><div class="gmail_quote">On Thu, Sep 30, 2010 at 2:15 PM, Ricardo Filipe Soares Garcia da <span dir="ltr"><<a href="mailto:ricardo.garcia.silva@gmail.com">ricardo.garcia.silva@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Some questions on building querys with spatialite and postgis: </blockquote><div><br>You can use the RT Sql Layer plugin, but for postgis layers only.<br>In this moment there is no way to do the same thing with spatialite layers.<br>

<br>Cheers.<br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
1 - Is it possible to build a query where two (or more) layers are<br>
involved? Something like:<br>
<br>
SELECT a.*<br>
FROM a, b<br>
WHERE Contains(b, a)<br>
<br>
and get a visual result in the main Qgis display? I know I can do such<br>
a query using the spatialite manager, but the return value is<br>
visualized only as tabular data.<br>
<br>
2 - Is it possible to dynamically create new geometries? For example,<br>
write a custom query that creates a buffer around a point and store it<br>
in a temporary layer?<br>
<br>
>From what I have been investigating it seems that these things are not<br>
possible. Am I wrong? This kind of functionality would be really<br>
awesome.<br>
<font color="#888888"><br>
--<br>
___________________________ ___ __<br>
Ricardo Garcia Silva<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Giuseppe Sucameli<br>