[OSM-talk] duplicate, clashing rendering of names

80n 80n80n at gmail.com
Mon Dec 10 18:10:30 GMT 2007


On Dec 10, 2007 5:16 PM, Abigail Brady <morwen at evilmagic.org> wrote:

> On Dec 10, 2007 3:21 PM, Cameron Patrick <cameron at patrick.wattle.id.au>
> wrote:
>
> > 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.
> >
>
> This stuff would be good as a pre-processor to osmarender, I reckon.
> While you are there, you might also ponder the problem of drawing dual
> carriageways at lower zoom levels where the lines representing the
> carriageways overlap (it really ought to be drawing a little line in the
> casing colour representing the central reservation, which requires
> synthesising an intermediate line based on the left and right ones).
>

Once you have a relation that associates two parallel-ish ways then
rendering only a single road name, and proper dual-carriageways at low zoom
levels becomes a simple matter of programming (even for Osmarender).

80n (who is unlikely to have any time for the rest of this year to do even
simple programming).




>
> --
> Abi
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20071210/4477d07c/attachment.html>


More information about the talk mailing list