add_place
Create a typed, parented place in Gramps Web, preventing untyped duplicates that arise when places are added as side effects of event naming.
Instructions
Create a place deliberately, with a type and a parent.
Use this instead of letting a place appear as a side effect of naming one in an event. That route produces an untyped, unparented place whose title is the bare string you typed, which is how duplicate hierarchies start.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Postal or FIPS code. | |
| name | Yes | The place's own name, e.g. 'Cedar Flat'. | |
| title | No | Full display title, e.g. 'Cedar Flat, Brannock, Ohio, USA'. Defaults to the name. This is what event place matching compares against, so set it properly. | |
| parent | No | Handle or gramps_id of an existing enclosing place. Must already exist — it is never created for you. | |
| latitude | No | Latitude, decimal degrees. | |
| longitude | No | Longitude, decimal degrees. | |
| place_type | No | Gramps place type: Town, City, County, State, Country, Parish, Cemetery, and so on. |