Many cities continue to allow developers to build homes in areas that have a high risk of flooding.