To avoid these scenarios, VFR flights intending to land at or take off from an airport experiencing localized conditions marginally below VMC minima may request Special VFR clearance from the tower. SVFR flight is only allowed while within the portion of an airport's controlled airspace (class B, C, or D) that extends to the surface, and it must be explicitly requested by the pilot and granted by the tower (some airports, primarily large Class B facilities, do not allow SVFR operation in their airspace at all). Visibility on the ground must still be greater than one statute mile, but most other VMC minima such as ceiling are waived. The pilot is required to maintain VFR separation distances from other aircraft and, by requesting SVFR, asserts that they can do so despite the marginal conditions. For departing flights, the pilot must be flying in VMC by the time they leave the surface footprint of the controlled airspace (otherwise they would be flying VFR in IMC which is illegal).