BCR Visited

PTV's mobile solution based on off-line maps - standard application and SDK
Post Reply
danlez
Posts: 7
Joined: Tue Nov 02, 2021 10:24 am

BCR Visited

Post 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
SebastianSchlichting
Posts: 18
Joined: Tue May 28, 2019 10:45 am

Re: BCR Visited

Post 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."
Post Reply