globalmapper.CreateLidarQuery ============================= .. currentmodule:: globalmapper .. py:function:: CreateLidarQuery ([GM_LayerHandle_t32] aLayerList, GM_Rectangle_t aWorldBounds, GM_LidarQueryFilter_t aFilter) -> GM_Error_t32, GM_LidarQueryHandle_t, uint64 Creates a Lidar query result that you can then perform operations on, like iterating through the points, modifying the points, etc. You must call :doc:`FreeLidarQuery` to free the memory used by the query once done with it. :param [GM_LayerHandle_t32] aLayerList: List of layers to search or None for all vector layers :param GM_Rectangle_t aWorldBounds: World bounds for search space or None for last drawn :param GM_LidarQueryFilter_t aFilter: Optional filter to apply to query (use None if no extra filter) :returns: Error Code :rtype: GM_Error_t32 :return: Created Lidar query to be used in future calls :rtype: GM_LidarQueryHandle_t :return: Number of points matching query :rtype: uint64