Hi everyone, This is a bit of a tricky one...
I need to convert some buildings (9-10 vertices apiece) to perfect rectangles (in FME terms, 5 vertices), with 90 degree (or as near as makes no odds) corners. I will then need to extract the vertices, but that I can do... Any ideas? Unfortunately all the corners on the buildings are pretty much 90 degrees, so all the simplifying procedures seem to be fairly indiscriminate about which vertices to remove. I'm not overly familiar with what the different tools (AreaGeneralizer; AreaSmoother; etc.) do, and what affect the specific settings have, so I may have missed something here... Alternatively I'm going down the traditional FME "lateral thinking" route, and contemplating the following: - Run house through CentreLineReplacer - Duplicate centreline, and rotate by 180 degrees or some such Trouble is, if the building isn't exactly square I don't think this will work. Or... maybe do something with a BoundingBoxReplacer? Except they don't all face North! The obvious question is where the rectangle should fall - fully inside the building; fully outside; or somewhere inbetween? Probably ideally somewhere inbetween... Most of the buildings have three straight edges and one with indentations, but some of them are more complex shapes. Maybe I should pack it all in, and digitise them instead!!! Does anyone have any bright ideas? Any help would be gratefully received! Cheers, Roland.
