Also depends on crop types. Makes sense to do large fields for corn, for example. But being able to grow herbs etc locally where it's consumed, inside cities makes way more sense. This in turn frees up resources tied to growing and transporting such stuff to cities.
There are pros and cons to both but I think you can get richer data for vertically initially to train systems than move on to larger scale horizontal farms. Tough this doesn't mean there are low hanging fruits their either.