Opened 10 years ago

Closed 5 years ago

#2229 closed defect (invalid)

[roads] Render highway areas properly

Reported by: Pecisk Owned by: mapnik-team@…
Priority: minor Milestone:
Component: mapnik Version:
Keywords: Cc:

Description

For highway=living_street when I create area with tag "area = yes", then when rendering in mapnik these areas they look very very awkard due of different line widths used for drawing normal highways and areas. Can it be fixed so road can be one side of the area and it would be rendered then correctly.

For example how look areas with one side used also as highway, see here: http://www.openstreetmap.org/?lat=56.814328&lon=24.597712&zoom=18&layers=B000FTF

Change History (5)

comment:1 Changed 10 years ago by Ldp

You are connecting a road defined as just a vector without any surface in the db with an area defined as the exact outline (and thus with a surfac area). These are 2 different concepts, and especially when you connect them at corners, as you have done, visual misalignments will result.

I suggest you connect the roads further away from the corners, along the edges. This also corresponds more closely to how they connect in real life, as I don't think the road center line connects to the corner of the area.

I don't see exactly how the renderer can correct for this, currently.

comment:2 Changed 9 years ago by ezekielf@…

Priority: majorminor

Not sure if this is what Pecik was talking about, but besides the misalignment (which the renderer can't fix), I notice that the living streets represented as ways are grey with a thin white casing while those represented as areas are the same grey but do not appear to have the white casing. Putting the white casing around the areas would make things look better in my opinion. In fact, in that same area I notice that service roads represented by ways and by areas both are white with a thin grey casing and the visual effect is nicer.

Visual misalignment will have to be dealt with by mappers though, I think.

comment:3 in reply to:  2 Changed 8 years ago by dieterdreist

Replying to ezekielf@…:

Not sure if this is what Pecik was talking about, but besides the misalignment (which the renderer can't fix),... Visual misalignment will have to be dealt with by mappers though, I think.

It is not "visual" misaligment, it is actual wrong alignment by the mapper. The usual highway-line represents the center of the road and should connect to the area where the center of the road intersects with the area. This is only in very rare cases the corner.

comment:4 Changed 5 years ago by math1985

Summary: Render highway areas properly[roads] Render highway areas properly

comment:5 Changed 5 years ago by math1985

Resolution: invalid
Status: newclosed

This seems to be a tagging error, so I will close this issue.

Note: See TracTickets for help on using tickets.