Skip to main content
Question

how can i get only the intersected lines with polygon and delete the rest of lines inside the polygon by clipper

  • February 26, 2020
  • 4 replies
  • 12 views

gogopotter90
Contributor
Forum|alt.badge.img+14

could i ask how to get in inspector only the lines that intersected with polygon ,

i tried alot with clipper

polygon as input for clipper and lines input for clippee

output from inside ,i got the intersected lines with polygon plus all lines inside the polygon .i want only to have the intersected lines with polygon and delete the rest of lines inside the polygon

 

how could also give intersected lines specific colour .

 

Thanks alot

 

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.

4 replies

redgeographics
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3700 replies
  • February 26, 2020

Try the SpatialFilter instead of the Clipper.


arnold_bijlsma
Enthusiast
Forum|alt.badge.img+15
  • Enthusiast
  • 126 replies
  • February 26, 2020

First, use a GeometryCoercer to change your polygon to just its perimeter line, so you don't get the lines that are fully inside your polygon. Then, as @redgeographics says, use a SpatialFilter (or SpatialRelator or LineOnLineOverlayer).


gogopotter90
Contributor
Forum|alt.badge.img+14
  • Author
  • Contributor
  • 239 replies
  • February 26, 2020

Try the SpatialFilter instead of the Clipper.

thanks for reply it is working great nw


gogopotter90
Contributor
Forum|alt.badge.img+14
  • Author
  • Contributor
  • 239 replies
  • February 26, 2020

First, use a GeometryCoercer to change your polygon to just its perimeter line, so you don't get the lines that are fully inside your polygon. Then, as @redgeographics says, use a SpatialFilter (or SpatialRelator or LineOnLineOverlayer).

thanks alot