LidarThin ========= .. currentmodule:: globalmapper .. py:function:: LidarThin (GM_LayerHandle_t32 aLayer, GM_LidarSpatialThinSetup_t aSetup, uint32 aReserved=0) -> GM_Error_t32 Spatially thins a Lidar point cloud layer. :param GM_LayerHandle_t32 aLayer: Loaded Lidar layer to spatially thin. :param GM_LidarSpatialThinSetup_t aSetup: Spatial thinning setup. :param uint32 aReserved: Reserved for future use; defaults to 0 :returns: Error Code :rtype: GM_Error_t32 | .. list-table:: :width: 100% :class: borderless :header-rows: 1 * - BEFORE - AFTER * - .. image:: ../images/BeforeAfter_Images/AugustaUnclassifiedLidar.jpg :width: 400px :height: 400px :align: center - .. image:: ../images/BeforeAfter_Images/AugustaThinLidar.jpg :width: 400px :height: 400px :align: center | Example ------- The following is an example of LidarThin.:: gm.LidarThin(layers_list[1], gm.GM_LidarSpatialThinSetup_t(), 0) For more context refer to :doc:`the lidar sample scripts<../sampleCode/DemoLidar>`.