According to the developers: "We currently take into account two separate water-related measurements. Elevation is for detecting when you're near the sea/ocean. We also look for water related landmarks in your immediate area. Streams, rivers, ponds, lakes, aqueducts... they all count."
"You are near water, and can find aniphon that swim, such as water type aniphon."