Planning ahead is key to protecting community from flood risk