In the City of San Diego, a patio cover must stay open on two or more sides to count as a patio cover. Enclosing it changes how it is reviewed, so expect to need a permit. In unincorporated areas, the County allows insect screening on patio covers within its limits.