Page 1 of 1

BCR Converter compatibility: xRoute 2?

Posted: Mon Feb 19, 2018 12:35 pm
by Bernd Welter
Hello Christa,

do we have a sample for the BCR CONVERSION from xRoute 2 to BCR?
I was asked by a customer whether the BCR Converter is compatible with the upcoming interfaces.

Best regards,
Bernd

Re: BCR Converter compatibility: xRoute 2?

Posted: Thu Feb 22, 2018 6:10 am
by Christa Brand
Hi Bernd

good point! to my knowledge we don´t have a sample so far, I´ll have to check and will get back to you in a few days!

Re: BCR Converter compatibility: xRoute 2?

Posted: Thu Mar 15, 2018 1:10 pm
by Bee
Hi,

are there any news?

Best regards,
Eike

Re: BCR Converter compatibility: xRoute 2?

Posted: Mon Apr 09, 2018 1:43 pm
by Christa Brand
Hi & sorry for the answering delay,

I just received confirmation that - while there is no compatibility with xRoute2 yet - our colleagues from the xServer Team intend to offer this feature, ideally in an improved version that´s easier and quicker to Access, in the future :-)

As the details of the implementation are currently being investigated, I don´t think well be able to estimate a release date yet, sorry.

Kind regards,
Christa

Re: BCR Converter compatibility: xRoute 2?

Posted: Tue Feb 05, 2019 8:30 am
by Bernd Welter
Hi there,

in the meantime xRoute 2 offers to return the BCR as direct output from the route response:
Comparison between xRoute1 and xRoute2
Comparison between xRoute1 and xRoute2
But: please be aware that this feature is experimental so far, i.e. there might be changes in the API (renaming, change of type, even removing).

Best regards,
Bernd

Re: BCR Converter compatibility: xRoute 2?

Posted: Wed Feb 05, 2020 10:24 am
by Bernd Welter
Here's a sample xRoute2 request that consumes the built-in guided navigation

Code: Select all

{
  "waypoints": [
    {
      "$type": "OffRoadWaypoint",
      "location": {
        "offRoadCoordinate": {
          "x": 6.22029,
          "y": 49.61513
        }
      }
    },
    {
      "$type": "OffRoadWaypoint",
      "location": {
        "offRoadCoordinate": {
          "x": 6.06479,
          "y": 49.62127
        }
      }
    }
  ],
  "resultFields": {
    "eventTypes": [
      "MANEUVER_EVENT"
    ],
    "guidedNavigationRoute": true
  }
}
The response is encoded as BASE64 so you need to decode it on clientside, e.g. in C#:

Code: Select all

Encoding.UTF8.GetString(routeResponse.guidedNavigationRoute)