Modify

Opened 6 years ago

Closed 5 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 Changed 6 years ago by Don-vip

+1 for the id solution :)

comment:2 Changed 6 years ago by stoecker

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 Changed 6 years ago by bastiK

In any case we have to check on the client, that the ids 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:4 Changed 5 years ago by bastiK

In 7177/josm:

see #9914 - add id to schema file

comment:5 Changed 5 years ago by bastiK

In 7186/josm:

see #9914 - automatic update for imagery entries using id

comment:6 Changed 5 years ago by Don-vip

Milestone: 14.06

comment:7 Changed 5 years ago by bastiK

In 7203/josm:

fixed #10088 - Can't use custom TMS layer anymore (see #9914)

comment:8 Changed 5 years ago by Don-vip

is there still something to do on this ticket?

comment:9 Changed 5 years ago by bastiK

Resolution: fixed
Status: newclosed

Automatic update is complete. The two other ideas in the first post are independent projects, so can be closed for now.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.