6,817
edits
Changes
From Gramps
Translation
== מבנה מיקומים חדש ==
=== אוביקט מקום ===
במקום להכיל מיקום ראשי, אובייקטי מקום מסודרים כעת מדרגבמדרג. הם כוללים ארבעה שדות חדשים:
* name
* code (מיקוד / מספר טלפון)
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]]