Skip to main content
Skip to main content

Installation

FilterMate is available through the QGIS Plugin Repository and works out of the box with any QGIS installation.

Basic Installation​

  1. Open QGIS
  2. Go to Plugins β†’ Manage and Install Plugins
install-1

QGIS Plugin Manager - Search for FilterMate

  1. Search for "FilterMate"
install-2

Search results showing FilterMate plugin

  1. Click Install Plugin

FilterMate successfully installed and ready to use

That's it! FilterMate is now ready to use with OGR and Spatialite backends.

For optimal performance with PostgreSQL/PostGIS layers, install the psycopg2 package.

Performance Boost

PostgreSQL backend provides 10-50Γ— faster filtering on large datasets (>50,000 features) compared to other backends.

pip install psycopg2-binary

Method 2: QGIS Python Console​

  1. Open QGIS Python Console (Plugins β†’ Python Console)
  2. Run:
import pip
pip.main(['install', 'psycopg2-binary'])

Method 3: OSGeo4W Shell (Windows)​

  1. Open OSGeo4W Shell as Administrator
  2. Run:
py3_env
pip install psycopg2-binary

Verify Installation​

Check if PostgreSQL backend is available:

from modules.appUtils import POSTGRESQL_AVAILABLE
print(f"PostgreSQL available: {POSTGRESQL_AVAILABLE}")

If True, you're all set! PostgreSQL backend will be used automatically for PostGIS layers.

Backend Selection​

FilterMate automatically selects the optimal backend based on your data source:

Data SourceBackend UsedInstallation Required
PostgreSQL/PostGISPostgreSQL (if psycopg2 installed)Optional: psycopg2
SpatialiteSpatialiteNone (built-in)
Shapefile, GeoPackage, etc.OGRNone (built-in)

Learn more about backends in the Backends Overview.

Troubleshooting​

PostgreSQL not being used?​

Check if psycopg2 is installed:

try:
import psycopg2
print("βœ… psycopg2 installed")
except ImportError:
print("❌ psycopg2 not installed")

Common issues:

  • Layer is not from PostgreSQL source β†’ Use PostGIS layers
  • psycopg2 not in QGIS Python environment β†’ Reinstall in correct environment
  • Connection credentials not saved β†’ Check layer data source settings

Next Steps​