Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering roof parts without volumes #165

Open
Tntnnbltn opened this issue Aug 15, 2023 · 1 comment
Open

Rendering roof parts without volumes #165

Tntnnbltn opened this issue Aug 15, 2023 · 1 comment
Labels
feature request New feature or request

Comments

@Tntnnbltn
Copy link

When rendering certain roof types, such as gabled or skillion, a partial segment of wall is rendered with that shape, e.g. the triangular wall sements for a gabled roof, or a wedge shape for skillion. It also renders a face along the bottom of the object.

There are certain situations where it would be nice to be able to render the roof without this wall or bottom face, to reflect the appearance of the actual object. For example:

roof:shape=gabled:
image

roof:shape=skillion:
image

roof:shape=skillion (to the left):
image

These shapes can be approximated in streets.gl already (despite having the partial wall face), but having the ability to control this would allow for more accurate rendering of objects. e.g. F4maps currently does not render any side walls if tagged as building:part=roof, which allows this veranda to be modelled.
image

Possible existing tags that could be used to guess author intent include:

  • building:part=roof. (vs. mapping as building:part=yes and including data for roof:shape and roof:height)
  • wall=no

Note: There are example of situations where the wall face should be rendered, so any change should take this into consideration.
image

@StrandedKitty StrandedKitty added the feature request New feature or request label Aug 18, 2023
@waldyrious
Copy link

There are example of situations where the wall face should be rendered, so any change should take this into consideration.

Are there existing tagging practices for indicating whether this face should be present or not? According to the diagram in Simple 3D Buildings § Terminology in the OSM wiki, it seems like the correct term for this wall face is "gable". Taginfo shows two tags that perhaps are used with this goal: roof:gable=yes/no and building:gable_wall=yes/no.

If I'm reading the Wikipedia article correctly, the former should represent only the triangular shape in the roof, using in the same material as the roof (so this would match the situation you illustrated above), whereas the latter would represent the entire wall extending upwards in a triangular shape to meet the roof, i.e. the triangle bit has the same material as the wall.

Does this sound correct to you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants