LAYER_LOOP_START does not produce consistent results. Looking for the expected result
Hi,
The following script should ideally loop through the loaded files and export each elevation files with the respective name as xyz grid file, however this results in the same consolidated file with the names of all loaded files. Example if there are 5 files loaded, it should result in 5 xyz grids corresponding to their respective region of interest. However the result is 5 files, with each file having elevation values from all the 5 files.
LAYER_LOOP_START FILENAME="*"
The following script should ideally loop through the loaded files and export each elevation files with the respective name as xyz grid file, however this results in the same consolidated file with the names of all loaded files. Example if there are 5 files loaded, it should result in 5 xyz grids corresponding to their respective region of interest. However the result is 5 files, with each file having elevation values from all the 5 files.
LAYER_LOOP_START FILENAME="*"
EXPORT_ELEVATION FILENAME="C:\TEST\%LAYER_FNAME_WO_EXT%.XYZ" TYPE="XYZ_GRID" \
SAMPLING_METHOD="NEAREST_NEIGHBOR" ELEV_UNITS="METERS" FILL_GAPS="NO" \
COORD_DELIM="TAB"
UNLOAD_LAYER FILENAME="%LAYER_FNAME_W_DIR%"
LAYER_LOOP_END
The loaded file is a .tar.gz file containing 25 geotiff files.
Looking forward to a consistent solution.
Thanks and regards,
Pavan
The loaded file is a .tar.gz file containing 25 geotiff files.
Looking forward to a consistent solution.
Thanks and regards,
Pavan
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
- 181 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
