EXPORT_WEB script runs very slow

Hello. I've written a script to automate my web export, but it runs very slow compared to the export done manually. For example, file which takes ~2-3 seconds to export when all the buttons are pressed manually takes ~20-25 seconds to export when done by script.
Here is the script.
GLOBAL_MAPPER_SCRIPT VERSION=1.00
DIR_LOOP_START DIRECTORY="D:\change_h95\Site" FILENAME_MASKS="1_400.tif" RECURSE_DIR="yes"
IMPORT FILENAME="%FNAME_W_DIR%"
EXPORT_WEB FILENAME="D:\change_h95\Site\%PARENT_DIR%\1\1.htm" TYPE="OSM" MAX_ZOOM_LEVEL="9" NUM_ZOOM_LEVELS="3"
UNLOAD_ALL
DIR_LOOP_END
Maybe there is something wrong with it? How can I make the process faster? Thank you.
Here is the script.
GLOBAL_MAPPER_SCRIPT VERSION=1.00
DIR_LOOP_START DIRECTORY="D:\change_h95\Site" FILENAME_MASKS="1_400.tif" RECURSE_DIR="yes"
IMPORT FILENAME="%FNAME_W_DIR%"
EXPORT_WEB FILENAME="D:\change_h95\Site\%PARENT_DIR%\1\1.htm" TYPE="OSM" MAX_ZOOM_LEVEL="9" NUM_ZOOM_LEVELS="3"
UNLOAD_ALL
DIR_LOOP_END
Maybe there is something wrong with it? How can I make the process faster? Thank you.
Tagged:
Answers
If there are still issues, can you provide the input TIFF file in case it is data dependent? You can email to geohelp@bluemarblegeo.com if you don't want to provide here.
Thanks,
Mike
Global Mapper Guru
geohelp@bluemarblegeo.com
http://www.bluemarblegeo.com/