SPLIT_AT_INTERSECTIONS for multiple layers
I am trying to make a script that will recursively check for line intersections between two layers using SPLIT_AT_INTERSECTIONS. I would like to do this without merging the two layers together. I cant seem to get the EDIT_VECTOR to work using FILENAME="SELECTED LAYERS"; I am not sure if I am using that function correctly. When I remove the FILENAME="SELECTED LAYERS" it checks for self intersection but not against the zeroline file as well. Below is the script I have so far.
Thanks for any insight!
Answers
-
For anyone interested. The fix for this was to use the SPATIAL_OPERATION INTERSECTION command to get the intersections between two different layers without merging the two layers.
Hope this helps
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