Improved get_trips_locations