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