Open main menu

Gramps β

Changes

Addon:GetGOV

1,984 bytes added, 2 April
See also
{{Third-party plugin}}
 
{{languages|Addon:GetGOV}}
{{Third-party addon}}[[File:GetGOV-Gramplet-addon-detached-60.png|300px450px|right|thumb|GetGOV gramplet]] The {{man label|GetGOV gramplet Gramplet}} is designed to download place information from the [http://gov.genealogy.net/search/index GOV gazetteer]database. It is installed as a gramplet on the Places viewGOV stands for Geschichtliches Ortsverzeichnis or Historical Gazetteer. This database contains Web Ontology Language (OWL) information can include such as:
* Geographical location (lat-lon coordinates)
* Past affiliation or hierarchy of enclosed-by places.
Instead of the default [[Gramps_{{man version}}_Wiki_Manual_-_Settings#ID_Formats|Place ID Format numbering (Pxxxx) ]] for the imported places, the GOV-id will be used as the Place ID. If additional imports are performed, duplicate places (even part of the Enclosed By) will be automatically merged.  ==Usage==It is designed to be installed as a gramplet on the [[Gramps_{{man version}}_Wiki_Manual_-_Categories#Places_Category|Places Category (List/Tree) view]].
If First use the {{man menu|Preferences -> Places}} tabs {{man label|Language[https:}} is set, then this is used as //gov.genealogy.net/search/extended?lang=en GOV online search form] to find the preferred language for place names which are imported, otherwise, the preference is German'''GOV-id'''.
Enter the found '''GOV-id''' into the {{man label|Place ID to import from GOV (Historical Gazetteer):}} entry field and select the {{man button|Get Place}} button.
== Example of use =Setting preferred language for place imports=== ==== Version 5.x or greater ====The language is set in the {{man menu|Edit > Preferences...}} - "Data" tab in the [[Gramps_{{man version}}_Wiki_Manual_-_Settings#Display_Options|Display Options]] section and is described in the [[Gramps_{{man version}}_Wiki_Manual_-_Settings#Place_Format_Editor|Place Format Editor]]. This is used as the preferred language for place names and types which are imported. The default language is German.
This example shows how ==== Version 4.2 ====If the gramplet would be {{man menu|Preferences -> Places}} tabs {{man label|Language}} is set, then this is used with as the GOV gazetteer website to import preferred language for place names and types which are imported, otherwise, the place Frommenhausenpreference is German.
{{-}}
=== Example ===
 
This example shows how the gramplet would be used with the GOV gazetteer website to import the place '''[https://wikipedia.org/wiki/Frommenhausen Frommenhausen]''' a suburban district of Germany.
 
# [[Addon:GetGOV#Finding_the_GOV-id_on_the_GOV_gazetteer_website|Finding the GOV-id on the GOV gazetteer website]]
# [[Addon:GetGOV#Enter_the_GOV-id_into_the_GetGOV_gramplet|Enter the GOV-id into the GetGOV gramplet]]
 
====Finding the GOV-id on the GOV gazetteer website====
[[File:GOVscreenshot.png|600px|right]]
Log into the [http://gov.genealogy.net/search/index GOV gazetteer] website(Optional).
{{-}}
[[File:GOVresults.png|600px|right]]
Find the appropriate GOV-id for the place of interest. In the illustration, the search for the city <code>Frommenhausen </code> was used. The result identifies the appropriate GOV-id as <code>FROSENJN48KK</code>.
{{-}}
{{-}}
====Enter the GOV-id into the GetGOV gramplet====
[[File:GetGOVgramplet.png|600px|right]]
Enter the GOV-id into the {{man label|GetGOV }} gramplet on the Places (List) view.
{{-}}
[[File:GetGOVimport.png|600px|right]]
The resulting places with Lat Latitude and Lon Longitude 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 <code>Pxxxx </code> numbering. If you use the Reorder Gramps IDs tool, it will change the ID to the default Pxxx <code>Pxxxx</code> 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 <code>FROSENJN48KK </code> 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.
{{-}}
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.
{{-}}
 
[[File:GetGOVresultsenclosed.png|600px|right]]
The Place hierarchy is also loaded as defined in the GOV database. This includes the {{man label|Enclosed By }} information which may be time-dependent as illustrated/ .
{{-}}
== ISSUES Issues ==* If the GOVIssues [https://gramps-id is not in English, an exception will occurproject. GOV-id's are only in Englishorg/bugs/search. php?project_id=8&sticky=on&sort=last_updated&dir=DESC&hide_status=90&tag_string=GetGOV&match_type=0 tagged GetGOV] on the Gramps Bug filed as Tracker.** {{bug|1022010773}}* If the GOVPlaces view shows all alternate names -id does not exist in the GOV database, a single place will still be created even those with that ID but blank name and Unknown type. Bug filed as different languages {{bugman warn|10220}}* If you use the [[Gramps_{{man version}}_Wiki_Manual_-_Tools#Reorder_Gramps_ID|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.}} == See also ==* [[Addon:GeoName]] - downloads place information from the GeoNames gazetteer. (This gramplet has been deprecated/replaced by [[Addon:PlaceCleanupGramplet]])
[[Category:Plugins]]
[[Category:Addons]]
[[Category:Developers/General]]