Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

[roads] Render highway areas properly #2229

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 4 comments
Closed

[roads] Render highway areas properly #2229

openstreetmap-trac opened this issue Jul 23, 2021 · 4 comments

Comments

@openstreetmap-trac
Copy link

Reporter: Pecisk
[Submitted to the original trac issue database at 7.56am, Thursday, 27th August 2009]

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

@openstreetmap-trac
Copy link
Author

Author: Ldp
[Added to the original trac issue at 11.05am, Monday, 31st August 2009]

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.

@openstreetmap-trac
Copy link
Author

Author: ezekielf[at]gmail.com
[Added to the original trac issue at 2.21pm, Saturday, 4th September 2010]

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.

@openstreetmap-trac
Copy link
Author

Author: dieterdreist
[Added to the original trac issue at 1.29pm, Friday, 18th February 2011]

Replying to [comment:2 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.

@openstreetmap-trac
Copy link
Author

Author: math1985
[Added to the original trac issue at 11.50pm, Saturday, 3rd May 2014]

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant