Skyhawk 172/Cutlass 172
Flight Crew Instrument; Flight Crew Commercial; Flight Crew Flight Instructor
Flight Crew Last 90 Days 85; Flight Crew Total 635; Flight Crew Type 300
Other / Unknown; Distraction
Airspace Violation All Types; Deviation / Discrepancy - Procedural Clearance; Deviation / Discrepancy - Procedural FAR; Deviation / Discrepancy - Procedural Published Material / Policy; Inflight Event / Encounter Weather / Turbulence; Inflight Event / Encounter CFTT / CFIT
Air Traffic Control Issued Advisory / Alert
Human Factors
Low ceilings forced us to make a low pass over [the] pier. Wide left turn put us over the land. Did not want to make a right turn due to ZZZ airspace at the surface. Resulted in flying low over the ground; which Tower verbally asked me to correct; and I complied immediately.
C172 flight instructor reported low flight over populated landmark due to low ceiling and to avoid a Class B airspace incursion. ATC requested pilot to correct.