Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#6477 closed enhancement (fixed)

Open a link on a ref:*=* tag — at Version 1

Reported by: FrViPofm Owned by: team
Priority: normal Milestone:
Component: Plugin Version:
Keywords: Cc:

Description (last modified by simon04)

An idea of improvment. For the core or for a plugin...

A lot of elements have tags like ref:*=*, wikipedia=*, that could be linked to a web page.

On mapping those links could be useful to get information on the element and improve it.

It should be interesting to have a way to store strings with a template of the link where a patern (e.g. $1) would be replaced by the value of the tag. When such an element is active, the link is available to open the coresponding page on the browser.

For each service, tree values would be sotred :

  • the name of the tag
  • the name for the GUI
  • the template of the url

Some examples :

I'm unable to develop this kind of stuff. But it would not be too difficult to reuse the code of the information, or history buttons.

Change History (1)

comment:1 by simon04, 14 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed

The plugin Tag2Link appears to provide this suggested enhancement.

http://wiki.openstreetmap.org/wiki/JOSM/Plugins/Tag2Link

Note: See TracTickets for help on using tickets.