[OSM-talk] duplicate, clashing rendering of names
Andy Allan
gravitystorm at gmail.com
Mon Dec 10 16:52:17 GMT 2007
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.)
* Don't let anyone put you off, competition is a good thing. Do
whatever you want to.
* I would advise you to look at preprocessing for mapnik or
osmarender, rather than writing another renderer. The use of relations
for cycle maps is all done by preprocessing the relations back into
something approximating ways, rather than changing the render.
* Read my first comment again, it's the most important!
Cheers,
Andy
> 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 :-/)
>
>
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
>
More information about the talk
mailing list