Gramps filter rule
Event in Place (or sub-place)
A person filter rule for events in a named place and all of its sub-places.
Purpose
Event in Place (or sub-place) is a custom person filter rule that finds people who have an event in a named place or anywhere within its place hierarchy.
It replaces the usual three-filter chain across Places, Events and People with one person rule. The rule matches by place name rather than Gramps ID, and if several places share the same name, all of them are used as targets.
Download and compatibility
- Works with Gramps 5.1, 5.2 and 6.x.
- Used as a person rule in Gramps and appears automatically in FilterWorkbench.
- A ready-to-use Danish translation is included.
Installation
- Close Gramps.
- Extract the downloaded ZIP archive.
-
Copy or extract the project folder into your Gramps user plugin folder.
Keep the complete folder structure unchanged, including any `locale` folder included with the project.
The user plugin folder is normally located here:
- **Windows:** `%AppData%\gramps\gramps(version)\plugins\`
- **Linux:** `~/.gramps/gramps(version)/plugins/`
- **macOS:** `~/Library/Application Support/gramps/gramps(version)/plugins/`
Replace `(version)` with the Gramps version folder used on your system.
Start Gramps again. -
Check that the installed filter, rule, gramplet or tool is available where described in the project documentation.
If the project does not appear or fails to load, check **Help → Plugin Manager** for an error message.
Removing the test version
- Close Gramps.
- Delete the project folder that you added to the Gramps user plugin folder.
-
Start Gramps again.
Because the project was installed only in the user plugin folder, removing that folder removes the test installation without changing the original Gramps program files.
Use the rule
- Open Edit → Person Filter Editor , or use FilterWorkbench.
- Add People with an event in a place or its sub-places under Event filters.
- Enter the place name.
- Leave Event type blank to match any event, or select a type such as Birth or Death.
- Leave Use regular expressions off for an exact, case-insensitive name match, or enable it for a regular-expression search.
The resulting person filter can be combined with other rules and used for reports, exports and tags.
Scope
This rule is intended for the straightforward case: people with an optionally typed event inside a jurisdiction or other named place hierarchy.
More advanced event-quality combinations, such as events with a missing date or source within a jurisdiction, still require Gramps’ event-filter tools.