GM_Utility .BuildingExtract Method
Extracts building footprints from loaded imagery data and returns them as vector shapes or a binary raster layer, or both.

Namespace:GlobalMapper
Assembly:  GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 27.0.0.0 (27.0.0.0)

Syntax
C#
Copy
public static GM_Error_t32 BuildingExtract(
                        GM_LayerList_t aLayerList
                        GM_Rectangle_t aWorldBounds
                        GM_PostProcessFlags_t8 aPostProcessFlags
                        bool aUseCUDADevice
                        string aCustomModelName
                        IntPtr aParentWnd
                        out GM_Layer_t aFootprintLayer
                        out GM_Layer_t aFootprintLayerVector
                        out GM_Layer_t aSimplifiedLayerVector
                        object aReserved)
)

Parameters

aLayerList
Type:  GlobalMapper . GM_LayerList_t
IN: List of layers to process
aWorldBounds
Type:  GlobalMapper . GM_Rectangle_t
IN: World bounds to process
aPostProcessFlags
Type:  GlobalMapper . GM_PostProcessFlags_t8
IN: Flags controlling post-processing
aUseCUDADevice
Type:  System . bool
IN: Whether to use CUDA device
aCustomModelName
Type:  System . String
IN: Name of custom model to use
aParentWnd
Type:  System . String
IN: Handle of parent window
aFootprintLayer
Type:  System . String
IN: Output footprint layer
aFootprintLayerVector
Type:  System . String
IN: Output footprint vector layer
aSimplifiedLayerVector
Type:  System . String
IN: Output simplified vector layer
aReserved
Type:  System . Object
IN: Must be zero

Return Value

Type:  GM_Error_t32
A GM Error Code
See Also