Skip to main content
Question

How to clip multiple polylines using overlapping polygons without losing or gaining line segments inside polygon

  • November 30, 2019
  • 2 replies
  • 89 views

I have a workspace that has multiple line segments and several overlapping polygons, I would like to clip the line segments to the polygons without gaining or losing line segments in the polygon, I have tried cloning and also geometry replacement and spatial relator but I always end up with merged line segments inside the polygons after clipping. Some of the resulting lines that are clipped span the entire length of the polygon.

 

Here is what I am currently attempting, I am using method from this answer in the forum. I have the parameters set the same as in the post made by takashi

https://knowledge.safe.com/questions/90178/clip-line-for-each-overlapping-polygon.html

 

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • November 30, 2019

I would use a spatial relator to build a list on each line of the polygons it intersects. Explode the list, then use the polygon id as a group by in a clipper

 


  • Author
  • 57 replies
  • November 30, 2019

I would use a spatial relator to build a list on each line of the polygons it intersects. Explode the list, then use the polygon id as a group by in a clipper

 

autocad_od2none.fmwt Here is the workspace I use to test your method, thank you very much.