Skip to main content

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

Could you post a sample roofprint dataset?


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.

 

 

 


Reply