Earlier quoted context omitted.
That's one way of looking at it. Of course, the more expensive shipping is, the less likely it is to ship inexpensive items, like food.
Wouldn't it do more to encourage local food production and consumption? Thus reducing pollution while at the same time boosting farm economies in poorer countries which were previously flooded by lower-cost imports from richer highly efficient food-producing countries?
No, local food production increases pollution. The lowest pollution is obtained when food is grown in the climate most suited to it.
Transportation energy (or pollution) is absolutely minuscule compared to energy used in growing the food.
Optimizing for transportation costs in food production is a horrible idea from an environmental point of view, because the other costs so dwarf it as to make it utterly irrelevant.