Export to web using script
I'm attempting to automate an export task to tiles. The command I am using is
EXPORT_WEB FILENAME="C:\\tile\a.html" TYPE="OSM" MAX_ZOOM_LEVEL=16 NUM_ZOOM_LEVELS=13 IMAGE_FORMAT="PNG" WEB_SKIP_EMPTY_TILES=YES WEB_TRANSPARENT_TILES=YES WEB_FILL_TO_TILE_BOUNDS=YES WEB_NO_HTML_FILE=YES
Basically I am exporting a tiff to tiles. When I do this from within global mapper it shows fewer files to export and doesn't have whole bunch of empty folders. The script creates many many empty folders and although it claims it creating millions of files ends up creating close to the same number of files as the manual process. My TIFF has a lot of gaps that I do not want tiles for, hence the option skip empty tiles. I'm not sure if this is a bug or I'm doing something wrong in the script. My version of GM is 18.
Thanks,
AMyth
EXPORT_WEB FILENAME="C:\\tile\a.html" TYPE="OSM" MAX_ZOOM_LEVEL=16 NUM_ZOOM_LEVELS=13 IMAGE_FORMAT="PNG" WEB_SKIP_EMPTY_TILES=YES WEB_TRANSPARENT_TILES=YES WEB_FILL_TO_TILE_BOUNDS=YES WEB_NO_HTML_FILE=YES
Basically I am exporting a tiff to tiles. When I do this from within global mapper it shows fewer files to export and doesn't have whole bunch of empty folders. The script creates many many empty folders and although it claims it creating millions of files ends up creating close to the same number of files as the manual process. My TIFF has a lot of gaps that I do not want tiles for, hence the option skip empty tiles. I'm not sure if this is a bug or I'm doing something wrong in the script. My version of GM is 18.
Thanks,
AMyth
Tagged:
Comments
-
Bump
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