Skip to main content
Question

Assign Z value for rooflines

  • July 3, 2020
  • 2 replies
  • 10 views

v.martin_96

Hi,

We have as input a shapefile containing roof polygons.

We would like to modify certain lines of these polygons such as the gutter and ridge lines.

We would like to modify the value of lines which are almost horizontal to make them horizontal ! At the end we should have Z1=Z2, Z3=Z4 and Z5=Z6.

 

Our script is joined. We tried to extract the vertices of the polygons, modify them and then rebuild the roof. It works for simple buildings with 1 roof section but not for more complex buildings with 4 roof sections, for example.

Is there anyone who have a solution ? maybe without extraction of the vertex ?

Thank you in advance.

Victor

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

takashi
Celebrity
  • 7843 replies
  • July 4, 2020

Could you post a sample roofprint dataset?


Forum|alt.badge.img+2
  • 194 replies
  • July 4, 2020

To get your started, you can use a Chopper on the roof, calculate the area, and isolate the edges. From there, you could create buffers of the edges, clip to get cleaner edges, set Z, and then bring them back together with the original data. It should work no matter how complex the roof is.