I'm trying to get some LiDAR data to export to layer bounds
Hello,
So I'm trying to export multiple lines of LiDAR data (LAS format) to the extents of a KMZ file that I have but I'm not sure why the LAYER_BOUNDS comand isn't working. Everything works in the code previous to this snip and it exports to the correct location as one LAS file but it's not clipping.
Thanks in advance!
So I'm trying to export multiple lines of LiDAR data (LAS format) to the extents of a KMZ file that I have but I'm not sure why the LAYER_BOUNDS comand isn't working. Everything works in the code previous to this snip and it exports to the correct location as one LAS file but it's not clipping.
Thanks in advance!
DEFINE_VAR NAME="CLASS_LAS_DIR" VALUE="%OUTDIR%"
DEFINE_VAR NAME="OUTDIR_CLIPPED" VALUE="%LASDIR%CLIPPED"
DEFINE_VAR NAME="CLIP_EXTENT" VALUE=D:\0_Coding\Grid_Testing\BOUNDARY_KMZ\testKMLFILE.kmz
IMPORT FILENAME=D:\0_Coding\Grid_Testing\BOUNDARY_KMZ\testKMLFILE.kmz TYPE=KMZ
DIR_LOOP_START DIRECTORY="%CLASS_LAS_DIR%" FILENAME_MASKS="*.LAS" RECURSE_DIR=NO
IMPORT FILENAME="%FNAME_W_DIR%"
LOG_MESSAGE Loaded %FNAME_W_DIR%: %DATE% %TIME%
DIR_LOOP_END
LOG_MESSAGE Loaded Classified LAS Files": %DATE% %TIME%
LOG_MESSAGE
EXPORT_VECTOR TYPE="LIDAR_LAS" LAYER_BOUNDS="D:\0_Coding\Grid_Testing\BOUNDARY_KMZ\testKMLFILE.kmz" LIDAR_FILTER="NONE,2" FILENAME="%OUTDIR_CLIPPED%\CLASSIFIED_CLIPPED.las"
Tagged:
Answers
-
Hello,
What version of Global Mapper are you using?
Your EXPORT_VECTOR command is split across multiple lines, but you don't have the line continuation sequence at the end of the first two lines. I assume that this is just for the sake of making your post easier to read.
The LAYER_BOUNDS parameter will use the bounding rectangle of the layer, not the actual area feature(s) in the layer as the export bounds. If you are trying to clip your data to an area feature, you need to use the POLYGON_CROP_FILE parameter instead.
Cheers,
Bob
Categories
- 13K All Categories
- 5.8K Features Discussion
- 350 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 652 GM Script Language
- 56 User Scripts
- 115 GPS Features
- 421 Projection Questions
- 837 Raster Data
- 1.4K Vector Data
- 6.7K Support
- 182 Announcement and News
- 941 Bug Report
- 562 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 580 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 244 How I use Global Mapper
- 111 Global Mapper Forum Website

