[Qgis-user] Load results of PostGIS execute SQL
Anita Graser
anitagraser at gmx.at
Thu May 24 13:05:56 PDT 2018
On Tue, May 22, 2018 at 3:36 PM, Anita Graser <anitagraser at gmx.at> wrote:
> It seems like the Processing "PostGIS execute SQL" tool does not provide a
> straightforward way to load the query results. Is there another way in
> Processing to execute a query and get the results as a layer?
>
​Since there doesn't seem to be a tool that covers this functionality, I
implemented one. The PR is here: https://github.com/qgis/QGIS/pull/7064
It creates an output layer containing the query result features. My
original plan was to just load a PostGIS layer based on the query but that
didn't work out.
Regards,
Anita
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180524/c8be8e13/attachment.html>
More information about the Qgis-user
mailing list