Understanding why certain crops are grown near cities while others are cultivated farther away has…