Open main menu

Gramps β

Changes

He:מדרג מיקום

168 bytes added, 16:36, 22 May 2021
Translation
== מבנה מיקומים חדש ==
 
=== אוביקט מקום ===
במקום להכיל מיקום ראשי, אובייקטי מקום מסודרים כעת מדרגבמדרג. הם כוללים ארבעה שדות חדשים:
* name
* code (מיקוד / מספר טלפון)
Places are linked to parent places via מקום מקושר למקום-הורה על ידי אובייקטי PlaceRef objects. These contain a handle to a parent place and a Dateאלה מכילים קישור למקום-הורה ולתאריך. Places may have multiple parent placesלמקום מסויים יכולים להיות מספר מקומות-הורה, או, or no parent place if they are top-level placesבמידה והמקום הוא ברמה העליונה (הוא ההורה) ללא הורים כלל. The first entry in the list is deemed to be the primary parentהערך הראשון ברשימה נחשב כהורה העיקרי.
The type of a place is stored in a GrampsType called PlaceType.
The code field is provided to store a code associated with the place. This could be a country code, state abbreviation, Chapman county code etc... The database upgrade will assign the postal code and/or phone number to this field.
=== Utility functions פעולות כלים ===
To obtain a location description for a place, a path to a top-level place must be traversed. There are a few utility functions in gen.utils.location for this purpose:
Determines each possible route up the place hierarchy, and returns a list containing dictionaries of place types and names. Each list element represents a separate path up the hierarchy.
=== Database מסד נתונים ===
The Place tree view displays the place hierarchy using primary parents. A new tree cursor provides the view with place records in top-down order, which greatly simplifies the code. Every node in the tree view represents a Gramps place.
Both the place tree cursor and ''find_place_child_handles'' method use an index on the primary parent called place_parent.
=== Unchanged ללא שינוי ===
The place object still contains a title field. This contains a full description of the place and is used in most reports.
Alternate locations have not been converted into new places in the hierarchy.
=== What nextמה הלאה? ===
* Do we want to use the new widgets demonstrated in the prototype?
* Should we support Gedcom 5.5EL? See Feature Request:{{bug|688}}
== See also ראו גם ==
* [[GEPS 006: Better Place handling]]
* [[Gramps_{{Version manual}}_Wiki_Manual_-_Settings#Place_Format_Editor]]
6,817
edits