Global Mapper v25.0

Export_Vector

When exporting Lidar data based on a polygon file with the code below:

EXPORT_VECTOR TYPE="LIDAR_LAS" FILENAME="%OUTDIR%%SHAPE_FNAME_WO_EXT%\DATA\NODE_%UNLOADED_LAYER%.las" POLYGON_CROP_FILE="%OUTDIR%%SHAPE_FNAME_WO_EXT%\NODES\NODE_%UNLOADED_LAYER%.shp"  

If the lidar layer is not present on the polygon the resulting layer contains the vertices of the polygon as lidar points. Am i doing something wrong in the export or missing something? 

As shown in attached screenshot
Tagged:

Answers

  • Solved: I was missing the EXPORT_LAYER parameter
  • Update:

    After solving the erroneous points and modifying the export function to use the shape layer without being split with the following code:

    EXPORT_VECTOR EXPORT_LAYER="%LAS_TO_LOAD%" TYPE="LIDAR_LAS" FILENAME="%OUTDIR%%SHAPE_FNAME_WO_EXT%\DATA\NODE_.las" POLYGON_CROP_FILE="%SHAPE_TO_LOAD%" POLYGON_CROP_USE_EACH=YES POLYGON_CROP_NAME_ATTR="bnid" 

    This works fine apart from the first export of LAS files is empty, referring to cell 328 in the picture above. Which does not contain any LIDAR data, but still creates a LAS file; any idea why this is?