CreateLidarQuery

globalmapper.CreateLidarQuery([GM_LayerHandle_t32] aLayerList, GM_Rectangle_t aWorldBounds, GM_LidarQueryFilter_t aFilter) GM_Error_t32, GM_LidarQueryHandle_t, uint64[source]

Creates a Lidar query result that you can then perform operations on, like iterating through the points, modifying the points, etc. You must call FreeLidarQuery to free the memory used by the query once done with it.

Parameters:
  • aLayerList ([GM_LayerHandle_t32]) – List of layers to search or None for all vector layers

  • aWorldBounds (GM_Rectangle_t) – World bounds for search space or None for last drawn

  • aFilter (GM_LidarQueryFilter_t) – Optional filter to apply to query (use None if no extra filter)

Returns:

Error Code

Return type:

GM_Error_t32

Returns:

Created Lidar query to be used in future calls

Return type:

GM_LidarQueryHandle_t

Returns:

Number of points matching query

Return type:

uint64