Text this: Incorporating road hierarchy into pedestrian index