export raster parameter problem
vigosun
Global Mapper User
hi,
the gm version i use is v8.0, and i write a simple script to export grid jpg images.
the script content is like this:
//
GLOBAL_MAPPER_SCRIPT VERSION=1.00
UNLOAD_ALL
IMPORT FILENAME="D:\bigPic\A03\a03_c01_12%.jpg" TYPE=AUTO ANTI_ALIAS=NO AUTO_CONTRAST=NO CLIP_COLLAR=AUTO TEXTURE_MAP=NO
EXPORT_RASTER FILENAME="D:\bigPic\test\a.jpg" TYPE=JPEG GEN_WORLD_FILE=NO GEN_PRJ_FILE=NO GRID_TYPE_PIXEL_SIZE="256,256" QUALITY="100"
when i run the script, i get a warning:
WARNING: Unknown parameter <GRID_TYPE_PIXEL_SIZE> ignored.
what's wrong with the parameter <GRID_TYPE_PIXEL_SIZE> ? or something else wrong in the script file?
thanks
the gm version i use is v8.0, and i write a simple script to export grid jpg images.
the script content is like this:
//
GLOBAL_MAPPER_SCRIPT VERSION=1.00
UNLOAD_ALL
IMPORT FILENAME="D:\bigPic\A03\a03_c01_12%.jpg" TYPE=AUTO ANTI_ALIAS=NO AUTO_CONTRAST=NO CLIP_COLLAR=AUTO TEXTURE_MAP=NO
EXPORT_RASTER FILENAME="D:\bigPic\test\a.jpg" TYPE=JPEG GEN_WORLD_FILE=NO GEN_PRJ_FILE=NO GRID_TYPE_PIXEL_SIZE="256,256" QUALITY="100"
when i run the script, i get a warning:
WARNING: Unknown parameter <GRID_TYPE_PIXEL_SIZE> ignored.
what's wrong with the parameter <GRID_TYPE_PIXEL_SIZE> ? or something else wrong in the script file?
thanks
Comments
-
Support for gridding during export from a script was not added until after the v8.00 release. If you download and install the last v8.xx release (v8.03) from http://www.globalmapper.com/global_mapper8_setup.exe it should run your script.
Let me know if I can be of further assistance.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com -
we have an updated 9.0 version and it works well now.
thank you.
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
- 835 Raster Data
- 1.4K Vector Data
- 6.7K Support
- 181 Announcement and News
- 939 Bug Report
- 562 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 579 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 244 How I use Global Mapper
- 110 Global Mapper Forum Website
