[Qgis-user] Dynamic Source Filtering in QGIS - How?

Christoph Candido christoph.candido at chello.at
Thu May 22 10:46:30 PDT 2025


Hi Stefan,
 
if I have understood correctly, you only want to display 50 of the highest ranked point objects at a time.
You can use the "changeDataSource" plugin to adapt your datasource string to the following line
(my data is stored in D:/Data and limited to 5 points for testing purposes).

D:/Data/Castles_etc_ranked_OSM_2025.gpkg|subset=select * from castles_etc_ranked_osm_2025 order by qrank desc limit 5
 
P.S. you can always use the QGIS development tools (F12) to inspect the SQL queries that where created in the background
 
Regards,
Christoph
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20250522/bf417a29/attachment.htm>


More information about the QGIS-User mailing list