Cities can adapt by creating new zoning regulations, restoring wetlands to protect against floods and planning green infrastructure