Addon:GetGOV

From Gramps
Jump to: navigation, search
Gramps-notes.png

Please use carefully on data that is backed up, and help make it better by reporting any comments or problems to the author, or issues to the bug tracker
Unless otherwise stated on this page, you can download this plugin by following these instructions
Please note that some Addons have prerequisites that need to be installed before they can be used.
This Addon/Plugin system is controlled by the Plugin Manager


GetGOV.png

The GetGOV gramplet is designed to download place information from the GOV gazetteer. It is installed as a gramplet on the Places view. This information can include

  • Geographical location (lat-lon coordinates)
  • Foreign and former names
  • Past affiliation or hierarchy of enclosed-by places.

Instead of the default ID numbering (Pxxxx) for the imported places, the GOV-id will be used as the ID. If additional imports are performed, duplicate places (even part of the Enclosed By) will be automatically merged.

If the Preferences -> Places tabs Language: is set, then this is used as the preferred language for place names which are imported, otherwise, the preference is German.


Example of use

This example shows how the gramplet would be used with the GOV gazetteer website to import the place Frommenhausen.

GOVscreenshot.png

Log into the GOV gazetteer website.

GOVresults.png

Find the appropriate GOV-id for the place of interest. In the illustration, the search for the city Frommenhausen was used. The result identifies the appropriate GOV-id as FROSENJN48KK.

FrommenhausenDetails.png

To see what data will be imported, you can drill down in to the GOV-id.

GetGOVgramplet.png

Enter the GOV-id into the GetGOV gramplet on the Places view.

GetGOVimport.png

The resulting places with Lat and Lon are loaded. Note that the Place Type is in the same language as the Place. Note that the ID is the GOV-id and not the default Pxxxx numbering. If you use the Reorder Gramps IDs tool, it will change the ID to the default Pxxx numbering. Later use of this gramplet may import duplicate items (with different ID) since the Gramps ID is no longer the GOV-id and duplicates will not be identified. For instance, if you import FROSENJN48KK and then use the Reorder Gramps ID tool to reset the Gramps ID, if you reimport FROSENJN48KK or any other GOV place that is already imported, you will have duplicate places for every item imported.

GetGOVresultsaltname.png

This illustrates that multiple alternate names will be loaded if they are in the GOV database. Deutschland is the Primary name and there are multiple alternate names in different languages in this illustration.

GetGOVresultsenclosed.png

The Place hierarchy is also loaded as defined in the GOV database. This includes the Enclosed By information which may be time-dependent as illustrated/

ISSUES

  • If the GOV-id is not in English, an exception will occur. GOV-id's are only in English. Bug filed as 10220
  • If the GOV-id does not exist in the GOV database, a single place will still be created with that ID but blank name and Unknown type. Bug filed as 10220
  • If you use the Reorder Gramps IDs tool, it will change the ID to the default Pxxx numbering. Later use of this gramplet will import duplicate items (with different ID) since the Gramps ID is no longer the GOV-id and duplicates will not be identified.