I'm sure it's something I'm missing... In Global Mapper (GM) I've got my workspace loaded.. and I run a script that does nothing more than "EXPORT_RASTER" to KMZ. The orgin rasters loaded in GM will be cropped and saved in different separate .kmz(s) using a grid (polygon shapefile). This is the script:
GLOBAL_MAPPER_SCRIPT VERSION=1.00 SET_LOG_FILE FILENAME="H:\temp\GlobalMapperScriptLogCapoluoghi.txt" EXPORT_RASTER FILENAME="H:\Lavoro\_dati\Regioni\_Ortofoto_capoluoghi regione\_kmz\.kmz" \ TYPE=KML \ KML_RASTER_FORMAT=JPG \ KML_SUPER_OVERLAY=YES \ KML_TILE_SIZE=1024 \ POLYGON_CROP_FILE="H:\Lavoro\_dati\QU_ritagli_capoluoghi.shp" \ POLYGON_CROP_USE_EACH=YES \ POLYGON_CROP_NAME_ATTR="<Feature Name>"
Everything works fine but.... the .kmz(s) created with the batch-script are very poor in quality compared to the same identical kmz(s) exported using the manual File-->Export-->Export raster/image format-->KML/KMZ command. i.e. the final kmz of the exactly same cropped area is 40mb exported manually on the contrary it's 24Mb using the script. Moreover, the .kml(s) inside the two different .kmz(s) of the exactly same cropped area are very different (long and "rich" info-text in the manual export, very short and "poor" info-text in the batch script export - see image here attached).
I also tried to use these tags in the script without success:
KML_TILE_SIZE=1024 \ PIXEL_SIZE=1024x1024 \ SPATIAL_RES=1.79663056823901e-006,1.79663056823901e-006 \
What am I missing? What's wrong in my script? I'm using GlobalMapper 19.