Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Webtrees Custom Module: ⚶ Gov4Webtrees

This webtrees custom module hooks into an extended 'Facts and Events' tab, enhancing events with GOV (historic gazetteer) data. The project’s website is

This is a webtrees 1.x module - It cannot be used with webtrees 2.x. For its webtrees 2.x counterpart, see here.



  • Historic and current GOV data is loaded, cached internally, and displayed for individual events. Map links (to OpenStreetMaps etc) based on geodata obtained from the GOV server are also shown.


  • GOV ids have to be entered manually, once per place name. Alternatively, ids for specific events may be set via a custom _GOV tag under the respective PLAC tag.


Access a demo of the module here. Feel free to experiment with setting/resetting GOV Ids.


  • Current version:
  • Based on and tested with webtrees 1.7.16, may also work with older 1.7.x versions. Cannot be used with webtrees 2.x.
  • Requires the Hooks module ('hooks_repackaged', or the original Hooks module via webtrees-geneajaubart).
  • Requires the 'vesta_common_lib' module.
  • Displays data via the 'personal_facts_with_hooks' module.
  • Provides location data via hooks.
  • Download the zipped module, including all related modules, here.
  • Support, suggestions, feature requests:
  • Issues also via


  • Unzip the files and copy them to the modules_v3 folder of your webtrees installation. All related modules are included in the zip file. It's safe to overwrite the respective directories if they already exist (they are bundled with other custom modules as well), as long as other custom models using these dependencies are also upgraded to their respective latest versions.
  • Enable the extended 'Facts and Events' module via Control Panel -> Modules -> Module Administration -> Facts and Events.
  • Enable the main module via Control Panel -> Modules -> Module Administration -> Gov4Webtrees. After that, you may configure some options.
  • Enable the Hooks module via Control Panel -> Modules -> Module Administration -> Hooks. Make sure all hooks are selected (in the preferences of the Hooks module).
  • Configure the visibility of the old and the extended 'Facts and Events' tab via Control Panel -> Modules -> Tabs (they both appear as 'Facts and Events' here - usually, you'll want to use only one of them. You may just disable the old 'Facts and Events' module altogether).


If you want to transfer GOV data between different trees or webtrees instances, you only have to copy the table which maps place names to gov ids (##gov_ids), everything else will be re-created automatically. If you use GEDCOM data with _GOV tags for GOV ids, even this step is unnecessary.


This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see


⚶ Gov4Webtrees (Webtrees 1.x Custom Module)







No releases published


No packages published