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
-
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.
-
Same problem, how to fix it?
-
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/
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
- 182 Announcement and News
- 942 Bug Report
- 562 SDK
- 1.2K Suggestion Box
- 3.8K Technical Support
- 581 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 245 How I use Global Mapper
- 111 Global Mapper Forum Website

