Load several files at once ?
Yann DUPUY
Global Mapper UserTrusted User
in SDK
Hi,
With GM_LoadLayerList I can load only one file at a time. For some reasons, I need to import 4 .tif files the characteristics of which can't be automatically determined (elevation or raster image). Of course, clicking the Yes for All button as no effect since I need to call the import method 4 times.
Is it possible to open several files, or set the kind of data manually ?
Thanks,
Is it possible to open several files, or set the kind of data manually ?
Thanks,
Yann
Answers
-
Hello Yann,
The SDK does not include an API to load multiple files. The only workaround at this time would be to generate a script containing IMPORT statements with the file names you want to load, and use GM_RunScript to execute the script.
Cheers,
Bob
Categories
- 12.8K All Categories
- 5.7K Features Discussion
- 345 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 636 GM Script Language
- 54 User Scripts
- 114 GPS Features
- 417 Projection Questions
- 825 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 178 Announcement and News
- 912 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