LidarClassifyGraphFromQuery¶
- globalmapper.LidarClassifyGraphFromQuery(GM_LidarQueryHandle_t aLidarQuery, GM_ClassifyGraphSetup_t aSettings, uint32 aReserved=0) GM_Error_t32 [source]¶
Use a graph (segmentation-based) method to automatically identify Lidar returns of various types (i.e. building, vegetation).
- Parameters:
aLidarQuery (GM_LidarQueryHandle_t) – Lidar query of points to classify.
aSettings (GM_ClassifyGraphSetup_t) – Classification settings. If None is provided, default settings will be used.
aReserved (uint32) – Reserved for future use; defaults to 0
- Returns:
Error Code
- Return type:
GM_Error_t32
Example¶
The following is an example of LidarClassifyGraphFromQuery.:
gm.LidarClassifyGraphFromQuery(query_pointer1, gm.GM_ClassifyGraphSetup_t(), 0)
For more context refer to the lidar sample scripts.