Parameters
| Name | Type | Mode |
|---|---|---|
| _schema_name | text | IN |
| _table_name | text | IN |
| _feature_id_a | integer | IN |
| _feature_id_b | integer | IN |
Merge two linestring features of the same table.
The feature A, chosen first by the user, is kept with its field values and gets the merged geometry, in the road direction. The feature B is deleted.
If the table has the references fields, the references of the feature A (and its cumulative distances if the fields exist) are calculated from the merged geometry, in the road direction.
The lines connected to the features are not modified by the trigger trg_update_managed_object_linked_geometries.
It returns a JSON object with the keys status (success or error) and message.
| Name | Type | Mode |
|---|---|---|
| _schema_name | text | IN |
| _table_name | text | IN |
| _feature_id_a | integer | IN |
| _feature_id_b | integer | IN |