[Qgis-user] Virtual Layer query with "currentExtent" not working anymore

Bernd Vogelgesang bernd.vogelgesang at gmx.de
Wed Jan 19 03:33:51 PST 2022


Hi folks,

A while ago, I figured out how to limit a query on a layer by the
current map extent as a preparation for another query:

SELECT * FROM ASK_Geometrien WHERE
st_intersects(ASK_Geometrien.geometry, currentExtent());

Now, when I try it again later, the test fails with "no such function:
currentExtent"

Has something changed or are there other means to achieve the same goal?

QGIS 3.22.3-Białowieża

Cheers,

Bernd




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220119/079901b8/attachment.html>


More information about the Qgis-user mailing list