Gm_CloseLayer
Comments
-
Dana,
Unless something else also has the file loaded calling GM_CloseLayer should close any handles that Global Mapper has open to the file. What format of file is it?
Thanks,
Mike
Global Mapper Guru
geohelp@bluemarblegeo.com
http://www.bluemarblegeo.com/ -
Hello,
It is a tiff file and after closing the layer it didn't let me close the file:) It was a more complex idea ... I had a layer then I reprojected it (by exporting it in a new projection and then reimporting the new file) and then I tried to delete the original old file...and it didn't let me even if between the export and load of the new file I closed the layer....
Thank you,
Dana -
Dana,
Which version of the SDK are you using? There did used to be a problem with TIFF files not being released when you closed them so you couldn't delete the actual files on disk, but I think that's been fixed for a while.
Thanks,
Mike
Global Mapper Guru
geohelp@bluemarblegeo.com
http://www.bluemarblegeo.com/
Howdy, Stranger!
Categories
- 12.2K All Categories
- 5.3K Features Discussion
- 312 Downloading Imagery
- 1.2K Elevation Data
- 371 Georeferencing Imagery Discussion
- 580 GM Script Language
- 42 User Scripts
- 111 GPS Features
- 388 Projection Questions
- 788 Raster Data
- 1.3K Vector Data
- 6.4K Support
- 159 Announcement and News
- 881 Bug Report
- 554 SDK
- 1.1K Suggestion Box
- 3.6K Technical Support
- 520 Other Discussion
- 125 GIS Data Sources
- 26 Global Mapper Showcase
- 217 How I use Global Mapper
- 99 Global Mapper Forum Website