def nearest_roads(client, points):
 params = {'points': convert.location_list(points)}
 return client._get('/v1/nearestRoads', params, base_url=_ROADS_BASE_URL, accepts_clientid=False, extract_body=_roads_extract).get('snappedPoints', [])

def nearest_roads ( client , points ) : params = { 'points' : convert . location_list ( points ) } return client . _get ( '/v1/nearestRoads' , params , base_url = _ROADS_BASE_URL , accepts_clientid = False , extract_body = _roads_extract ) . get ( 'snappedPoints' , [ ] )
find the closest road segments for each point takes up to 100 independent coordinates .