Page 1 of 1
Geofencing - how to use
Posted: Thu Feb 22, 2018 10:35 am
by nemec
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
Re: Geofencing - how to use
Posted: Thu Feb 22, 2018 11:07 am
by Bernd Welter
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
Re: Geofencing - how to use
Posted: Wed Mar 14, 2018 2:14 pm
by nemec
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
Re: Geofencing - how to use
Posted: Thu Apr 05, 2018 2:40 pm
by Bernd Welter
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
Re: Geofencing - how to use
Posted: Tue Jun 09, 2020 12:07 pm
by Bernd Welter
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
- several position's isochrones have been checked against the route...
But I am very optimistic that we will implement and proivide a corridor search in the xServer 2
Best regards,
Bernd
https://xserver2-test.cloud.ptvgroup.co ... easRequest
Re: Geofencing - how to use
Posted: Mon Mar 11, 2024 8:48 am
by Bernd Welter
Just have been asked for this again in 2024:
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.
Here’s my feedback, based on PTV xServer2 (please let’s always mention the API version):
- What’s the exact definition of “the driver goes off route”? E.g. requires more than 10min to return to the route
Here’s the xroute2 contribution – someone from the navigator domain would have to comment on “
how does the mobile device push it’s coordinates to the backend?”.
Technical limitations:
- 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”
Example:
- 10min fence on the path from Pretoria to Johannesburg
- Route from Pretoria to Johannesburg - fence 10min
Re: Geofencing - how to use
Posted: Tue Oct 08, 2024 1:12 pm
by Bernd Welter
In the scope of PTGV Developer you can use the following methods:
- Calculate the route based on ROuting API.CalculateRoute and request the RouteId.
- Then use startAndCreateReachableAreas with the RouteId to get the area ID
- Finally use getReachableAreas( id = areaId ) to get the polygon
Here are some relevant URLs: