Modify

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#15952 closed enhancement (wontfix)

In Imagery Preferences add a button to help find and delete obsolete entries

Reported by: jidanni Owned by: team
Priority: minor Milestone:
Component: Core imagery Version:
Keywords: Cc:

Description (last modified by Klumbumbus)

In Imagery Preferences please add a button that would comb for obsolete
entries like the first of

    <map>
      <tag key='name' value='MapBox Satellite'/>
      <tag key='type' value='tms'/>
      <tag key='url' value='http://{switch:a,b,c}.tiles.mapbox.com/v3/openstreetmap.map-4wvf9l0l/{zoom}/{x}/{y}.png'/>
      <tag key='max-zoom' value='17'/>
      <tag key='projections' value=''/>
      <tag key='icon' value='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAYJWlDQ1BJQ0MgUHJvZmls
    </map>
    <map>
      <tag key='name' value='Mapbox Satellite'/>
      <tag key='id' value='Mapbox'/>
      <tag key='type' value='tms'/>
      <tag key='url' value='https://{switch:a,b,c,d}.tiles.mapbox.com/styles/v1/openstreetmap/cj8gojt0i1eau2rnn7q4mdgu7
      <tag key='attribution-text' value='Terms &amp; Feedback'/>
      <tag key='attribution-url' value='http://www.mapbox.com/about/maps/'/>
      <tag key='permission-reference-url' value='http://wiki.openstreetmap.org/wiki/Vertical_Aerial_Photographs#Digital
      <tag key='max-zoom' value='22'/>
      <tag key='cookies' value=''/>
      <tag key='projections' value=''/>
      <tag key='icon' value='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAhFBMVEVHcEz///9CZPtp...

as seen in ~/.josm/preferences.xml .

Here we see a lack of 'id' etc. tags, as well as a duplicate 'name' etc.
hints...

So perhaps this comb function could "mark" them, and then the user could
hit the trash can button to delete them all.

One finds the obsolete entries came from the obsolete cache files in #15951.

But removing the obsolete cache files and restarting JOSM doesn't help
to remove the obsolete entries.

OK maybe that is what the white entries in #15949 are.

In this case there should be a "mark all white entries" button, so one
could subsequently delete them all.

And then there are also white ones in the upper box, above the "V Activate" button...

Attachments (0)

Change History (5)

comment:1 by jidanni, 8 years ago

OK I guess for the lower window at least, the user can easily CTRL-click all the white ones and then click the trash can.

comment:2 by Klumbumbus, 8 years ago

Description: modified (diff)

comment:3 by Klumbumbus, 8 years ago

Green means an activated default entry.

The default list can be updated by the reload button on the right (it is also done automatically, I think at every josm start).

The users list (lower list) can be manually edited by the user.

comment:4 by stoecker, 8 years ago

Resolution: wontfix
Status: newclosed

JOSM takes care of cleanup of old entries. It will not touch anything which is user-manipulated. The green/white colour is an indication for cleanup in these cases.

comment:5 by Klumbumbus, 8 years ago

The id was invented to automatically update activated default entries. So if you have entries without id then they are either pretty old from before the id era or you added them yourself manually. The user must decide which he wants to delete or keep.

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.