query for nearest stop_id