Skip to main content
Solved

split line with point intersect

  • March 23, 2020
  • 3 replies
  • 320 views

terezia86
Forum|alt.badge.img

Hello,

 

I would like to split the line with the intersected Points. Seems easy, but it does not work for me...

I have a lot of line which I merged together with a "NetworkTopologyCalculator" it looks that it works. After with aggregator I get 1 Line (what I wanted to). Then setted PointOnLineOverlayer. There I have the points, which intersected the Line. But the result from Overlayer is not as I needed.

does anybdy have any idea, whay it been splitted on "wrong" place, and not there where the are the points?

I get a sum of 840 lines, what is completely wrong.

 

Thanks a lot

Best answer by ebygomm

The line geometry is an aggregate and you have set the point on line overlayer to deaggregate, which is why you are getting the results you have. You probably want a linecombiner instead of an aggregator to achieve what you need to.

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.

3 replies

ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • Best Answer
  • March 23, 2020

The line geometry is an aggregate and you have set the point on line overlayer to deaggregate, which is why you are getting the results you have. You probably want a linecombiner instead of an aggregator to achieve what you need to.


terezia86
Forum|alt.badge.img
  • Author
  • 59 replies
  • March 23, 2020

The line geometry is an aggregate and you have set the point on line overlayer to deaggregate, which is why you are getting the results you have. You probably want a linecombiner instead of an aggregator to achieve what you need to.

Hello @ebygomm,

 

thanks for respond, it worked well, just there is still one little thing.

The line which are on the "crossing" are still separate. They should be also be joined. See the screenshots, please...

 


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • March 23, 2020

Hello @ebygomm,

 

thanks for respond, it worked well, just there is still one little thing.

The line which are on the "crossing" are still separate. They should be also be joined. See the screenshots, please...

 

You cannot have a single line geometry that has multiple lines with junctions and branches. It is only possible to represent this as a multiline/aggregate geometry. You may need to look at aggregating the data after using the point on line overlayer, but you'll need some method to ensure joins are not made where your points are.