using a PostgreSQL/PostGIS datastore and parameter substitution to change the mapped elements according to an SQL query ...