Hello Marco, As far as I remember, there's no GUI interface just for that purpose.
You can change the view on the database side to include that extent condition. Depending on how your view is constructed, that will probably trigger the spatial indexes. Alternatively, you can set a filter on QGIS side, you can use for example ST_intersects if you are on PostGIS. What I am not sure is if indexes are used or not. They Alexandre Neto User support www.qcooperative.net A terça, 6/07/2021, 13:33, Marco Casalboni <[email protected]> escreveu: > Hi all, > is there a way to manually set up a layer extent? > > I have a huge view in SQL that is too slow on loading because qgis scans > the entire view to find the extent. > An alternative could be instruct qgis to use a specific spatial index for > a specific layer > > thanks > _______________________________________________ > Qgis-user mailing list > [email protected] > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user >
_______________________________________________ Qgis-user mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
