Opened 11 years ago
Closed 10 years ago
#9914 closed enhancement (fixed)
automatic update for imagery entries
Reported by: | bastiK | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 14.06 |
Component: | Core imagery | Version: | |
Keywords: | Cc: |
Description
Automatic update (based on file name) is already working for tagging presets and map styles and should be implemented for imagery entries as well.
E.g. recently max zoom for Mapbox has been changed from 17 to 19. However, the imagery entry in my preferences is stuck at 17 even after refresh of the imagery list. You have to remove the entry and re-add it manually, this is not very user friendly.
One problem with this is, that we do not have a stable identifier:
- URL can change when the server is moved or reconfigured
- Name entry changes for various reasons
Possible solution: Introduce new attribute id
.
This can be optional at first. It is of course slightly redundant w.r.t. the name attribute, but would have multiple uses:
- automatic update of imagery entries
- stable cache id, nicer directory name for file cache
- more suitable entry for the changeset source tag
Note, that the iD imagery database is originally based on JOSM's list and they have decided to add an id
attribute: see here
This is used in the changeset comment (imagery_used=...
), e.g. here.
If we adopt this scheme and synchronize the ids with iD, this would be nice for statistical analysis.
Attachments (0)
Change History (9)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
If we use such an id, we need to change the server code verification, so that it is ensured, that really each entry has another id. Otherwise we'll have copy&paste problems.
comment:3 by , 11 years ago
In any case we have to check on the client, that the id
s are unique. If not, you'd get a warning on the console and the second entry is skipped. Maybe this is enough. (Server check would be even better of course.)
comment:6 by , 11 years ago
Milestone: | → 14.06 |
---|
comment:9 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Automatic update is complete. The two other ideas in the first post are independent projects, so can be closed for now.
+1 for the
id
solution :)