How to save edited layers?
Answers
-
Anser from BM:
The example script in the link below has most of the commands that will be needed for this workflow via scripting.
For this script, you can copy and paste the sample text to a new text file. The below line is what will need to be changed in the script for your workflow.
EXPORT_RASTER FILENAME="%LAYER_DIR%%LAYER_FNAME_WO_EXT%_loop.tif" FORMAT=GEOTIFF
Instead.. you will want to use the line below
EXPORT_VECTOR FILENAME="%LAYER_DIR%%LAYER_FNAME_WO_EXT%.las" OVERWRITE_EXISTING=YES TYPE=LIDAR_LAS
This scripting workflow will be easiest if all of your lidar files are in a common folder. Additionally, I recommend loading all the lidar files first and then make the changes that are needed. Once you've made those changes, navigate to File > Run Script. Make sure the checkbox 'Run Script in Context of the Main View' is selected as this will use the files that are currently loaded.
I have now tried it yet, but it looks to be the way to do it.
Categories
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 628 GM Script Language
- 53 User Scripts
- 113 GPS Features
- 414 Projection Questions
- 819 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 177 Announcement and News
- 908 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 562 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 233 How I use Global Mapper
- 107 Global Mapper Forum Website