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/
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