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

2011-10-15 Thread Jo
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 -

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

2011-10-15 Thread Paul Hartmann
On 10/15/2011 12:31 PM, Jo wrote: > 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 infor

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

2011-10-20 Thread Paul Hartmann
On 10/21/2011 12:00 AM, Jo wrote: > Hi Paul, > > He created a wiki page: > > http://josm.openstreetmap.de/wiki/NameTemplate > > Which I took the liberty to correct and beef up a little. I have no > idea if the order of items is still logically built up though, but it > should clarify the usage o

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

2011-10-20 Thread Jiri Klement
Hi, Extending name template to work with parent relations or members or any other related primitives shouldn't be too difficult, general idea is to add new construct that will have search expression to select from which primitive should be tags taken and inner name template. Query that gets name