My script to export data to usgs executes however it does not result in any output
I want to export multiple .tif files or .tif files in a .tar zip to usgs dem format.
The following is the script I tried for exporting all the files in the directory.
calling this script in command prompt does not give any, however it does give any result as well.
// Loop over all DEM files in a folder and convert them
DIR_LOOP_START DIRECTORY="J:\Data\" FILENAME_MASKS="*.tif" RECURSE_DIR=NO
// Import an archived SDTS DEM file. Global Mapper will automatically
// determine that this is an archived SDTS DEM file and load it
IMPORT FILENAME="%FNAME_W_DIR%" ANTI_ALIAS=YES
// Export Raster file to USGS DEM.
EXPORT_RASTER FILENAME="%DIR%%FNAME_WO_EXT%.DEM" TYPE=USGS_DEM GEN_PRJ_FILE=YES
// Unload the loaded data
// End the loop
Trying to find out the issue and a solution.
Thanks in advance,