Function convert_osm::split_ways::split_up_roads[][src]

pub fn split_up_roads(
    map: &mut RawMap,
    input: OsmExtract,
    timer: &mut Timer<'_>
) -> (Vec<(Pt2D, Amenity)>, HashSet<HashablePt2D>, HashMap<HashablePt2D, OriginalRoad>)
Expand description

Returns amenities, a set of crosswalk locations, and a mapping of all points to split road. (Some internal points on roads get removed in this call, so this mapping isn’t redundant.)