Global Mapper v26.0

Is it possible to export multiple files in bulk?

Hi,

For example, in my project I have 1234.laz, 5678.laz and 9876.laz loaded. I want to export all of them simultaneously but as separate files.

Is there an option or a script that can automate that? Going to each layer and selecting export one by one is too time-consuming.

Thanks in advance

Best Answer

  • p_coelho97
    Answer ✓

    Never mind, figured it out:


    GLOBAL_MAPPER_SCRIPT VERSION="1.00"

    LAYER_LOOP_START FILENAME="*" VAR_NAME_PREFIX="HIDE"

      SET_LAYER_OPTIONS FILENAME="%HIDE_FNAME_W_DIR%" HIDDEN=YES

    LAYER_LOOP_END


    LAYER_LOOP_START FILENAME="*"

      SET_LAYER_OPTIONS FILENAME="%LAYER_FNAME_W_DIR%" HIDDEN=NO

      EXPORT_VECTOR FILENAME="YOURDIRECTORY\%LAYER_DESC%" TYPE=LIDAR_LAS

    SET_LAYER_OPTIONS FILENAME="%LAYER_FNAME_W_DIR%" HIDDEN=YES

    LAYER_LOOP_END


    LAYER_LOOP_START FILENAME="*" VAR_NAME_PREFIX="HIDE"

      SET_LAYER_OPTIONS FILENAME="%HIDE_FNAME_W_DIR%" HIDDEN=NO

    LAYER_LOOP_END