Thanks for the fast respons. I stay trying untill we understand eachother
The algoritms does work, but in my opinion not the right way. Or I do indeed something wrong. In short: the directions it’s producing are random.
I use two layers:
- A point layer with ‘‘loading locations’’ with an ID, a zipcode, the name of the municipality and the amount of times this route is driven;
- A point layer with ‘‘unloading locations’’ with an ID, a zipcode, the name of the municipality and the amount of times this route is driven;
Each route is signatured by an ID. Like ID = 1 in the loading locations has to go to ID = 1 in the unloading locations.
The result of route 1 is that is has to go from point A to point B (like corresponding ID’s as you say), but it goes from point A to E/K/Z for example but not to the exact B location I want. I’m using row by row. The all by all will work because it’s calculating all the options, but with the great amount of data that isn’t realistic to calculate.
The result has to be a unique line with the amount of routes the company is traveling. The next step is to see which road the company is using the most often.