Test if one layer overlaps/is within another layer

veddycent
Global Mapper User
Hi all,
Is it possible, via scripting, to test if 1 layer is within/overlaps another layer?
Some context:
I'm loading a bunch of files(shape files, DTM and TIF) into GM which already contains a layer with an irregular area. I'd need to test if the loaded files overlaps/is within the irregular area, if it is I keep the layer if it is not I unload the layer.
I haven't found anything in the scripting docs which brings me here.
There was a similar question asked a while ago but never got a reply:
https://www.globalmapperforum.com/discussion/13622/selecting-using-gm-script
Any feedback would be much appreciated.
Ved
Is it possible, via scripting, to test if 1 layer is within/overlaps another layer?
Some context:
I'm loading a bunch of files(shape files, DTM and TIF) into GM which already contains a layer with an irregular area. I'd need to test if the loaded files overlaps/is within the irregular area, if it is I keep the layer if it is not I unload the layer.
I haven't found anything in the scripting docs which brings me here.
There was a similar question asked a while ago but never got a reply:
https://www.globalmapperforum.com/discussion/13622/selecting-using-gm-script
Any feedback would be much appreciated.
Ved
Tagged:
Categories
- 12.8K All Categories
- 5.7K Features Discussion
- 346 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 639 GM Script Language
- 54 User Scripts
- 115 GPS Features
- 417 Projection Questions
- 829 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 179 Announcement and News
- 922 Bug Report
- 559 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 573 Other Discussion
- 131 GIS Data Sources
- 27 Global Mapper Showcase
- 241 How I use Global Mapper
- 108 Global Mapper Forum Website