[OSM-talk] Rendering street names across several ways

Andy Allan gravitystorm at gmail.com
Fri Jul 2 10:00:40 BST 2010


On Fri, Jul 2, 2010 at 2:42 AM, Roy Wallace <waldo000000 at gmail.com> wrote:
> Say you have two connected ways:
>
> name=Foo Street
> lanes=2
>
> and
>
> name=Foo Street
> lanes=4
>
> You don't want to "join these ways" with osm2pgsql before rendering,
> because you want to render them differently. You probably do, however,
> want them to share a name label. Right?

Yes, this is the issue at hand. For some properties (most often names,
but also things like shields) you want to join just that property into
a longer linestring. I would suggest this is done in osm2pgsql, but as
yet I haven't figured out a good approach. I think it might involve a
bit of rethinking the way that osm2pgsql works.

Cheers,
Andy




More information about the talk mailing list