[josm-dev] composing display name for relations from operator ref name from via to

Jo winfixit at gmail.com
Sat Oct 15 11:31:55 BST 2011


Hi,

I've been looking at
http://josm.openstreetmap.de/browser/josm/trunk/src/org/openstreetmap/josm/gui/DefaultNameFormatter.java

Now I'm going to propose something that may be completely ludicrous.
I've been creating name tags which duplicate information from other
tags - which is not so nice - in order to have the route relations
sort nicely in the relation list.

Could the display name for the relation list be composed from (pseudo code):

operator + '/' + network + ' ' + ref + ' ' + from + ' - ' + via + ' - ' + to

Or is such a thing completely out of the question? I can try to come
up with a patch myself, but I'd like to know first, if it even stands
a chance of being accepted, before I start setting up a josm
development environment. This is, of course, quite specific to public
transportation routes.

Kind regards,

Polyglot



More information about the josm-dev mailing list