Changes

Jump to: navigation, search

Addon:Place completion tool

No change in size, 08:51, 29 July 2015
no edit summary
{{Third-party plugin}}
[[File:File:Place completion tool example1.png|right|300px|Place completion tool - Example Results]]
A tool to bring the places in your Gramps database in accordance with the Gramps requirements: batch add country, county; look-up latitude-longitude; set description (title); ...
====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'':
[[File:Place completion tool example1.png|500px|rightleft|Parse the Place Name Field]]
Here we have selected {{man label|All Places}}, and we '''Change the title into''' as {{man label|City [,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 443 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.
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:
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].
[[Category:Proposed Tool Specifications]]
[[Category:Plugins]]
[[Category:Developers/General]]
[[Category:Tools]]

Navigation menu