- globalmapper.CreateLayerFromLidarQuery(GM_LidarQueryHandle_t aLidarQuery, str aDescription, GM_Projection_t aProj, uint32 aReserved=0) GM_Error_t32, GM_LayerHandle_t[source]
-
Creates a layer based on the points in a lidar query.
- Parameters:
-
aLidarQuery (GM_LidarQueryHandle_t) – Lidar query with points to add
aDescription (str) – Description to use for layer (can be None to use default)
aProj (GM_Projection_t) – Native projection of new layer (None to use projection from query)
aReserved (uint32) – Reserved for future use (should be None)
- Returns:
-
Error Code
- Return type:
-
GM_Error_t32
- Returns:
-
Handle for newly created layer
- Return type:
-
GM_LayerHandle_t
Example
The following is an example of CreateLayerFromLidarQuery.:
gm.CreateLayerFromLidarQuery(query_handle1, "class_layer.laz", None, 0)
For more context refer to the lidar sample scripts.
Comments
0 comments
Please sign in to leave a comment.