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.
Tagged:

Answers

  • bmg_bobbmg_bob Global Mapper Programmer Posts: 2,218
    I have added bug #16060 to our task list so we can take a look this problem. We will post back to this thread when the status of this bug changes.
  • pypirpypir Posts: 5
    Same problem, how to fix it?
  • bmg_mikebmg_mike Global Mapper Guru Posts: 185Trusted User
    I just noticed this had not been addressed. I did a test with my own TIFF to an OSM web export both from the UI and a script and couldn't notice any speed difference. It's likely that whatever issue was there is now fixed. Can you try with the latest build and see if the issue still exists? I have placed new builds with the latest changes at http://data.bluemarblegeo.com/downloads/global-mapper/dailybuilds/ for you to try.

    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/
Sign In or Register to comment.