Modify

#6740 closed enhancement (fixed)

[Patch] Prefix imagery layer by country code

Reported by: simon04 Owned by: team
Priority: normal 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 21 months ago.
maps.txt.bz2 (3.1 KB) - added by simon04 21 months ago.
source csv file (compressed to get round the spam filters)
6740.patch (4.6 KB) - added by simon04 21 months ago.
prefix-by-country-code.real.png (127.7 KB) - added by simon04 21 months ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 21 months ago by simon04

  • Description modified (diff)

Changed 21 months ago by simon04

Changed 21 months ago by simon04

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

comment:2 Changed 21 months ago by stoecker

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 Changed 21 months ago by bastiK

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

Changed 21 months ago by simon04

Changed 21 months ago by simon04

comment:4 Changed 21 months ago by simon04

  • Summary changed from Prefix imagery layer by country code to [Patch] Prefix imagery layer by country code

Patch attached, screenshot below.

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



comment:5 Changed 21 months ago by bastiK

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

comment:6 Changed 21 months ago by simon04

  • Resolution set to fixed
  • Status changed from new to closed

In [4405/josm]:

fix #6740 - prefix imagery layer by country code

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.