Home › Vector tools › Definition Queries (Layer Filters)

Definition Queries (Layer Filters) QGIS 4 compatibility

QGIS 4 ready Active

Yes — Definition Queries (Layer Filters) supports QGIS 4 (declared max version 4.99.0).

Filter your layers without writing SQL: build filters with drop-downs, save several named filters per layer and switch between them in one click.

About

Filter your layers without writing SQL: build the query with drop-downs (field, operator and the layer's real values, including null and empty values, checkbox lists, AND / OR and groups) and the plugin writes the SQL for you. The operators are those of ArcGIS: is (not) equal to, is one of, contains, (does not) start or end with, is (not) between, is on / before / after for dates, and more. Save several named filters per layer inside the project and switch between them from the layer's right-click menu. Use any query as a filter or as a selection, select the features visible in the map view, create a filter from the current selection, and check how many features match before applying it. Warnings catch common mistakes (misspelled values, ambiguous numbers such as 1.000, AND and OR mixed without a group, filters that keep nothing, fields that were renamed). The SQL is written for each format (GeoPackage, Shapefile, GeoJSON, FileGDB, PostGIS, CSV and more), so accents, upper/lower case, underscores, percent signs and dates filter the same everywhere. Syncs with QGIS 'Filter...' and includes Processing tools. Interface in English, Spanish and Portuguese (follows the QGIS language).

AuthorNicolás Figueroa Arthur
Downloads229
Latest version1.1.0
Last updated2026-09-28 (18 days ago)
Min QGIS3.34.0
Max QGIS4.99.0
QGIS 4 readyYes
MaintenanceActive
CategoriesVector tools, Database
Tagsfilter, query, definition query, subset, selection, attribute, sql, vector

Homepage · Repository · Issue tracker · Official page

Alternatives in Vector tools

Related plugins

Maintenance: Active = updated within 1 year, Quiet = 1–3 years, Likely abandoned = over 3 years.