protected override bool IsVehicleAllowed(TagsCollectionBase tags, string highwayType) { if (!tags.InterpretAccessValues((IEnumerable <string>) this.VehicleTypes, "access")) { return(false); } return(this.AccessibleTags.ContainsKey(highwayType)); }
protected override bool IsVehicleAllowed(TagsCollectionBase tags, string highwayType) { if (!tags.InterpretAccessValues((IEnumerable <string>) this.VehicleTypes, "access")) { return(false); } if (tags.ContainsKey("foot")) { if (tags["foot"] == "designated" || tags["foot"] == "yes") { return(true); } if (tags["foot"] == "no") { return(false); } } return(this.AccessibleTags.ContainsKey(highwayType)); }