The primary factors are usually the food itself (e.g. vegetarian, seafood, steak); the cuisine (e.g. Italian, Chinese, Japanese, Indian, French, Mexican, Thai) and/or the style of offering (e.g. tapas bar, a sushi train, a tastet restaurant, a buffet restaurant or a yum cha restaurant).
Some of the chemicals that give foods their distinctive aroma are passed in the urine. A number of foods can cause your urine to have a strong odor, especially if you aren't drinking much water. Common culprits include garlic, onions, asparagus, and coffee. Large amounts of fish, meat and eggs in your diet might also cause a change in urine odor.
My urine has a bad odour, especially first thing in the morning but sometimes during the day too. I sometimes get stinging and urinate quite frequently. I recently had a urine test, but it came back ok. Urine normally has a strong smell first thing in the morning, as at this time it is very concentrated.