Skip to main content

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

 

 

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!


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

I go to try with all the points soon.

 


Reply