[OSM-talk] duplicate, clashing rendering of names

Cameron Patrick cameron at patrick.wattle.id.au
Mon Dec 10 15:21:31 GMT 2007


Chris Hill wrote:

> This is one of the improvements that relations promise to bring.  The
> idea is that you make both carriageways part of a relation with
> type=dual_carriageway and the renderer then only labels it once.  As
> yet it doesn't seem to work, but I guess it will in the future..  

It's easy enough to recognise dual carriageways programmatically - I've
written OSM rendering code that does it.  (It's not published anywhere
and needs to be updated for the 0.5 API.  If anyone is interested, let
me know - last time I offered people seemed to say "we already have two
renderers, please don't confuse things furhter" which is fair enough.)

I've also been meaning to experiment with rendering algorithms that
break up long ways and merge short adjacent ones with the same name.
The only tricky bit with that one is maintaining consistency at tile
boundaries.

Cameron (who hasn't actually done anything for OSM besides post to the
mailing lists in quite a while :-/)





More information about the talk mailing list