Open main menu

Gramps β

Changes

Addon:Place completion tool

1,665 bytes added, 00:31, 28 December 2024
m
stop redirect
{{Third-party pluginaddon}}{{man warn|This tool is of limited use for Gramps 5.x series.|Please read the [[Place_completion_tool#Issues|Issues]] section. You should consider using the [[Addon:PlaceCleanupGramplet|Place Cleanup Gramplet]] instead.}}
{{out of date[[File:PlaceCompletion-Tool-Addon-50.png|page needs to be reworked and maybe split}}right|450px|PlaceCompletion - Tool - Addon - default dialog]]
[[Image:place_completion_tool_example1.pngThe {{man label|right|300px|Place completion tool]] A PlaceCompletion}} tool to bring the addon can import places in into your Gramps database in accordance with the Gramps requirements: batch add country, county; look-up latitude-longitude; set description (title); ...
This tool helps you fill in the place attributes like county, country, ..., by allowing you to select the places you work on, and do changes on all these places with one button click.
*Construction of a uniform title/description field, from the data in the place object.
Follow the installation details in the [[Addon:Place_completion_tool#Download|Download]] section for your version of Gramp.
== Usage Instructions ==
=== Download resources ===
{{stub}}<!--page needs to be reworked and maybe split-->
The place completion tool can look up for you latitude/longitude, add county information (USA), ... . For some of this functionality, you must download data files of the countries you are interested in. Right now you have three options:
{{man note|Note:|The geonames data of popular places is in English, so e.g. municipalities in Italy will be found, but Roma not, as this is Rome in English. To find data with these you need to search in the localised variants of the name (see below)}}
{{man warn|Warning:|DO NOT BETA TEST WITH USE ON YOUR RESEARCH DATA. EXPORT DATA FIRST TO HAVE A BACKUP. Before use [[How_to_make_a_backup#Gramps_version_3.3_and_later|backup]] your Family Trees.}}
=== Starting the tool ===
###All in decimal notation: use the decimal system to denote lat/lon.
###Correct -50° in 50°S: a much seen error is to use - for the classical degree notation, which is wrong, and which Gramps will not be able to interpret. With this option this error is looked for and corrected.
# A third option is to set attributes of all selected places. You can set the country, state, county, parish, zip/postal code and city attributes of all places in one sweep.
====Part 3. Overview of the results ====
====Part 4. Actions ====
After you have checked the changes in '''Part 3''', you can now apply them all with one button click, by clicking the ''{{man button|Apply'' }} button.
 Clicking ''Selecting {{man button|Help'' }} will bring you to this page, clicking {{man button|Close}} will close the ''ClosePlace completion tool'' will close the window and clicking ''{{man button|Google Maps'' } when an entry is selected in the results field has the same effect as pressing tab on an entry (see above).
== Example ==
We open the ''Place completion tool'':
[[ImageFile:place_completion_tool_example1Place completion tool example1.png|500px|left|Parse the Place Name Field]]Here we have selected ''{{man label|All Places''}}, and we parse '''Change the title as into'''as {{man label|City [,|.State] State''}}. Click on ''{{man button|Find''}}, quickly scan the data if all looks ok, and then click on ''{{man button|Apply''}}. You are notified that 851 places are updated443 place records were modified. This is one less that the number of places. Indeed, one place does have a different type of title: ''Puerto Rico'' has no state information. {{-}}
=== Step 2: Look-up latitude and longitude ===
We have downloaded the GeoNames datafiles for the USA states, and will now use that to complete the latitude and longitude of the data. At the same time, this will fill up the county field.
[[Image:place_completion_tool_example2.png|500px|left|Look up lat/lon for Alaska]] In the above screenshot, you see we have selected All Places with State=AK. In the second part of the window we give that we want to search in the AK_DECI.txt file downloaded from GeoNames, using the parsing method: ''GeoNames USA state file, city search''. Note that if you want to change AK into Alaska, this would be possble. Just set state=Alaska in the set attributes section of the window.
In the screenshot, you see we have selected All Places with State=AK. In the second part of the window we give that we want to search in the AK_DECI.txt file downloaded from GeoNames, using the parsing method: ''GeoNames USA state file, city search''.
{{-}}
Note that if you want to change AK into Alaska, this would be possible. Just set state=Alaska in the set attributes section of the window.
Do this now for all the states. Always check for doubles. Eg, for state ''AL'', going over the changes, we encounter:
==See also==
 
*[[Addon:GetGOV]] - download place information from the [http://gov.genealogy.net/search/index GOV gazetteer].
*[[Addon:GeoName]] - downloads place information from the [http://www.geonames.org/ GeoNames gazetteer].
*[[GeoCodes]]
== Download ==
* If you use Gramps 5.0 , then use the [[5.0_Addons|automatic installation]].* If you use Gramps 4.2 , then use the [[4.2_Addons|automatic installation]].* If you use Gramps 4.1 , then use the [[4.1_Addons|automatic installation]]. * If you use Gramps 3.4 , then use the [[3.4_Addons|automatic installation]]. * If you use Gramps 3.3 , then use the [[3.3_Addons|automatic installation]]. * If you use Gramps 3.2 , then use the [[3.2_Addons|automatic installation]].
=== Manual install ===
If you still use Gramps 2.2.5+, then you will need version 1.0 of the Place Completion Tool. You find it at [http://cage.ugent.be/~bm/varia/placecompletion_1_0.tar.gz placecompletion_1_0.tar.gz].
== Issues ==* None of the Actions in the tool work for Apple Mac {{bug|10004}} in 4.2 release. This is fixed in 5.x release.* For Gramps 5.x series please see notes [https://github.com/gramps-project/addons-source/pull/107 here] ** The most concerning is that this tool is quite outdated in our current place structure (for Gramps 5.x). While it works, the title change capability is of little utility for those users who use the automatic place title function. The new place hierarchy largely eliminates the need for this tool. Information is no longer duplicated, so we no longer get inconsistencies which need fixing. Also changes to all titles lower in the hierarchy can now be made by changing the name of a single place.** The whole tool is useless unless the user has already manually enclosed his places.(for Gramps 5.x)** The user can still use it for Lat/Long creation and update.(for Gramps 5.x) * Maybe replace GoogleMaps button (eg, http://open.mapquestapi.com/nominatim/) [[Category:Proposed Tool SpecificationsAddons]]
[[Category:Plugins]]
[[Category:Developers/General]]
[[Category:Tools]]
15,091
edits