Out at sea, swell runs long and fast and takes no notice of the bottom. Once the water is shallower than about half a wavelength, the sea floor drags on each wave: it slows, its crests crowd together and it steepens. Coastal Aboriginal Peoples have read these signs for generations to judge depth and find reefs, sandbars and channels. Paddle the canoe toward the beach and watch the crests crowd together.
In shallow water a wave's speed is v = √(gd), and with its frequency fixed, a slower speed and a shorter wavelength both mean shallower water.