Measuring levels in rivers and lakes