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
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 628 GM Script Language
- 53 User Scripts
- 113 GPS Features
- 414 Projection Questions
- 819 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 177 Announcement and News
- 908 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 562 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 233 How I use Global Mapper
- 107 Global Mapper Forum Website