Opened 15 years ago

Last modified 12 years ago

#5315 new enhancement

Also show note=* for nodes/ways, not only for relations; DEFAULT_NAMING_TAGS_FOR_RELATIONS for nodes/ways — at Version 1

Reported by: Ldp Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description (last modified by simon04)

The relation editor and selection list currently show the contents of the note=* tag, among others<1>, when a name=* is not present, but does so only for relations.

Can this be expanded to also do the same thing for nodes and ways.

This would be especially useful in the Relation Editor, to be able to identify unnamed way and node members, if they do have a note=* set.

Also, it would be handy to expose DEFAULT_NAMING_TAGS_FOR_RELATIONS in the preferences, so people can add tags that are interesting for them. Same for nodes/ways, if the above is implemented, of course.

<1> Currently, DEFAULT_NAMING_TAGS_FOR_RELATIONS = "name", "ref", "restriction", "landuse", "natural", "public_transport", ":LocationCode", "note"

Change History (1)

in reply to:  description comment:1 by simon04, 12 years ago

Description: modified (diff)
Milestone: 14.02
Summary: Also show note=* for nodes/ways, not only for relations.Also show note=* for nodes/ways, not only for relations; DEFAULT_NAMING_TAGS_FOR_RELATIONS for nodes/ways

Also, it would be handy to expose DEFAULT_NAMING_TAGS_FOR_RELATIONS in the preferences, so people can add tags that are interesting for them. Same for nodes/ways, if the above is implemented, of course.

For relations they are, the preference key is relation.nameOrder. For ways/nodes, this feature requires some rework (see source:trunk/src/org/openstreetmap/josm/gui/DefaultNameFormatter.java in the code).

Since notes are sometimes quite long, I'm unsure whether it's helpful to display them in the selection list.

Note: See TracTickets for help on using tickets.