Opened 6 years ago
Last modified 3 years ago
#18258 closed enhancement
[RFC PATCH] Allow end user to know what the original id of a feature was — at Version 1
| Reported by: | taylor.smock | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 20.06 |
| Component: | Core | Version: | |
| Keywords: | split way, original id | Cc: |
Description (last modified by )
There are two options:
1) Set the id of the object to the "original" id
2) Add a tag with the "original" id. This would have to be a "well-known" tag to avoid other people using it (current_id probably isn't a good choice, maybe xml_current_id?).
For the attached patch, I did the latter. There are some unit tests, but one is deliberately failing until a strategy is decided upon.
Change History (4)
by , 6 years ago
| Attachment: | 18258.patch added |
|---|
by , 6 years ago
| Attachment: | 18258.1.patch added |
|---|
Add generic unit tests, with a test that will fail until a strategy is decided upon (at which point it will need to be modified)
comment:1 by , 6 years ago
| Description: | modified (diff) |
|---|
by , 6 years ago
| Attachment: | 18258.2.patch added |
|---|
Actually save the variable passed in the constructor...



Implementation of (2) (no unit tests)