Modify

Opened 13 years ago

Closed 13 years ago

#6740 closed enhancement (fixed)

[Patch] Prefix imagery layer by country code

Reported by: simon04 Owned by: team
Priority: normal Milestone:
Component: unspecified Version:
Keywords: Cc:

Description (last modified by simon04)

I suggest to prefix the imagery layer with the 2 letter country code. This allows to quickly get an overview of available imagery in the preferences dialog as the entries are sorted alphabetically. For example, display Geoimage.at as "AT: Geoimage.at".

The easiest way I see is to prefix the name in Maps accordingly. Presumably, there is a more smart solution. :-)


Attachments (4)

prefix-by-country-code.png (105.4 KB ) - added by simon04 13 years ago.
maps.txt.bz2 (3.1 KB ) - added by simon04 13 years ago.
source csv file (compressed to get round the spam filters)
6740.patch (4.6 KB ) - added by simon04 13 years ago.
prefix-by-country-code.real.png (127.7 KB ) - added by simon04 13 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 by simon04, 13 years ago

Description: modified (diff)

by simon04, 13 years ago

Attachment: prefix-by-country-code.png added

by simon04, 13 years ago

Attachment: maps.txt.bz2 added

source csv file (compressed to get round the spam filters)

comment:2 by stoecker, 13 years ago

We already added bounding boxes to the imagery sources. A proper way to display these bounding boxes in the layer selection dialog would be much better than such a prefix. Probably a small world image which gets a bounding box overlay when a new layer is selected.

comment:3 by bastiK, 13 years ago

Source format has been changed to xml. You can add a property 'country-code' and display it in a separate table column.

by simon04, 13 years ago

Attachment: 6740.patch added

by simon04, 13 years ago

comment:4 by simon04, 13 years ago

Summary: Prefix imagery layer by country code[Patch] Prefix imagery layer by country code

Patch attached, screenshot below.

Any comments? Shall I await the new stable release before committing?



comment:5 by bastiK, 13 years ago

Looks good. Please no new features in stabilization phase, unless they fix a bug or there are other special reasons.

comment:6 by simon04, 13 years ago

Resolution: fixed
Status: newclosed

In [4405/josm]:

fix #6740 - prefix imagery layer by country code

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.