Changes

Jump to: navigation, search

Addon:PlaceUpdate Gramplet

281 bytes added, 20:08, 28 June 2022
m
minor language issue
{{Third-party plugin}}
[[File:PlaceUpdate-Gramplet-Addon-103.png|right|thumb|450px|PlaceUpdate Gramplet - Data entry - detached view]]
The {{man label|PlaceUpdate}} Gramplet was created allows you to manipulate and change properties of multiple places at the same time.
The properties that can be changed are:
* Enclosing Place
Place names can be edited by substituting substrings sub-strings with new values.
The gramplet can also generate a place hierarchy from place names or titles.
=== Setting enclosing place ===
For the enclosing place first select the place that should enclose the other places and click the {{man button|Select enclosing place}} button. The selected place {{man label|Select Place}} selector will be displayedand you can select your place. Then select any number of places that should be enclosed by the first one and click the "{{man button|Apply to selected places" }} button.
A place might already have an enclosing place. In that case the new place will be added and the place will end up being enclosed by multiple places. This is quite OK ok but you can also remove the previous enclosing places by checking the box "{{man label|Clear original enclosing places"}}. This can e.g. be used to "move" the places under another place.
Attempts to set a duplicate enclosing place or a loop (so that a place contains itself) are quietly bypassed.
[[File:PlaceUpdateGramplet-Addon-example-51.png|right|Thumb|450px]]You can also set the type of the selected places or assign any tag if needed. The operations can be combined so that e.g. the place type and enclosing place can be set at the same time. Type and tag can be selected from pre-existing ones or you can type a new name if needed.
Any existing tags can also be first removed if the "{{man label|Clear tags" }} checkbox is marked. Otherwise the new tag is added to the set of the tags for the places.
If the enclosing place, type or tag is not specified, then the corresponding setting is not changed.
=== Editing place names ===
The "{{man label|Replace text" }} function allows substituting a specified text string in the place names with another. Regular expressions can also be used.
Example
Select "United States" as the new enclosing places and select the three states. Set the place {{man label|Place type :}} to "State":
Setting enclosing place
Click "{{man button|Apply to selected places"}}. The result is:
Setting enclosing place
== Notes ==
The "{{man button|Clear selections" }} button will clear the form.
All changes are done under a transaction and they can be undone from the Gramps menu "{{man menu|Edit > Undo Setting place properties"}}.
This gramplet does not have direct support for filters. The "Filter" gramplet can be used to search for the places that need changes.
Author: [email protected] (19 Jan 2020)
 
==Issues==
* Help button goes to https://gramps-project.org/wiki/index.php?title=Gramps_5.1_Wiki_Manual_-_Gramplets#PlaceUpdate
[[Category:Plugins]]
[[Category:Developers/General]]
[[Category:Gramplets]]

Navigation menu