private List <ICompleteOsmGeo> GetRailways(OsmCompleteStreamSource osm) { return(osm.Where(x => x.Type == OsmGeoType.Way && x.Tags != null && x.Tags.ContainsKey("railway")) .ToList()); }
private List <ICompleteOsmGeo> GetBuildings(OsmCompleteStreamSource osm) => osm.Where(x => x.Type == OsmGeoType.Way && x.Tags != null && x.Tags.ContainsKey("building")) .ToList();