Export Google tiles using script by area name
Hi, I'm looking for solution to export Google Tiles cropping to all areas I have in the project. Is there a easy way to do it? I would like to have two possibilities:
For now I was using all shapefiles saved in the folder, but first I needed to save each separately, and remove from folder, if looped export was interrupted. So it's not desired, I would like to make it easier, more straight forward, if I want to use the scripts function regularly for different exports. I would like to save each export in separate folder as well, which was fine, when using below script.
- export from each area I draw in the project (eg grid)
- export basing on area name (eg export area 1, 2, 3)
For now I was using all shapefiles saved in the folder, but first I needed to save each separately, and remove from folder, if looped export was interrupted. So it's not desired, I would like to make it easier, more straight forward, if I want to use the scripts function regularly for different exports. I would like to save each export in separate folder as well, which was fine, when using below script.
GLOBAL_MAPPER_SCRIPT VERSION="1.00"
DIR_LOOP_START DIRECTORY="D:\shapefiles_OSNI\" FILENAME_MASKS="*.SHP" RECURSE_DIR=YES
EXPORT_WEB FILENAME="D:\Tiles\OSNI_NI1k\%FNAME_WO_EXT%\%FNAME_WO_EXT%.htm"\
TYPE=GOOGLE_MAPS\
POLYGON_CROP_FILE="D:\shapefiles_OSNI\%FNAME_WO_EXT%.shp"\
MAX_ZOOM_LEVEL="19"\
IMAGE_FORMAT="PNG" BG_MAP_NAME="ROADMAP" TILE_PATH="C:\TILES_2" WEB_SKIP_EMPTY_TILES="YES" WEB_TRANSPARENT_TILES="YES" WEB_SKIP_EXISTING_TILES="YES"
DIR_LOOP_END
Any ideas?
Tagged:
Categories
- 12.8K All Categories
- 5.7K Features Discussion
- 345 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 637 GM Script Language
- 54 User Scripts
- 114 GPS Features
- 417 Projection Questions
- 826 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 178 Announcement and News
- 913 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 569 Other Discussion
- 131 GIS Data Sources
- 27 Global Mapper Showcase
- 238 How I use Global Mapper
- 107 Global Mapper Forum Website