Re: [Qgis-user] Load results of PostGIS execute SQL

2018-05-24 Thread Anita Graser
On Tue, May 22, 2018 at 3:36 PM, Anita Graser  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
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Load results of PostGIS execute SQL

2018-05-22 Thread Anita Graser
Hi,

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?

Thanks,
Anita
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user