Global Mapper v25.0

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!


  • Morkx110
    Answer ✓

    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