Function map_model::make::parking_lots::make_all_parking_lots
source · pub fn make_all_parking_lots(
input: &[RawParkingLot],
aisles: &[(WayID, Vec<Pt2D>)],
map: &Map,
timer: &mut Timer<'_>
) -> Vec<ParkingLot>
Expand description
Take in parking lots from OSM and all parking aisle roads. Match parking lots to the nearest sidewalk + driving lane, then automatically generate individual parking spots perpendicular to the aisles.