Page 1 of 1

Different ways of loading BCR file

Posted: Tue Oct 25, 2016 3:29 pm
by Dominykas
Hello,

We are experiencing inconsistencies when using different ways to load BCR routes into Navigator.
For a while, we've been using an Android intent method (kind of like 'open as') which was working fine (with some problems that we have discussed before):

Code: Select all

Intent testIntent = new Intent();
testIntent.setAction(Intent.ACTION_VIEW);
testIntent.setDataAndType(Uri.fromFile(tempFile), "application/octet-stream");
startActivity(testIntent);
Recently we've tried using Navigator's API Interface method, called "Download a BCR file from an arbitrary URL and start the navigation with it" (MSG_RI_DOWNLOAD_AND_START_BCR = 307). After using it for a while we are approaching a conclusion that when route is loaded using this method, the detailed route (segmentcenters) of the file doesn't have any effect, the route is completely re-calculated when it is loaded.

Any insight if that might be the case and if this behaviour is intended?

Kind regards,
Dominykas Viečas

Re: Different ways of loading BCR file

Posted: Wed Nov 02, 2016 9:49 am
by Dominykas
Hello, are there any updates on this matter? Maybe I should provide more details etc?
Making the Navigator follow the provided BCR route exactly as planned is our first priority and we would really prefer using Navigator RI's methods to load them, but currently they don't seem to take into account "segmentcenters" at all. (Both MSG_RI_LOAD_BCR = 304 and MSG_RI_DOWNLOAD_AND_START_BCR = 307)

Kind regards,
Dominykas Viečas

Re: Different ways of loading BCR file

Posted: Thu Nov 10, 2016 2:16 pm
by Dominykas
As I haven't received any replies in more than two weeks, I am wondering if someone could suggest a person I could contact who would be qualified to talk about this (PTV Navigator / Remote Interface)? Thanks in advance!

Best wishes,
Dominykas Viečas

Re: Different ways of loading BCR file

Posted: Thu Nov 10, 2016 2:30 pm
by Bernd Welter
Hello Dominykas,

first of all I'm very sorry for the lack of response - looks like the subscription of the category didn't work properly.
I therefore forwarded this thread to our NAVIGATOR forum administrators manually.
They will surely take care of the question asap.

Best regards Bernd

PS: As I'm a global moderator but not a navigator expert I can't process the topic on my own - sorry for that

Re: Different ways of loading BCR file

Posted: Thu Nov 10, 2016 4:35 pm
by Michael.Hubschneider
Sorry for the late answer, subscription is working well

We are at the moment in progress to reproduce the example,
but we are currently under quite high load in development,
so it is taking some time, I expect a result next week.

Best regards
Michael

Re: Different ways of loading BCR file

Posted: Fri Nov 11, 2016 8:31 am
by Dominykas
Thanks! I will try to reproduce the issue again and will post the results (with .bcr files)

Kind regards,
Dominykas

Re: Different ways of loading BCR file

Posted: Fri Nov 11, 2016 8:33 am
by Michael.Hubschneider
yes, great, that helps!