# Trouble generating buildings with real-life footprint shapes

Question asked by raze on Sep 23, 2014
Latest reply on Sep 26, 2014 by raze

Hi.

I went through the examples and while they work fine on their own, I can't really apply the procedures when I have to work with real-life building shapes. Principles like front and side facades become quite useless when most of the buildings I'm dealing with look like they do in the image below.

What would be the most elegant and time saving solution to model this building? Is there a way to see the facade count of every building? My current solution is to use the comp.index in a rule, like this:

Building--> comp(f){side: facade(comp.index)  | top: Roof}

...

else..

What this basically does is blindly checking for up to 20 walls and applying a rule. Every "Wall?" is a rule that applies a texture with a number on it. I then locate the highest number visually and going from there I construct/apply rule blocks, reusing them where possible. Surely there must be a better way than this?

Another problem are splits. Height is fine, as I can use the value from the attribute table I already used for the extrusion to calculate accurate splits. However, I'm obviously lacking that attribute for length for every wall. I thought CE could tell me the measurements (like for the selected wall below) but I can't seem to find them anywhere. How can I access them, if at all? I know I can use tildes in splits to at least fill a facade with a variable width split completely, but I'd like to be more accurate with the vertical splitting.

Finally, I'm plagued by roofs. Irregular shapes like the one above screw up even simple roof geometry. As you can see from the aerial image, it's two buildings joined together. The footprint is one shape. I tried to eyeball a split hoping to find a solution but it didn't help. The walls aren't perfect 45° angles either. The best solution would be a split from the corners along the line I marked in the image, would that be possible? Yes I know I could edit the shapes in ArcMap, but I'd like to avoid tampering with the base data if possible.

Any help is welcome, even random ideas