StrandedKitty / streets-gl

🗺 OpenStreetMap 3D renderer powered by WebGL2
http://streets.gl
MIT License
658 stars 49 forks source link

Conflicting area:highway=footway with sidewalk rendering #108

Closed Discostu36 closed 1 year ago

Discostu36 commented 1 year ago

Describe the bug area:highway=footway and sidewalk tags are both rendered at the same time. This can lead to cases of a sidewalk being rendered twice, in the correct and incorrect location.

Expected behavior When there is an area:highway=footway area close to a street, the sidwalk rendering on that side of the street should be canceled. Another solution would be to also render other area:highway tags so that they can overwrite the sidewalk rendering of the way.

Map location https://streets.gl/#54.32602,10.11757,28.26,9.47,26.02

Screenshots grafik

System information

ivanbranco commented 1 year ago

This looks like a lack of detail in OSM-database-side to me, not a rendering problem. A highway=footway should be drawn inside the area:highway ("in addition to highway=footway way tagged through their middle")

Is there a editing standard in Germany about mapping/not-mapping sidewalks as separate highways?

Discostu36 commented 1 year ago

In Germany, sidewalks are usually only drawn as separate way if they are physically seperated from the carriageway (e.g. by grass, parking bay or similar)

StrandedKitty commented 1 year ago

You should use sidewalk:both=separate to specify that a sidewalk is mapped using a separate way. See https://wiki.openstreetmap.org/wiki/Key:sidewalk

Discostu36 commented 1 year ago

I know, but it isn't here.

ivanbranco commented 1 year ago

You should use sidewalk:both=separate

This tag is to be used when there's a separate highway=footway, not a separate area:highway=footway

In Germany, sidewalks are usually only drawn as separate way if they are physically seperated from the carriageway

A kerb isn't enough?

Discostu36 commented 1 year ago

A kerb isn't enough?

Most editors think it isn't, but there is no clear consensus. A renderer should work with both tagging practices.

waldyrious commented 1 year ago

This tag is to be used when there's a separate highway=footway, not a separate area:highway=footway

IIUC an area:highway=footway should still have a linear highway=footway along its centerline (or the main path(s) within the area). From the wiki:

Don't create an area:highway=footway area without also creating a linear highway=footway way along the centerline of the footway.