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
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 627 GM Script Language
- 52 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