Function to notification when departing 1km from BCR path.

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

Function to notification when departing 1km from BCR path.

Post by danlez »

Hello,
I have question about function to notify if driver drove away 1 km from base path generated from BCR. Does it exist or something with similar action?

Pictures to represent the situation:
Drive on base path from BCR:
Image

Situation, when it should notify:
Image
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Function to notification when departing 1km from BCR pat

Post by Bernd Welter »

Hi Daniel,

for the navigator approach I'll tell Sebastian to look into this.

What is possible with the xServer2: computation of the corridor aka fence!
2.5km  /  5.0 km fence (default profile)
2.5km / 5.0 km fence (default profile)
If you are able to gather a drivers current position while he is supposed to follow a specific track you could create an alert once the GPS position is no longer inside the computed geometry.

I took com.ptvgroup.xserver.xroute.ReachableAreasRequest.

And here's also another topic which deals with fencing.
Bernd
Attachments
And here comes the 15min corridor...
And here comes the 15min corridor...
Complete route: in urban areas with a detailed road network the areas are covering much more space.
Complete route: in urban areas with a detailed road network the areas are covering much more space.
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
SebastianSchlichting
Posts: 18
Joined: Tue May 28, 2019 10:45 am

Re: Function to notification when departing 1km from BCR pat

Post by SebastianSchlichting »

Hi Daniel,

You can first set a corridor around the current route:
http://navigator.ptvgroup.com/DE/remote ... tener.html

The distance is in meter.

And then you can register if you have left the corridor or entered it:
http://navigator.ptvgroup.com/DE/remote ... 38ddd22944

Also you can register for a reroute event:
http://navigator.ptvgroup.com/DE/remote ... d5cd6027b4
danlez
Posts: 7
Joined: Tue Nov 02, 2021 10:24 am

Re: Function to notification when departing 1km from BCR pat

Post by danlez »

Is it possible implement this using NavigationSDK?
SebastianSchlichting
Posts: 18
Joined: Tue May 28, 2019 10:45 am

Re: Function to notification when departing 1km from BCR pat

Post by SebastianSchlichting »

Hi Daniel,

sorry this is a function we only provide in our Android application.

BR
Sebastian
Post Reply