I have X,Y coordinates reported by GPS, via IoT from a vehicle.

I need to identify route information, including route segment, that corresponds to that coordinate. Like this:

GetRouteInfo(X, Y) --> (RouteId, SegmentId)

Since the number of points (coordinates) is huge, I would prefer to do this in offline mode, avoiding network traffic.

My question is: are there any recommended libraries for performing this?

  • Route could be anything - Do you have a list of precomputed routes, defined as a polyline or similar? – winwaed Sep 10 '19 at 13:32
  • RouteId is a network element like road id or a street id, defined in an existing traffic network map, e.g. OSM. The idea is to determine the element segment which the point belongs to. – peleitor Sep 11 '19 at 7:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.