Skip to main content
Question

Distance calcul between a lot of points by the road

  • February 26, 2020
  • 2 replies
  • 24 views

Hi,

I would like calculate the distance between points by the road.

I have 1 file with origin points ( 1 000 000 points) and 1 file with destination points (10 000).

I would like the distance between every origin - destination points, so 1 000 000 x 10 000 distances.

I try to do, with only 12 origins points and 5 destinations points :

 

But the problem is for the FromTo, it take only one destination on a camp common with the origin points.

How i can to do to have 12 x 5 = 60 combinaisons ?

 

Thanks a lot,

 

Matthieu

 

 

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.

2 replies

Hi @tanmat, I came across a post that contained solutions to a similar question you had: Connect all From points to all To points in FromToBuilder. A little addition is to set a common attribute for both your origin and destination points with an AttributeCreator, and use this common attribute as the join attribute in the FromToBuilder. Hope this helps!


  • Author
  • February 28, 2020

Hi, thanks for your response. It's work. ;o)

I go to try with all the points soon.