OSM objects tags to link with Osm.org URL
@ptigrouik suggests a way to link a OSM object from the picture's tags (see the discussion).
I suggest the following standard:
New tag category
The following qualifiers should be added to the presets:
Keys
-
osm[node]Icon : https://wiki.openstreetmap.org/wiki/File:Osm_element_node.svg
Label to display on the interface : Linked OpenStreetMap node
-
osm[way]Icon : https://wiki.openstreetmap.org/wiki/File:Osm_element_way.svg
Label to display on the interface : Linked OpenStreetMap way
-
osm[relation]Icon : https://wiki.openstreetmap.org/wiki/File:Osm_element_relation.svg
Label to display on the interface : Linked OpenStreetMap relation
Values
Accepted values should be OSM IDs, as documented in the wiki https://wiki.openstreetmap.org/wiki/Elements#Common_attributes
Impact on the interface
Example: osm[node]=2085947986would link to https://www.openstreetmap.org/node/2085947986 while clicked
Possible alternative
We could use the standard tag osm|node;way;relation instead of the qualifier. It could therefore apply to the whole picture. But I think we should avoid that. Or save for later the invention of a new dedicated tag for the "objects existing in this picture"?