Load several files at once ?

Yann DUPUYYann DUPUY Global Mapper UserPosts: 35Trusted User
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,
Yann

Answers

  • bmg_bobbmg_bob Global Mapper Programmer Posts: 2,216
    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
Sign In or Register to comment.