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
- 12.8K All Categories
- 5.7K Features Discussion
- 345 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 639 GM Script Language
- 54 User Scripts
- 115 GPS Features
- 417 Projection Questions
- 827 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 178 Announcement and News
- 918 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 570 Other Discussion
- 131 GIS Data Sources
- 27 Global Mapper Showcase
- 239 How I use Global Mapper
- 107 Global Mapper Forum Website