Simple GeoTiff Export
BillB
Global Mapper UserTrusted User
Hi folks, I have been using GM for about 4 years and never got around to scripting, mainly due ot the lack of examples in the helpfile. Anyhow, here's a simple one which saves me having to complete the GeoTiff Export dilaog when testing different layers etc. The resulting TIF drops straight into CorelDraw, Serif Drawplus etc at 1:100,000 scale. Obviously you will need to set max/min coordinates to suit. for an A3 landscape sheet you need about 32(x) by 30(y) kilometres, subject to how your A3 sheet is set up with title blocks etc.
Each line is self-explanatory. Hope this helps someone.
Each line is self-explanatory. Hope this helps someone.
GLOBAL_MAPPER_SCRIPT VERSION=1.00 EXPORT_RASTER \ FILENAME="OUTPUT.TIF" \ TYPE=GEOTIFF \ COMPRESSION=LZW \ INC_VECTOR_DATA=YES \ SAVE_SCALE_AND_LEGEND=YES \ EXPORT_SCALE=100000 \ DPI=300 \ //minimumX,minimumY,maximumX,maximumY GLOBAL_BOUNDS=minimumX,minimumY,maximumX,maximumY
Categories
- 12.9K All Categories
- 5.8K Features Discussion
- 349 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 651 GM Script Language
- 55 User Scripts
- 115 GPS Features
- 420 Projection Questions
- 835 Raster Data
- 1.4K Vector Data
- 6.7K Support
- 181 Announcement and News
- 937 Bug Report
- 561 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 578 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 244 How I use Global Mapper
- 109 Global Mapper Forum Website
