[josm-dev] composing display name for relations from operator ref name from via to
Paul Hartmann
phaaurlt at googlemail.com
Fri Oct 21 00:57:24 BST 2011
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 of the feature at least. He has been very
> helpful to get me going, but he didn't change the wiki page any more.
> I hope he's happy with it.
Looks good, your improvements are very welcome!
> Of course, now I asked him to go one step further and whether it's
> possible to use tags from parent relations in the displayed name. (I
> guess not, but it would be useful for route relations which are part
> of network relations). In fact this is what one contributor in Belgium
> proposes to have as the name of hiking node network routes. ZD 10-12
> (Zuid-Dijleland from node 10 to node 12) and another user (old timer)
> opposes this, since his reasoning is that these routes simply don't
> have names. So the 10-12 has to go into 'note'. This then gives
> problem in Potlatch, since they simply display the long integer ID, if
> the route has no name, but that is another discussion altogether :-)
I think inclusion of parent relation tags is too specialized and
complicated for a general scheme. You could however write a
(minimalistic) plugin, that handles the formatting.
The necessary hooks are already implemented (see
http://josm.openstreetmap.de/ticket/6535)
Paul
More information about the josm-dev
mailing list