Hi,

On 1 July 2010 12:32, Ilya Zverev <zve...@textual.ru> wrote:
> Although Mapnik does not repeat names, it repeats ref for trunks:
> http://www.openstreetmap.org/?lat=57.69949&lon=28.33726&zoom=16&layers=B000FTF
> (scroll it north/south)
>
> So I don't think repeating names would be a problem. The fact that Mapnik
> doesn't do this looks like a bug: on long streets it's sometimes hard to
> find a name.

Yeah, it seems cloudmade layers do repeat names (maps.cloudmade.com)
and it's a nice feature.  They don't join segmented ways though.

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.

Cheers

_______________________________________________
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk

Reply via email to