CHICAGO—A large black drone flew along the city’s Lake Michigan shoreline last week, cataloging the damage wrought by the lake’s near-record water level: vanished and shrinking beaches, wave-battered homes and crumbling piers.

The flight represented part of a larger effort by Chicago officials to determine how much of the 18-mile stretch is eroding and what they can do to shore up the lakefront’s defenses.

It...