Hello !
i need any information how to use geofencing.
- is there a factsheet about the posibilities ?
- What package must be used (xroute ? )
- technical implementation ? Samples in java ?
unfortunately i dont have informations about this technology.
With the search-function i only find a little bit theory.
thanks in advance
Andreas
Geofencing - how to use
- Bernd Welter
- Site Admin
- Posts: 2578
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Geofencing - how to use
Hi Andreas,
there are a lot of usecases (=requirements) and corresponding approaches given in this simple term.
regular API doc xServer 1.
I created a quick mindmap that should open your mind (
https://www.youtube.com/watch?v=TPFAYIr8z2I ) and lead you to your target.
What is the precise expectation towards the buzzword?
What information would be needed from our interfaces?
If you want we can record a websession about these approaches and I drill through the complete mindmap together with you. Or we identify just the path you need.
Best regards,
Bernd
PS please also check these recent posts
http://xserver.ptvgroup.com/forum/viewt ... ?f=7&t=779
http://xserver.ptvgroup.com/forum/viewt ... ?f=7&t=777
there are a lot of usecases (=requirements) and corresponding approaches given in this simple term.
regular API doc xServer 1.
I created a quick mindmap that should open your mind (
![Laughing :lol:](./images/smilies/icon_lol.gif)
What is the precise expectation towards the buzzword?
What information would be needed from our interfaces?
If you want we can record a websession about these approaches and I drill through the complete mindmap together with you. Or we identify just the path you need.
Best regards,
Bernd
PS please also check these recent posts
http://xserver.ptvgroup.com/forum/viewt ... ?f=7&t=779
http://xserver.ptvgroup.com/forum/viewt ... ?f=7&t=777
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 Evil :twisted:](./images/smilies/icon_twisted.gif)
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 Evil :twisted:](./images/smilies/icon_twisted.gif)
Re: Geofencing - how to use
Hello !
unfortunately a break but now i continue ....
There is one topic especially where i need information:
the 'City Maut' - 'city toll' or so that i have in Citys like London,Stockholm or i think a special
solution in rome....
Unfortunately i don't know where to start the topic, because in the solution we use now,
we don't get a city maut / city toll in London for instance.
Is it possible to get a sample, how to get this toll ?
the second step is a defining of geofences individual....
Regards, Andreas
unfortunately a break but now i continue ....
There is one topic especially where i need information:
the 'City Maut' - 'city toll' or so that i have in Citys like London,Stockholm or i think a special
solution in rome....
Unfortunately i don't know where to start the topic, because in the solution we use now,
we don't get a city maut / city toll in London for instance.
Is it possible to get a sample, how to get this toll ?
the second step is a defining of geofences individual....
Regards, Andreas
- Bernd Welter
- Site Admin
- Posts: 2578
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Geofencing - how to use
Hello Andreas,
if the "city toll"-question isn't related to the "geofencing"-thread itself please start a new thread or check whether this one might be relevant:
Best regards,
Bernd
if the "city toll"-question isn't related to the "geofencing"-thread itself please start a new thread or check whether this one might be relevant:
Best regards,
Bernd
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 Evil :twisted:](./images/smilies/icon_twisted.gif)
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 Evil :twisted:](./images/smilies/icon_twisted.gif)
- Bernd Welter
- Site Admin
- Posts: 2578
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Geofencing - how to use
Cheers!
Update 11.3.2024: since xServer 2.21 we do offer com.ptvgroup.xserver.xroute.ReachableLocationsRequest
Check the post below!
As of today the implementation of xRoute 2 does not yet offer the corridor search but there's also another approach to perform the routing based fencing - a least as a temporary solution if the corridor is small:
- Compute the reacheable area(aka Isochrone) around the latest GPS coordinate
- Check via geometry functions whether polygon and isochrine intersect But I am very optimistic that we will implement and proivide a corridor search in the xServer 2![Wink ;-)](./images/smilies/icon_e_wink.gif)
Best regards,
Bernd
https://xserver2-test.cloud.ptvgroup.co ... easRequest
Update 11.3.2024: since xServer 2.21 we do offer com.ptvgroup.xserver.xroute.ReachableLocationsRequest
Check the post below!
As of today the implementation of xRoute 2 does not yet offer the corridor search but there's also another approach to perform the routing based fencing - a least as a temporary solution if the corridor is small:
- Compute the reacheable area(aka Isochrone) around the latest GPS coordinate
- Check via geometry functions whether polygon and isochrine intersect But I am very optimistic that we will implement and proivide a corridor search in the xServer 2
![Wink ;-)](./images/smilies/icon_e_wink.gif)
Best regards,
Bernd
https://xserver2-test.cloud.ptvgroup.co ... easRequest
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 Evil :twisted:](./images/smilies/icon_twisted.gif)
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 Evil :twisted:](./images/smilies/icon_twisted.gif)
- Bernd Welter
- Site Admin
- Posts: 2578
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Geofencing - how to use
Just have been asked for this again in 2024:
Here’s my feedback, based on PTV xServer2 (please let’s always mention the API version):They would like to plan a route for a vehicle and take into consideration truck attributes on the route with the height width as well as allowed driver hours into consideration. Once the route is planned, they would like to post/send that specific route to navigator, and then generate alerts once the driver goes off route in their platform.
- What’s the exact definition of “the driver goes off route”? E.g. requires more than 10min to return to the route
- You can first compute the regular route polyline / binaryPath through com.ptvgroup.xserver.xroute.RouteRequest including the com.ptvgroup.xserver.xroute.ResultFields.encodedPath
- Then you determine wether the GPS position is within the fence area through com.ptvgroup.xserver.xroute.ReachableLocationsRequest
- With each recorded GPS position that is pushed to the backend you could evaluate “Is GPS position inside the fence? If not inside then alert!”
- Maximum route length = 500km (total route could be split in chunks based on partial trips given by the Break and Rest events)
- Such fencing is not the same as “he won’t be in time” as it only checks inside/outside but not “in time”
- 10min fence on the path from Pretoria to Johannesburg
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 Evil :twisted:](./images/smilies/icon_twisted.gif)
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 Evil :twisted:](./images/smilies/icon_twisted.gif)