Modify

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 Don-vip, 11 years ago

+1 for the id solution :)

comment:2 by stoecker, 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 bastiK, 11 years ago

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 by bastiK, 11 years ago

In 7177/josm:

see #9914 - add id to schema file

comment:5 by bastiK, 11 years ago

In 7186/josm:

see #9914 - automatic update for imagery entries using id

comment:6 by Don-vip, 11 years ago

Milestone: 14.06

comment:7 by bastiK, 11 years ago

In 7203/josm:

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

comment:8 by Don-vip, 10 years ago

is there still something to do on this ticket?

comment:9 by bastiK, 10 years ago

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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.