[OSM-talk] Rendering street names across several ways

Jukka Rahkonen jukka.rahkonen at latuviitta.fi
Fri Jul 2 11:33:56 BST 2010


andrzej zaborowski <balrogg <at> gmail.com> writes:

> I think the rules for joining segments by osm2pgsql should be something like:
> * name='s are equal,
> * highway/railway/waterway/aeroway class is equal (however I wouldn't
> mind osm2pgsql joining a 3-segment way where the middle segment is
> shared with a tramway)
> * only two such ways meet at the common node -- not a Y type of
> junction where all three ways have identical names & classes.
> * (possibly) not divided by a crossing with a higher class way,
> * (possibly) not meeting at a narrow angle
> * oneway='s are equal (or inverse, in case the ways have opposite directions),
>      * unless it's a zoom level where the oneway arrows are invisible.


Hi, 

I hope that if osm2pgsql will have this kind of Mapnik specific import rules,
they would be optional. People are using osm2pgsql also for other purposes than
Mapnik rendering.

-Jukka Rahkonen-





More information about the talk mailing list