GIS Plugins

Home › Vector tools › Definition Queries (Layer Filters)

Definition Queries (Layer Filters) QGIS 4 compatibility

QGIS 4 ready Active

Listed for QGIS 4 by its author (declared max 4.99.0). GIS Plugins hasn't tested it.

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
Downloads405
On QGIS 3.44 LTRv1.1.0 (QGIS 3.34.0 to 4.99.0)
On QGIS 4v1.1.0 (QGIS 3.34.0 to 4.99.0)
Last updated2026-09-28 (62 days ago)
QGIS 4 readyYes
MaintenanceActive
CategoriesVector tools, Database
Tagsfilter, query, definition query, subset, selection, attribute, sql, vector

Homepage · Repository · Issue tracker · Official page

QGIS plugin news, once a week

GIS Plugins Weekly: new plugins, useful updates and QGIS 4 readiness changes. Free, unsubscribe anytime. See a sample issue.

Alternatives in Vector tools

Related plugins

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