fn generate_input(input: &str, map: &RawMap) -> Result<Vec<OriginalRoad>>