Skip to main content
Solved

no path results in ShortestPathFinder

  • August 25, 2017
  • 6 replies
  • 70 views

ronnie.utter
Contributor
Forum|alt.badge.img+11

no path results in ShortestPathFinder

I dont understand. I am using the snapping tolerans to 300m. The coordinates in all readers in the template are in EPSG:3006 (TM)

 

Best answer by erik_jan

HI @sweref.

I made a slight change to the workspace (added a Snapper and adjusted the tolerance a bit) and got all 11 routes.

See attachment for the changed workspace: networkanalyst-mod.fmw

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.

6 replies

erik_jan
Contributor
Forum|alt.badge.img+22
  • Contributor
  • 2179 replies
  • Best Answer
  • August 25, 2017

HI @sweref.

I made a slight change to the workspace (added a Snapper and adjusted the tolerance a bit) and got all 11 routes.

See attachment for the changed workspace: networkanalyst-mod.fmw


takashi
Celebrity
  • 7843 replies
  • August 25, 2017

Hi @sweref, the reason is that the road lines don't form a single connected network. All the lines belonging to the same network should touch adjacent line at their end nodes. You have to build a clean network firstly.


takashi
Celebrity
  • 7843 replies
  • August 25, 2017

HI @sweref.

I made a slight change to the workspace (added a Snapper and adjusted the tolerance a bit) and got all 11 routes.

See attachment for the changed workspace: networkanalyst-mod.fmw

Hi @erik_jan, I think the snapping tolerance (500) is too large. It could destroy original shapes of most lines.

 


erik_jan
Contributor
Forum|alt.badge.img+22
  • Contributor
  • 2179 replies
  • August 25, 2017
Hi @erik_jan, I think the snapping tolerance (500) is too large. It could destroy original shapes of most lines.

 

Hi @takashi,

 

 

With the original 300 one route was not created. Could need some fine-tuning or cleaning up the network in advance. Concluding: the routes not being created is due to the not connected network as you already mentioned.

 


ronnie.utter
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • 37 replies
  • August 25, 2017

thank you for your answer. I Will try to repair the Network. Not at work now. Checking it monday.

,

thank you. Will try it.


ronnie.utter
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • 37 replies
  • August 28, 2017

Tried the script. Thank you. I will combine the add of the snapper with Cleaning up the Network.

The thread is solved more or less. Thanks.