Skip to main content
Solved

shortest path finder/tracing


nath
Contributor
Forum|alt.badge.img+6
  • Contributor

Hi,

I don't understand the shortestpathfinder.

I want to achieve the following:

I have a layer waternetwork (VHA) and used the topologybuilder to create end and beginnodes. Then i have 2 other layers, 1 with de beginpoints (from) and another layer with endpoints. These points are exactly on the watercours. For each beginpoint, i want to know the lines in the waternetworks to come to the specified eindpoint and calculate the length.

I wanted to use the shortestpathfinder but i have no outcome. First i have used de custom from/to transformer where i connected the beginpoint tot from and the endpoints in to, but again no outcome.

The same with the shortestpath finder. I know i'm doing something wrong but i don't know which parameters to use of what to do.

Does anyone have an example of how to set up the transformer correctly?

Thx

Nathalie

Best answer by ebygomm

"These points are exactly on the watercours."

 

 

It's not enough for the point to be exactly on the watercourse, there must also be a node at/within tolerance of the start/end locations. @owen's suggestion of a point on line overlayer would ensure that a node was present

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

3 replies

owen
Forum|alt.badge.img+1
  • October 19, 2018

Hello, you could try splitting the network with the points (PointOnLineOverlayer) before building the topology. Owen


david_r
Celebrity
  • October 19, 2018

The most important part is that the ShortestPathFinder expects a line feature in the From-To input port. Have you verified that?

Here's a couple of short videos that demonstrates the transformer:

https://www.youtube.com/watch?v=5BzxKw_LONE

https://www.youtube.com/watch?v=ZMJO3Ed-6hs


ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • Best Answer
  • October 19, 2018

"These points are exactly on the watercours."

 

 

It's not enough for the point to be exactly on the watercourse, there must also be a node at/within tolerance of the start/end locations. @owen's suggestion of a point on line overlayer would ensure that a node was present


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