A Warehouse building provides bonuses based on the number of Improvements of the same type within a Settlement. For example, a Granary grants +1 Food for each Farm, Plantation, or Pasture in the settlement. Each of these Improvements provides the same type of bonus: Food. If you have 2 Farms, 1 Plantation, and 1 Pasture, you’d gain +4 Food from building a Granary. The Bonus Yields from Improvements will appear on the Warehouse Buildings they correspond to, rather than on the Improvements themselves.
Tip: Warehouse buildings are Ageless and Buildable in all Ages, which means they survive across Age transitions and can be built in any Age. Warehouses tend to provide huge bonuses to Settlements with a lot of Rural land, but as Urban Districts encroach on Rural, their effectiveness decreases.