Page 1 of 1

BCR Visited

Posted: Mon Nov 08, 2021 8:51 am
by danlez
Hello,

I have question about BCR file more specifically section VISITED. For example I have BCR File with 4 stations, and manually set to this:

Code: Select all

[VISITED]
STATION1=1
STATION2=1
STATION3=1
STATION4=0
From this:

Code: Select all

[VISITED]
STATION1=1
STATION2=0
STATION3=0
STATION4=0
1.How it behaves when it loads to Tour and then use on this CalculateTour? It set active the route from Station3 to Station4?

2.If I have again BCR file with 4 stations. Is there a way to make active not the first route? Or I have to generate route again without first station? Expected output in images:

From this:
Image

To this:
Image

Re: BCR Visited

Posted: Fri Nov 19, 2021 10:38 am
by SebastianSchlichting
Unfortunatelly for the SDK not all fields are considered from the BCR. As you can read here, the navigation will always start with the first station of the BCR file, independent of the attribution of the visited field:

http://navigator.ptvgroup.com/DE/sdk/na ... ec399dc68c

"Attention: The start station of the tour will be set to the first station in the file ("STATION1"). All following stations in the file will be handled as destinations. SVP points are supported and will be properly added to the tour."

Also when you want to save a tour, visited will be ignored:
http://navigator.ptvgroup.com/DE/sdk/na ... 72502afa87

"Attention: "STATION1" in the BCR file will be set to the start station of the tour. All other stations of the tour will be written in the order of appearance. Also, the BCR format has much more fields which are not filled by SDK_SaveTour, only values in SDK_Waypoint and SDK_SVPWaypoint will be saved (e.g. the skipped flag will not be set in the BCR). SVP points are supported and will be properly written."