Currently I am working on the extraction of building footprints using ArcGIS/ArcPy and Lastools. Using LasBoundary I extract all buildings from the lidar dataset and get the building outlines as 3D polygons (Polygon ZM). In order to improve/enhance the geometry of the outlines I perform a smoothing by means of "Regularize Building Footprint" as a subsequent step.
arcpy<SPAN class="punctuation token">.</SPAN>ddd<SPAN class="punctuation token">.</SPAN>RegularizeBuildingFootprint<SPAN class="punctuation token">(</SPAN><SPAN class="operator token"><</SPAN>input polygons<SPAN class="operator token">></SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="operator token"><</SPAN>output polygons<SPAN class="operator token">></SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">'ANY_ANGLE'</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">"0.20"</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">"0.20"</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">"0.15"</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN></SPAN>
Unfortunately I only get 2D-polygons as result. Is there a possibility to keep the 3D information or to add it again?