Skip to main content
Solved

split line with point intersect


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.

View original
Did this help you find an answer to your question?

3 replies

ebygomm
Influencer
Forum|alt.badge.img+38
  • Influencer
  • 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
  • March 23, 2020
ebygomm wrote:

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+38
  • Influencer
  • March 23, 2020
terezia86 wrote:

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings