[OSM-talk-be] naming tramlines

Ben Laenen benlaenen at gmail.com
Thu Apr 23 12:45:59 UTC 2009


On Thursday 23 April 2009, Maarten Deen wrote:
> ldp at xs4all.nl wrote:
> >> ah yes. Once again didn't think about the info that's included -
> >> but invisible - already.
> >
> > But which would need some work to be available to the renderer.
> > osm2pgsql should take the info from the relations and 'flatten' it
> > into the physical tramline data. For bonus points: preserve an
> > existing name, and append the tramline numbers. For extra bonus
> > points: keep the tramline numbers ordered.
>
> What a renderer should do is take a key from the way and the relation
> and concatenate them using a separator character.
> Both the key name and the separator character should be specified in
> the rendering rules. And if a namerendering like this is required of
> course. And if and how they should be sorted.
>
> But for as long as such a rendering is not made, I would not object
> to putting the linenumbers in the name tag of the way. It is very
> useful information, and can be weeded out quite easily if a future
> render can use the relations.

-1. Improve the renderers, period. And if some rendering doesn't want to 
show the tram numbers, then we shouldn't force them by using tags that 
weren't meant for it. We're also not adding the bus numbers on street 
names or train numbers on railway tracks just because they might be 
useful, right?

Ben




More information about the Talk-be mailing list